Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Understanding of Asp.net & page lifecycle
1. ASP.NET
Understanding of ASP.Net Page Lifecycle
Using Visual studio
Department of Computer
WEB – GRADE 5
Lecturer. OMEED M. M
10/16/2021
2. Table of content
What is ASP.NET?
Understanding of ASP.Net Page Lifecycle
Using Visual studio
Learn about different windows in visual studio
4/6/2022 Mr.Omeed M. M 2
3. What is ASP.NET?
.NET is a developer platform made up of tools, programming
languages, and libraries for building many different types of
applications.
ASP.NET extends the .NET developer platform with tools and
libraries specifically for building web apps.
4/6/2022 Mr.Omeed M. M 3
4. What is ASP.Net Page Lifecycle?
When an ASP.Net page is called, it goes through a particular lifecycle.
This is done before the response is sent to the user. There are series
of steps which are followed for the processing of an ASP.Net page.
4/6/2022 Mr.Omeed M. M 4
5. What is ASP.Net Page Lifecycle?
Let’s look at the various stages of the lifecycle of an ASP.Net web page.
4/6/2022 Mr.Omeed M. M 5
6. What is ASP.Net Page Lifecycle?
1. Page request
2. Start
3. Initialization
4. Load
5. Postback event handling
6. Rendering
7. Unload
4/6/2022 Mr.Omeed M. M 6
7. What is ASP.Net Page Lifecycle?
Page request
This stage occurs before the lifecycle begins. When
a page is requested by the user, ASP.NET parses
and compiles that page.
Start
At this stage, the Request and Response objects are
set. If the request is an old request or post back, the
IsPostBack property of the page is set to true.
4/6/2022 Mr.Omeed M. M 7
8. What is ASP.Net Page Lifecycle?
Initialization
During page initialization, controls on the page are
available and each control's UniqueID property is
set. A master page and themes are also applied to
the page if applicable.
Load
This is when the page is actually loaded with all the
default values. So if a textbox is supposed to
have a default value, that value is loaded during
the page load time.
4/6/2022 Mr.Omeed M. M 8
9. What is ASP.Net Page Lifecycle?
Postback event handling
If the request is a postback (old request), the
related event handler is invoked.
Rendering
This happens just before all the response
information is sent to the user. All the information
on the form is saved, and the result is sent to the
user as a complete web page.
Unload
Once the page output is sent to the user, there is
no need to keep the ASP.net web form objects in
memory.
4/6/2022 Mr.Omeed M. M 9