How to hide source code of my ASP.NET page?
Your web site visitors can not see your ASP.NET source code. Code is executed on web server and not sent to client web browser.
If you don't like to place your ASP.NET source code on web server, you can precompile website for deployment by using ASP.NET Compilation Tool. In this case, you get an output without source code that you can copy to web server.
If you plan to sell your web application to clients worldwide and give trial version for free download, you should consider protecting of your compiled files too. There are few professional tools for protecting your intellectual property from reverse engineering. Bean Software uses Spices.NET to protect all our products.
1. ASP.NET 2.0 To-Do List
2. Tracking Your Website's Visitors and Statistic in ASP.NET
3. About ASP.NET 3.5 Ajax