ASP. NET Configuration Management-machine. config

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.