ASP.NET Web Forms Internals: Requests, ViewState & Page Lifecycle

Most developers are familiar with the high level abstractions that ASP.NET provides for them, such as Web Forms and Web Services. However, below these abstractions sits a very interesting architecture. Knowing the under works of this architecture not only elevates the ASP.NET developer into the advanced zone, but also helps him or her, write better designed applications and solve advanced problems that occur way below the high level ASP.NET use
Course info
Rating
(555)
Level
Intermediate
Updated
Jun 13, 2013
Duration
1h 4m
Table of contents
Description
Course info
Rating
(555)
Level
Intermediate
Updated
Jun 13, 2013
Duration
1h 4m
Description

Do you know what happens before a page starts executing its events? Do you know how the ASP.NET pipline works and what are the best practices for your code to subscribe to this pipeline? Do you know the importance of ViewState in the page lifecycle beyond the "it saves page state between postbacks" statement? If the answer of any of the above questions is no, then you will benefit from this course.

About the author
About the author

Mohamad is a solution architect and Azure MVP with expertise in enterprise architecture, integration, identity and access, cloud, IoT, and data analysis.

More from the author
Starting with Oracle Big Data
Beginner
3h 35m
Jul 3, 2018
Real World SOA: Design and Implementation
Intermediate
9h 21m
Aug 1, 2016
More courses by Mohamad Halabi
Section Introduction Transcripts
Section Introduction Transcripts

Introduction
My name is Mohomad Halabi. Welcome to this course about ASP. NET Web Forms Internals. I will cover the topics of Requests Architecture and Page Lifecycle with a special focus about the role of ViewState in this cycle.

Pre-Page Execution: Request Architecture
In this module I will explain the ASP. NET Request Architecture. That is the journey that an ASP. NET Request takes from the moment it hits IIS until just before the page lifecycle starts, which in turn is discussed in the next modules.

Introducing ViewState
In the previous module we tracked ASP. NET Pre-Page Execution Architecture, now we are ready to start the next phase, which is the ASP. NET page lifecycle. However, before doing so, this module makes sure you understand what ViewState is because this will have the biggest impact on understanding the page lifecycle, as we will see starting the next module.

The Page Lifecycle and ViewState
This module covers ASP. NET Page Lifecycle and shows the role of ViewState in this cycle.

ASP.NET Walkthroughs
By now you should have a solid understanding of the page lifecycle and the role that ViewState plays in this cycle. However, we are yet to discuss the cases that tests whether you are an advanced ViewState user or not. In the next Walkthroughs you shall take in most of these cases, by the end of this section you can safely call yourself an advanced ViewState developer.