What's the current best solution for generating HTML from ASP.NET Razor templates within a Console Application?

后端 未结 0 461
北海茫月
北海茫月 2020-12-23 04:48

I want to do this:

string template = \"Hello @Model.Name! Welcome to Razor!\";
string result = Razor.Parse(template, new { Name = \"World\" });
相关标签:
回答
  • 消灭零回复
提交回复
热议问题