Avoid recompilation of the entire website if a file is changed.

By [)ia6l0 iii

You can avoid recompiling the entire website if certain files are changed. These files include dll files in the Bin folder, Global.asax and App_Code folders.

You need to set the optimizeCompilations attribute in the compilation element in the web.config to true. However, note that this can cause run-time errors if you do not take care of the dependant files.

Related FAQs

Use the Trace attribute under System.Web section to turn on trace information. Set the value of pageOutput to true. This would add the trace information to the bottom of the Web page.
The compilation element lets you control many compiler settings. The following are few important attributes.
The <%= expressions are evaluated during render, and the <%# expressions are evaluated during the DataBind
The primary differenct between ASP and ASP.NET is that the former is code that is interpreted by a Script Engine and the latter is a compiled code running on a web server.
WCF services in production boxes are often hosted on a webserver with SSL support. This means that your bindings should support SSL. To support Https in your WSHttpBinding, modify the transport level security.
Use this code snippet to find url's in a string.
Avoid recompilation of the entire website if a file is changed.  (997 Views)