Generating HTML using a template from a .NET application

前端 未结 6 627
后悔当初
后悔当初 2021-01-04 20:35

I have a .NET console application that needs to generate some HTML files. I could just construct the HTML in a StringBuilder and write the contents out to a file, but I was

6条回答
  •  余生分开走
    2021-01-04 21:28

    Check out docu. It uses the Spark view engine to render templated HTML from a console app. Pretty straightforward.

提交回复
热议问题