开发者

How to protect HtmlHelper code in MVC controls

I am writing a custom mvc control (commercial), and all of the control's code lives in the custom htmlhelper code that i will have to distribute to the user.

I am ok with this for my commercial license sale, but for evaluating the controls, if i give out the htmlhelper co开发者_如何学Pythonde locally for my potential customers to evaluate, the user can simply "get" all the code and hence he may never buy it since he's got teh control code.

How do i protect my htmlhelper code while somebody is evaluation my cusotm mvc controls?

Is this a general problem or (I wish) i am missing something here?

Thanks.


Instead of giving code, you can give assembly and documentation. You can also use obfuscator to make your code less readable. Here you can find some questions about obfuscation: https://stackoverflow.com/search?q=obfuscator+.net. There are some free tools to obfuscate code ( https://stackoverflow.com/questions/2161201/free-net-obfuscator ).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜