(Organized from the Internet)
What happens when a request arrives at IIS:When a request arrives at the IIS Web server, IIS checks the extension of the requested file to determine how to process the request. IIS can handle requests (such as HTML
Document directory
Others
HTTP
Processing Flowchart
Some concepts of the above process:
1. http. sys
It is a core component of the operating system in Win2003 and WinXP SP2. It enables any application to communicate with each other over http
Document directory
Step 1: Create the CustomHandler. cs file. The Code is as follows:
Step 2 compile this file
Step.3 copy the compiled mmhandler. dll to the Bin directory of the site.
Step 4 register the Handler in Web. Config.
Step 1 open
We all know that ASP. NET runtime environment, the processing request is done through a series of objects, including Httpapplication,httpmodule, HttpHandler. The reason why these three objects are called ASP. is because they are simply not too
Asp.net| Cache | page
Page partial caching refers to parts of the output cache page, rather than caching the entire page content. There are two mechanisms for implementing page partial caching: One is to place the portion of the page that needs to
When login verification or other global variables of the session need to be used, there are three convenient implementation methods. (I prefer the first implementation method)
1. Create a public method in a public class and call this method on all
This is on the CSDN Forum: topic.csdn.netu200807021525afa2ea-c59f-427f-add4-a7528b5302d0.html? 27627. I think it's good. I 've collected data layer performance skills. 1. Return multiple result sets. 2. Paging data access skills. 3. connection pool
How can I learn ASP. NET Core? How can I not understand the request processing pipeline [2]: The "Leader" position of the server in the pipeline? asp. netcore
The ASP. NET Core pipeline consists of registered servers and a series of middleware. We
This information is different for each user, but is often applied, so it is stored in the Session.
1/** // 2 // obtain User Permissions3 /// 4 // User ID 5 /// User permission array 6 public static Int32 [] GetUserPermission (int userID)7 {8 //
Asp. NET process for request processing:When a *.aspx file is requested, the request is intercepted by the Inetinfo.exe process, and after it determines the suffix (aspx) of the file, the request is forwarded to the aspnet_isapi.dll,aspnet_
Let's look at the explanations on MSDN:HttpContext.Current.Cache: Gets the Cache object for the current HTTP request.Httpruntime.cache: Gets the Cache for the current application.We'll use the. NET Reflector tool to see the implementation of
This article tells you about the message processing related to the public account in. net public account development. it is very detailed. For more information, see. I. Preface
The message processing on the public platform is still relatively
This is an article on the basics of asp.net beginners. For more information, see.12. personalization12.1 provide personalized services for visitors12.2 personalization in ASP. NET12.2.1 user Device Files
No and private, the core of ASP. NET
Asp tutorial. net import excel or Word Document code // Describe the use of enableeventvalidation = "false;// When an input server control (such as textbox) is added to the page, you must set it to false. Otherwise, an error is returned. That is,
There are a total of more than 10 types of return values for Action. Several common types are briefly summarized.
1. ActionResult
All results are derived from the ActionResult abstract class. Therefore, ActionResult provides the most basic function
Using System; Using System. Collections. Generic; Using System. text; Using System. Web; Namespace Pub.mo{ Public Class Request{ Private Request (){} /// /// Get session /// /// /// Public Static String
C #. netObtain the IP address and MAC address of a computer
///
/// Obtain the user Client IP address (obtain the real IP address of the remote user through the proxy server)
///
Public static string getclientip ()
{
// If
1. In aspx and Aspx. CS, both are read and write based on session ["XXX"] = "AAA" and AAA = session ["XXX"]. tostring. In ashx, sessions use context. Session, And the Read and Write methods remain unchanged.
2. in the ashx file, if you want to
When An ASPX page request processing involves a lot of Io work and these Io resources are very limited, this page may cause a large number of threads to wait for processing when there are a large number of requests on the opposite side, so that the
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.