ASP. net configuration is from the machine. the config file is usually placed in "C:/Windows/Microsoft. net/framework/v2.0.50727/config "Directory, which defines ASP. each part of the configuration file supported by. net, including ASP. net workflow configuration, and register some providers that can provide advanced functions such as property configuration (profiles), membership (membership), role-based security management, etc.
And machine. config file together, Asp. net still uses a basic file containing other settings (web. config and machine. config in the same directory), the configuration information in this file registers ASP. net core HTTP processor and module, establish the rules supported by the browser, and that security policy. In ASP. net1.x, these settings appear in the machine. config file.
All Web applications on the same computerProgramBoth inherit the settings in these two files. However, most of the settings have been completed and no modification is required.
<Processmodel> node in the machine. config file
On this node, you can configure the ASP. net workflow to reclaim the application domain and determine the permissions to be executed under the Windows account. If you use IIS6 or iis7, these settings can be ignored. These similar settings can be set through IIS management tools.
<Machinekey> node in the machine. config file
This node can be used to set the keys of specific servers used to encrypt data and create digital certificates, Asp. net uses it to automatically protect form authorization cookies, and can also be used to protect view status data. It can also be used to verify the external session Status of the provider.