What is Web.config file Refactoring provided in ASP.NET 4.0?

 Posted by Sumank on 5/17/2013 | Category: ASP.NET Interview questions | Views: 4830 | Points: 40
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 

Comments or Responses

Login to post response