开发者

T4 Template Transformation Service

We currently have an asp.net website that we use to generate html emails. Basically we pass in some parameters and it开发者_开发百科 spits out an html page that we then send in an email. Essentially ASP.NET is our templating engine. I was looking to for a different way of doing this and I was thinking about using T4 templates instead. Is there a way to generate templates on the fly with T4?


Absolutely. See the following links:

  • http://msdn.microsoft.com/en-us/library/bb126445.aspx
  • http://msdn.microsoft.com/en-us/library/ee844259.aspx

There is a command-line utility: TextTransform.exe.

http://msdn.microsoft.com/en-us/library/bb126245.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜