Article ID: 305141 - Last Review: May 22, 2007 - Revision: 4.8 INFO: ASP.NET Page Framework OverviewThis article was previously published under Q305141 On This PageSUMMARY This article provides an introduction to the ASP.NET page
framework. For additional ASP.NET overviews, refer to the following Microsoft Knowledge Base article: 305140
(http://support.microsoft.com/kb/305140/EN-US/
)
INFO: ASP.NET Roadmap
MORE INFORMATION The ASP.NET page framework is a scalable programming model
that you can use on the server to dynamically generate Web pages. The ASP.NET
page framework is the successor to Active Server Pages. This article address
the following page framework topics:
Page Life CycleBecause the page framework is a stateless a and disconnected model, every time a client requests an .aspx page, many things occur during the page processing to make the process appear seamless to the client. It is important for you to know and to understand this staged execution sequence when you work with ASP.NET.For more information about the page life cycle, refer to the following .NET Framework Software Development Kit (SDK) documentation:
Control Execution Lifecycle http://msdn2.microsoft.com/en-us/library/aa719775(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/aa719775(vs.71).aspx) Page EventsDuring the life cycle of an ASP.NET page, a few standard events that are exposed from the Page object are used frequently. The ASP.NET page framework automatically connects to (or wires up) appropriate delegate instances at run time for these methods. This saves you from having to write the necessary "glue code." The following list presents the delegate instances that are wired up at run time in the order in which they are fired:
Visual C# .NET and Visual J# .NET
Web Forms Page Processing Stages For an overview of programming with these page events and server
control events, refer to the following .NET Framework SDK documentation: http://msdn2.microsoft.com/en-us/library/wf922ts9(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/wf922ts9(vs.71).aspx)
Programming Web Forms http://msdn2.microsoft.com/en-us/library/aa984181(VS.71).aspx (http://msdn2.microsoft.com/en-us/library/aa984181(VS.71).aspx) Page DirectivesPage directives specify optional settings that the Page Compiler uses when it processes files. Page directives are located at the top of a page file and use the following syntax:
For more information about the page directives, refer to the following .NET Framework SDK documentation:
Directive Syntax http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconpagedirectives.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconpagedirectives.asp) Inline Versus Code-Behind Programming ModelsASP.NET supports two modes of page development:
303247
(http://support.microsoft.com/kb/303247/EN-US/
)
INFO: ASP.NET Code-Behind Model Overview
APPLIES TO
| Article Translations
|
Back to the top
