compilation element in web.config

By [)ia6l0 iii

The compilation element lets you control many compiler settings. The following are few important attributes.

a) Debug - directs the compiler to compile debug binaries
b) Default Language - ASP.Net decides the language compiler based on this attribute.
c) optimizeCompilations - Lets you control recompiling of the application if the main files are changed
d) target Framework - Lets you specify the framework for the web project.
e) tempdirectory - Lets you specify the temporary directory for compilation

The compilation element lets you control many compiler settings. The following are few important attributes.

Related FAQs

Although Application variable and a Session are server side state management techniques, they have some differences.
The Debug and Release modes affect the size and the speed of the executable files.
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.
Use this code snippet to find url's in a string.
Use the Override versions of the page methods instead of thedefault page methods. This would ensure that the .Net runtime does not have to invoke delegates.
compilation element in web.config  (1402 Views)