-1

Am using Visual studio 2012 i cant hide ASP.NET Website source code . Please support me.

Am try to see some tutorials those tutorials are for Project not for website.

2

1 Answer 1

0

If you are referring to the HTML or JavaScript code in your site, you can't hide that because it is required by the users browser to render the website.

If you are referring to the C# code files those should be compiled into binaries and only the binaries should be published out to the website folder. If the C# files are being included you probably need to set the Build Action on these files from "Content" to "Compile" via the Property window.

enter image description here

That being said the DLL binaries can be de-compiled in most cases. You can buy tools that will try to obfuscate your code which will make it harder but not impossible to de-compile.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.