×

微软Asp.net 3.5编程

消耗积分:0 | 格式:rar | 大小:3072 | 2008-10-21

分享资料个

Anatomy of an ASP.NET Page
In this chapter:
Invoking a Page. . . . . . . . . . . . . .. . . . . . . . . 89
The Page Class . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . 112
The Page Life Cycle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
ASP.NET pages are dynamically compiled on demand when first required in the context of
a Web application. Dynamic compilation is not specific to ASP.NET pages (.aspx files); it also
occurs with .NET Web Services (.asmx files), Web user controls (.ascx files), HTTP handlers
(.ashx files), and a few more ASP.NET application files such as the global.asax file. A pipeline
of run-time modules takes care of the incoming HTTP packet and makes it evolve from a
simple protocol-specific payload up to the rank of a server-side ASP.NET object—precisely,
an instance of a class derived from the system’s Page class. The ASP.NET HTTP runtime processes
the page object and causes it to generate the markup to insert in the response. The
generation of the response is marked by several events handled by user code and collectively
known as the page life cycle.
In this chapter, we’ll review how an HTTP request for an .aspx resource is mapped to a page
object, the programming interface of the Page class, and how to control the generation of
the markup by handling events of the page life cycle.

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !