My background is databases and windows applications using .net. Used to developed some web apps in 1.0/1.1 and that is it.
It came to my attention the other day that with the distribution of ML(without the source code) it come some *.cs files that you could modify without using VS or any compiler and when the page loads this changes will get compile and loaded into memory.
Was under the impresion that if you compile the entire project it creates a DLL under the bin containing all your behind the page code. Anyway I have the source and was thinking about compiling it and remove all the *.cs to avoid reading of this files. Don't know how much of a factor this could be, but considering that any second you improve on your web site the better for a customer experience.
Any thoughts please.....
Take a look at this: ASP.NET: Compilation ->asp.net 2.0's compilation approach does not compile the application in visual studio. An application can be "precompiled" in visual studio, but this will only convert source code into MSIL code. When the application is first run and not yet in memory, the application is "JIT compiled", which converts the MSIL code into native code and also checks code access security. Both the JIT compilation and the security check means there is a lot of processing that needs to be done everytime an application loads, and this translates into incredibly slow initial load times. Once an application is JIT compiled, a page loads within a second or less -- considerably faster than any other platform.
http://aspalliance.com/16