开发者

using t4 template engine in production

开发者 https://www.devze.com 2023-02-22 07:08 出处:网络
Planning of using t4 template in a production environment. I have not used this before either. I want to know if anythi开发者_如何学Cng is required to be installed on the production server, are there

Planning of using t4 template in a production environment. I have not used this before either. I want to know if anythi开发者_如何学Cng is required to be installed on the production server, are there any settings to be configured on the server, etc.


Assuming you're talking about preprocessed (runtime) templates, then you don't need anything special on the server.

If you're talking about design-time (regular) T4 templates, then it's not a supported scenario.

If you're talking about an ASP.Net MVC website scaffolded via T4, then T4 isn't present in production.


If you are compiling your program where parts of the code is generated by T4 and placing the dll's on the server there is no difference from a program where you wrote all lines.

0

精彩评论

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

关注公众号