Answer:
Web.config file contains configuration information for a web application has grown over the past few releases of the .NET Framework. So in .NET Framework 4, major configuration elements have been moved to the machine.config file. This allows the Web.config file to be empty or to specify only version of the framework which application is using.
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation targetFramework="4.0" />
</system.web>
</configuration>
Asked In: Many Interviews |
Alert Moderator