Protect .Net Source Code in Production

There are times when we develop where we have to include information in our code that we would not want other people to be able to see.  Since any .Net DLL can easily be read using a decompiler we need to have a way to protect our code and our application.  

We currently use the Microsoft Licensing Runtime to accomplish this which does a pretty good job of taking care of things but I sometimes find it difficult to use.  I am wondering what people perceive are the best options available today for protecting source code in a production environment.
Who is Participating?
sognoctConnect With a Mentor Commented:
I used once the dotfuscator with good result, but it is not the safer solution.
Crypto and salamander are better (as far as i remember)



Monica PSoftware DeveloperCommented:
To protect the Live code..

It is also possible to publish the code using VS (selecting build->publish website)  and move the dll for each page to Live environment instead Entire Source code
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.