10.2. Web.config
One of the aspects of ASP.NET that irritated me was how bloated Web.config files had become. To some extent, this bloat was because of ASP.NET 3.0 and 3.5 using version 2 of the CLR, and in order to introduce additional functionality, Microsoft had to override default settings, as well as cope with different versions of IIS (that is, settings for IIS 7.0 and settings for earlier versions).
.NET 4.0, however, has a new version of the CLR, so this is no longer a problem. Several settings have been moved to Machine.config, which drastically reduces the size of Web.config. Functionality such as ASP.NET charting, dynamic data, Ajax, and routing is now also automatically registered for you and so no longer has to be added to the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access