The application domain of ASP. NET)

Source: Internet
Author: User

ApplicationProgramA domain is an address space forcibly defined by CLR to ensure that applications do not affect each other. It has the following features:

1. All web pages of an independent web application share the same memory resources, such as global application data, session data of each user, and cache data. This information cannot be directly accessed by other ASP. NET or ASP applications.

2. All web pages of an independent web application share the same core configuration settings. However, you can customize specific configuration settings in individual subdirectories of the same virtual directory. For example, you can set only one authorization mechanism for a web application, regardless of its subdirectories. However, you can set different authorization rules for each subdirectory to allow different webpage groups to be accessed by different people.

3. all Web applications generate global application events at different stages (when the application domain is first created, when the application is released ), you can go to global in the virtual directory of your application. bind the event processor to the asax file to intercept these global application events.

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.