Dynamically updating web.config
Explain the differences between Server-side and Client-side code?
The following directive sets Asp Compat to true: Setting Asp Compat to true does two things.
First, it makes intrinsic ASP objects available to the COM components by placing unmanaged wrappers around the equivalent ASP. Second, it improves the performance of calls that the page places to apartment-threaded COM objects by ensuring that the page (actually, the thread that processes the request for the page) and the COM objects it creates share an apartment. NET request threads into single-threaded apartments (STAs).
What does Asp Compat="true" mean and when should I use it?
In this example, it prevents caching of a Web page that shows the current time.