在非网页程序里使用razor模板引擎

时间:2016-07-11 15:52:18
【文件属性】:
文件名称:在非网页程序里使用razor模板引擎
文件大小:144KB
文件格式:ZIP
更新时间:2016-07-11 15:52:18
razor winform asp.net 模板引擎 这是本人翻译的一篇英文文章【Hosting the Razor Engine for Templating in Non-Web Applications】里面的例子,可以直接使用,有兴趣可以看我的译文版【假如你不嫌弃翻译渣的话】,也可以直接查看原文地址:http://www.west-wind.com/weblog/posts/2010/Dec/27/Hosting-the-Razor-Engine-for-Templating-in-NonWeb-Applications,收一点搬运费苦工费不过分吧?
【文件预览】:
RazorHosting.sln
RazorHosting
----Core()
--------RazorEngine.cs(24KB)
--------RazorEngineConfiguration.cs(2KB)
--------RazorEngineFactory.cs(7KB)
--------Utilities.cs(2KB)
----TemplateBase()
--------RazorRequest.cs(381B)
--------RazorResponse.cs(2KB)
--------RazorTemplateBase.cs(4KB)
--------RazorTemplateFolderHost.cs(3KB)
----RazorHosting.csproj(4KB)
----Properties()
--------Resources.resx(6KB)
--------AssemblyInfo.cs(1KB)
--------Resources.Designer.cs(6KB)
----HostContainers()
--------RazorStringHostContainer.cs(5KB)
--------RazorBaseHostContainer.cs(8KB)
--------RazorFolderHostContainer.cs(11KB)
RazorHostingWinFormSamples
----TextViewer.resx(6KB)
----bin()
--------Debug()
----Program.cs(530B)
----CustomRazorTemplateBase.cs(872B)
----RazorStringHostForm.cs(2KB)
----RazorFolderHostForm.resx(6KB)
----RazorScriptingSampleForm.cs(8KB)
----RazorStringHostForm.Designer.cs(9KB)
----TextViewer.Designer.cs(2KB)
----Templates()
--------css()
--------Simple.cshtml(713B)
--------subdir()
--------PartialRendering.cshtml(612B)
--------FolderHost.cshtml(3KB)
----RazorHostingWinFormSamples.csproj(6KB)
----RazorScriptingSampleForm.Designer.cs(13KB)
----app.config(144B)
----RazorFolderHostForm.cs(5KB)
----RazorFolderHostForm.Designer.cs(10KB)
----CustomContext.cs(2KB)
----RazorStringHostForm.resx(8KB)
----RazorScriptingSampleForm.resx(15KB)
----ClassDocumentationViewerSample()
----Properties()
--------Resources.resx(5KB)
--------Settings.settings(249B)
--------AssemblyInfo.cs(1KB)
--------Settings.Designer.cs(1KB)
--------Resources.Designer.cs(3KB)
----TextViewer.cs(756B)
razorhosting.chm

网友评论

  • 欸那挺好的 还不错啊 还能用
  • 没有太大意义!
  • 一推html代码,没什么用
  • 没有太大意义!