TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Interviews
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
How asp.net page works?
By
rahul sandbhor
in
ASP.NET
on
Jul 19
2010
0
10.6k
1
Post Your Answer
Submit
Jul, 2010
19
This can be summarised in 2 steps
1) User requests the asp.net page (page having the extension .aspx) by typing the URL for the page in the browser.
2) Server receives the request for .aspx page and executes the code in the code behind of the page.The output of the page is HTML which is sent back to the browser.
nlo
Also please understand that the browser understands only HTML so whatever you request the output has to be the HTML.
Now what happens when the page executes :
ASP.NET page has a lifecycle which it undergoes .The major events that are fired when the page goes through the lifecycle are :
Page_Init
Page_Load
Page_PreRender
Page_Render
Page_Unload
You can write code in any of these event handlers(more event handlers are there) to change the generated HTML.
0
Most Popular Job Functions
Developer (2375)
Programmer (1288)
Sr. Developer (825)
Sr. Programmer (449)
Fresher (398)
Tech Lead (378)
DBA (244)
Team Lead (187)
Project Lead (83)
Architect (28)
View All
MOST LIKED QUESTIONS
Why do you want to leave your current company?
What are the advantages of using REST in Web API?
What is ASP.NET Core?
How to iterate through ArrayList in jQuery?
What is the difference between TempData keep() and peek() function?
A class provides a default constructor for me. I write a constructor that takes a string as...
Can multiple catch blocks be executed in a C# program?
what is Sealed class
What were your responsibilities in your previous job ?
What Operating Systems Node.js Supports