RazorEngine output HTML
I have a little piece of code, which gets data from a DB, and I want to parse it into a .cshtml Razor-View-Template. therefor i create a variable of a new TemplateService and execute .parse() on that. Now I want to output the file to the user. What is the best performing function to accomplish this task? I have an MVC application. And as the text above already describes, this is a little template system.
Edit:
For example:
So the question is, from this point, how do i output the website the most performant way? Or is there even a complete different approach possible?
链接地址: http://www.djcxy.com/p/65108.html上一篇: 你能否客观回答两个论点
下一篇: RazorEngine输出HTML