Thoughts on. NET Applications

Source: Internet
Author: User

In common Win32 applicationsProgramIn general, an Application Program (exe) is also an independent process. When the process ends, no matter whether it is a normal link or not, the operating system will ensure that all the resources created by this application will be cleared, all allocated content will be recycled.

 

However. in. net, the specified application is not a specific progress. Its structure is progress => application domain => application context. At a time, multiple applications may be running in the same process. The section of the render manager agent. net will guarantee automatic recovery, but if the application contains a non-render manager agent, the producer creates an external resource, even though, it tells us that non-render manager administrators need to handle internal memory storage and provide using commands and disposable interfaces to make them easier to handle, however, there is still no security certificate: such as the general Win32 above, there is a security certificate that is stored in the application. In fact, there are also some, but. NET application programs, if you have to wait for the end of the process, it does not seem so easy, because at the same time other applications are also running in the same process.

So, should the. Net Security Certificate clear all the resources created by the user in the application domain end?

I don't know, but I'm sure it cannot achieve the same effect as the progress because the progress is controlled by the operating system, however, the application domain is controlled by CLR, which is quite different. The CLR Standards list manages managed resources, does it mean that if the data source is not hosted, it does not matter to him.

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.