Know the ASP.NET configuration file Web.config

xiaoxiao2021-03-06  44

The web.config file is an XML text file that is used to store configuration information for the ASP.NET web application (such as the most commonly used setting ASP.NET web application authentication mode), which can appear in every one of the application. Directory. When you create a web application through VB.NET, you will automatically create a default web.config file in the root directory by default, including the default configuration settings, all subdirectories inherit it. If you want to modify the configuration settings for the subdirectories, you can create a new web.config file in the subdirectory. It provides configuration information other than configuration information inherited from the parent directory, or modifies the settings defined in the parent directory.

You can take effect on the modification of the web.config file at runtime. You can take effect (Note: section). Of course, the web.config file can be expanded. You can customize the new configuration parameters and write a configuration segment process program to process them.

Full text reading:

Know the ASP.NET configuration file Web.config

转载请注明原文地址:https://www.9cbs.com/read-67038.html

New Post(0)