.Net Web Application - Don't precompile
We recently converted a website made with .Net WebForms from a Web Site project, to a Web Application Project. This is all well and good, except it's now a pain because to change any of our code-behind files we have to rebuild the whole site, whereas before all we had to do was save the code-behind file. This means changing pages in logged in areas requires not only rebuilding the whole Web Application, but then logging in again for a user. Is there a way to remove the precompile option while running locally so we can debug as we used to with a Web Site project? I have tried removing the <compilers> section from the web.config, and also removed the <compilation> too, but neither seem to have made a difference. EDIT: I realise now I wasn't very clear. I'm talking about debugging the site locally, not when publishing.
No. Web Application projects load from a DLL; they have no option to compile source at runtime. You should specify a fixed validation & decryption keys in Web.config so that users don't need to log in again after deploying (more detail).
Ninject w/ ASMX web service in a MVC3/Ninject 3 environment
ASP.Net GridView and TemplateField visibility - false but ItemTemplate still executing
Checkboxlist is added programatically, having issues
Adding more labels to a chart's axis
Intermittent ASP.NET WebForms routing error
Twitter header text
asp.net application error while making entry to Database
change a value automatically in a specified date and time in asp.net
File system issue when porting an ASP.NET application to Azure
How to change Column Width of GridView programically
Retrieve email ID of a recipient from mail client using asp.net
Searching dynamic Label.IDs to match Query result
Validate Session with Http Module
Telerik RadGrid Row Index from user click
OCIEnvCreate failed with return code -1 but error message text was not available.
Telerik RadChart Alternating Background StripLines On ASP Ajax control