Asp. NET page's server side

Source: Internet
Author: User
Tags execution resource versions

As a asp.net developer, you may be very clear asp.net how to handle code in an. aspx resource, how to parse the markup and dynamically convert it to a Visual basic® or C # class, and so on. But what happens next? Where is the asp.net generated file saved? How do I use them to meet page requests? From last month onwards, I began to pay attention to the process. In this month's content, I'll analyze what's happening on the server so that you can avoid some of the most common problem pitfalls. I'll discuss the storage of the asp.net temporary files and the dynamically generated source code for the class that provides the service for the page response. In addition, I will build a Resource Manager tool that can be used with any asp.net 2.0 or asp.net AJAX (originally code-named "Atlas") applications to view and debug the actual code of your page execution. But before you do this, you need to know a few things. (As with last month's column, this section is primarily based on the details of the asp.net working principles that are not documented.) These implementation details may change in future versions of the Microsoft®.net Framework. )

What is stored in the temporary asp.net files folder?

The process of ASP.net page requests requires some temporary files to be used. When you install ASP.net 2.0 on a Web server, the folder hierarchy that you create is as follows:

%windows%\microsoft.net\framework\v2.0.50727

The version number here refers to the retail version of ASP.net 2.0. Each release version of the ASP.net (including each transitional build) has a unique version number, and a different folder tree is created to support concurrent execution of different versions. Therefore, it is extremely important that you specify the version of ASP.net that your application applies to. Applications running under ASP.net 1.x and ASP.net 2.0 are based on physically separate folders. Under the Microsoft.NET\Framework folder, you will find the same number of vx.x.xxxx subfolders as the number of installed ASP.net versions (see Figure 1).

Figure 1 ASP.net 1.0, 1.1, 2.0, and 3.0 run-time library files

Related Article

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.