开发者

ASP.NET - Component licensing and Razor

If I have a library that uses .NET component licensing (such as DevArt's dotconnect) with the new Razor view engine, do I need to produce a spe开发者_运维知识库cial App_Licenses.dll for Razor to work?


I can see you already got the official answer in their forums:

http://www.devart.com/forums/viewtopic.php?t=20815&sid=0cdf252bc73af673032cccc6f7443659

If ASP.NET source files will be compiled at server on user request, you should create a special assembly App_Licenses.dll in the Bin directory of your site: http://www.devart.com/dotconnect/universal/docs/licensing.html#asp.

We have not tested our product with Razor view engine. If you encounter any difficulties, please contact us.

Based on that answer, I think you might not need it if you pre-compile your Razor views
See Compile Views in ASP.NET MVC (and Notes on Building Razor Views).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜