- Common Language Runtime (CLR)
- .NET Framework Class Library
- Common Language Specifications
- Common Type System
- Metadata and Assemblies
- Metadata is the binary information describing the program which is either stored in a PE file or in memory. Assembly is a logical unit consisting of the assembly manifest, type metadata, IL code, and resources such as images.
- Windows and Forms
- ASP.NET and ASP.NET AJAX
- AJAX allows page updates without reloading
- ADO.NET
- Access to databases and XML
- Windows Workflow Foundation (WF)
- Windows Presentation Foundation (WPF)
- Windows Communication Foundation (WCF)
- Windows Cardspace
- LINQ
- ASP.NET processes pages to produce dynamic output
- The application and its pages are instantiated and processed.
- ASP.NET compiles the page dynamically
- Application Life Cycle
- Page Life Cycle
The application life cycle has the following states:
- The user makes a request for accessing application resource, a page, Browser sends the request to the web server.
- A unified pipeline receives the first request and the following events take place:
- An object of class ApplicationManager is created.
- An object of class HostingEnvironment is created.
- Top level items in the application are compiled.
- Response object are created:
- HttpContext
- HttpRequest
- HttpResponse
- An instance of HttpApplication is created and assigned to the request.
- The request is processed by the application class. Events are parsed.
- Initialization
- Instantiation
- Restoration and maintenance of the state
- Execution of the event handler codes
- Page Rendering
Stages:
- Page Request
- Starting of the page lifecycle
- Page initialization
- Page load
- Validation
- Postback event handling
- Page Rendering
- Unload
- PreInit - overload OnPreInit
- Init - overload OnInit
- InitComplete
- Load ViewState
- Load PostData
- PreLoad - overload OnPreLoad
- Load - overload OnLoad
- LoadComplete - overload OnLoadComplete
- PreRender
- PreRender Complete
- SaveState Complete - override Render
- Unload
No comments:
Post a Comment