BEIJING—Chinese President Xi Jinping paid his first general public pay a visit to to the front lines of the coronavirus outbreak, halting at a Beijing hospital treating infected patients and at a local condition-management place of work soon after months of remaining largely out of general public perspective.

Mr. Xi on Monday frequented the place of work of a neighborhood community center in Beijing’s Chaoyang district, where by he had his temperature taken by a local personnel member, been given a briefing on condition-avoidance operate and waved at family members cooped up in their flats, footage…