Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
How asp.net page works?
rahul sandbhor
14y
8.7k
0
Reply
Submit
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.
Ashish Shukla
14y
0
Message