HANGZHOU, China — In Dream Town, a collection of boxy office buildings on the gritty edge of this historic city, one tiny company is developing a portable 3-D printer. Another takes orders for traditional Chinese massages by smartphone. They are just two of the 710 start-ups being nurtured here.

Anywhere else, an incubator like Dream Town would be a vision of venture capitalists, angel investors or technology stalwarts. But this is China. The Chinese Communist Party doesn’t trust the invisible hand of capitalism alone to encourage entrepreneurship, especially since it is a big part of the leadership’s strategy to reshape the sagging economy.

Which is why the government of Hangzhou — a former royal capital that has been a major commercial hub for more than a millennium — built Dream Town and lavishes resources on start-ups. The businesses here get a slate of benefits like subsidized rent, cash handouts and special training, all courtesy of the city.

Chemayi, which offers car repair services through a smartphone app, is staying rent-free at Dream Town for three years and is applying for as much as $450,000 in subsidies from city authorities to help pay salaries and buy equipment.