In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is the scope of ASP.NET configuration settings". In daily operation, I believe many people have doubts about the scope of ASP.NET configuration settings. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what is the scope of ASP.NET configuration settings?" Next, please follow the editor to study!
ASP.NET configuration settings have different scopes-some have global scope, and some are valid only for application scope (root Web.config file or Machine.config file).
The scope of the configuration section for ASP.NET configuration settings is defined for all sections contained in the ASP.NET in the allowDefinition attribute of the section element (General Settings Schema) element of configSections in the Machine.config file. For example, the authentication element (ASP.NET Settings Schema) element has the allowDefinition attribute of the MachineToApplication element. This means that the authentication element can be set in application-level Machine.config files, root Web.config files, and Web.config files. If it is set at the subdirectory level, an error is raised. If no allowDefinition attribute is defined for a section, the default value is Everywhere.
The range of configuration settings for each element in ASP.NET configuration settings and general configuration settings (ASP.NET) is listed next to Configurable locations in the element Information table.
The following table lists the level of each file in the configuration hierarchy, the name of each file, and a description of the important inheritance characteristics of each file
The configuration level filename file indicates that the server Machine.configMachine.config file contains the ASP.NET schema of all Web applications on the server. This file is located at the top level of the configuration merge hierarchy. The Web.config file of the root WebWeb.config server is stored in the same directory as the Machine.config file, and it contains the default values for most system.web configuration sections. At run time, this file is merged from the second layer from top to bottom in the configuration hierarchy. Web site Web.config the Web.config file for a specific Web site contains the settings that apply to that site and inherits all ASP.NET applications and subdirectories down to that site. The ASP.NET application root directory Web.config the Web.config file for a specific ASP.NET application is located in the root directory of that application and contains settings that apply to the Web application and inherit down to all subdirectories in its branch. The Web.config file of the ASP.NET application subdirectory Web.config application subdirectory contains settings that apply to this subdirectory and inherit down to all subdirectories in its branch. The client application directory ApplicationName.configApplicationName.config file contains settings for the Windows client application, not the Web application. At this point, the study on "what is the scope of ASP.NET configuration settings" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.