All the major configuration settings are moved into machine.config file, and all the applications will inherit the setting from this file. If an application needs to override the default settings, we can do so using the application specific configuration (web.config) file. ASP.NET 4 applications have clean web.config files.
If you create a new asp.net 4 empty web application, the only entry that you will find is shown below.
Note: If you create a new ASP.NET Web Application, instead of a new ASP.NET Empty Web Application, you will find a lot more confiuration entries in the web.config file. This is because, the template for ASP.NET web application overrides some of the default settings inherited from machine.config.
Where can i find the machine.config in our application?
ReplyDeleteC:\Windows\Microsoft.NET\Framework\\Config\
DeleteC:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
Delete.net creates machine.config for you when you install framework, search for that file on your hard drive
ReplyDeleteC:\Windows\Microsoft.NET\Framework\\Config\
ReplyDeleteunimaginable approach in presenting the Video lessons. Exceptionally helpful to experienced too.
ReplyDelete