How to protect HtmlHelper code in MVC controls

Posted by Oats on Stack Overflow See other posts from Stack Overflow or by Oats
Published on 2010-05-03T22:33:50Z Indexed on 2010/05/03 22:38 UTC
Read the original article Hit count: 228

Filed under:

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 code 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.

© Stack Overflow or respective owner

Related posts about asp.net-mvc