Wednesday 1 February 2012

Web.Config File in .net


What is Web.Config File?


It is an optional XML File which stores configuration details for a specific asp.net web application.
Note: When you modify the settings in the Web.Config file, you do not need to restart the Web service for the modifications to take effect.. By default, the Web.Config file applies to all the pages in the current directory and its subdirectories.
Extra: You can use the tag to lock configuration settings in theWeb.Config file so that they cannot be overridden by aWeb.Config file located below it. You can use the allowOverrideattribute to lock configuration settings. This attribute is especially valuable if you are hosting untrusted applications on your server.

No comments:

Post a Comment