易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.NET application and page life cycle 2

http://www.codeproject.com/KB/aspnet/ASPDOTNETPageLifecycle.aspx?msg=3443071#xx3443071xx
ASP.NET application and page life cycle
Introduction
The Two step process
Creation of ASP.NET environment
Process request using MHPM events fired
In What event we should do what?
A sample code for demonstration
Zooming ASP.NET page events
Source code
References
 
Introduction
 
In this article we will try to understand what are the different events which takes place right from the time the user sends a request, until the time request is rendered on the browser. So we will first try to understand the two broader steps of an ASP.NET request and then we will move in to different events emitted from ‘HttpHandler’, ‘HttpModule’ and ASP.NET page object. As we move in this event journey we will try to understand what kind of logic should go in each every of these events.
This is a small Ebook for all my .NET friends which covers topics like WCF,WPF,WWF,Ajax,Core .NET,SQL etc you can download the same from Click here  or else you can catch me on my daily free training @ Click here 
 
The Two step process
 
from 30,000 feet level ASP.NET request processing is a 2 step process as shown below. User sends a request to the IIS:-
• ASP.NET creates an environment which can process the request. In other words it creates the application object, request, response and context objects to process the request.
• Once the environment is created the request is processed through series of events which is processed by using modules, handlers and page objects. To keep it short lets name this step as MHPM (Module, handler, page and Module event), we will come to details later.
 
In the coming sections we will understand both these main steps in more details.
 
Creation of ASP.NET environment
 
Step 1:- The user sends a request to IIS. IIS first checks which ISAPI extension can serve this request. De


相关文档:

即将推出的ASP.NET Ajax Library...

 有很久一段时间我的BLOG上没有出现AJAX相关讯息了,主要当然是因为绝大部分的重心都放到了Silverlight身上(可预期的未来应该也会是如此)。
但由于工作上的需要,最近还是回头看了一下即将推出的ASP.NET Ajax Library...,顺便找了一下网络上的讯息,看这个态势我猜想应该不少ASP.NET开发人员忽略掉了这个其实已经bet ......

asp.net生成静态页面(静态页面中包括有实时信息)

    asp.net生成静态页面通常会有2中方式,一种是伪静态,一种是事先写好模板然后直接替换内容。对于2种方式的优缺点,在此不讨论,重点是说下第二种方式,在生成静态页面中有一些信息需要实时从数据库读取(比如:在新闻页面,我们会需要一些热点排行,这些热点新闻我们就需要实时的从数据库里边拿到)。
......

ASP.NET/XML深入编程技术

这是关于Asp.Net/XML深入编程的技术书,作者精心设计了66个实例详细介绍了.Net   Framework以及XML技术在.Net   Framework的编程方法和技巧。全书由12章构成,内容包括.Net平台的建立、Asp.Net的Web   Forms、控件、数据访问、Web   Service、Asp.Net的设置和跟踪、Asp.Net的安全 ......

ASP.NET验证码(C#)

* Copyright all(c) 2005 ZhongFeng, http://blog.csdn.net/SW515 */
 public class ValidateCode : System.Web.UI.Page
 {
  private void Page_Load(object sender, System.EventArgs e)
  {
   this.CreateCheckCodeImage(GenerateCheckCode());
  }
&nb ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号