South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
OR a better, alternative would be to generate the HTML on server-side and render it back to the page, so the physical .aspx page would be almost empty when opened in something like notepad...
You can precompile the site, and only host binaries. Seen it done. Had to decompile a site like that once. Reflector FTW!Once its on the server it only compiles into HTML to anybody viewing the source, but the client who requested the site to be built for him will still get to see the actual aspx code when its handed over to be hosted on his server.
When you google describe the problem in simple english. Most of the time when my juniors can't solve a problem is because they're not asking the right question. For example. "How do I submit a page?" will get you a crap load of answers, but not necessarily the one you want. "How do I submit a page using ASP.NET?" would get your more specific answers. Also don't be afraid to copy and paste an error message into the search box. "I'm getting an error when I submit a page" would help you blue ****all compared to "HTTP 401.2 Authentication" for example.
I don't have a programming background but need to use it occasionally. So, I program by trial and error (like walking naked in the snow it is quite liberating) and this site has become one of my best friends
http://bug.gd/ Even has a Firefox addin.