TU2 What’s new in ASP.NET 4 WebForms


9:45 AM - 11:00 AM

Level: Introductory to Intermediate

Wally McClure

Wallace McClure


Scalable Development, Inc

WebForms has been a feature of ASP.NET since the 1.0 release. Many successful applications have been built based on WebForms. Recently, it seems that all of the excitement in ASP.NET has been on MVC. With Version 4, the ASP.NET team has added a number of new features to WebForms. This session will explore the new features in ASP.NET 4 WebForms with an emphasis on:

  • Routing: Routing allows an application to accept URLs that are readable to users, are optimized to improve search engine ranking, and do not necessarily map to physical files.
  • ViewState: ViewState has been a part of ASP.NET since its initial 1.0 release. ViewState allows an ASP.NET WebForm to respond to events during a post back. Unfortunately, ViewState also can increase the size of page beyond what is actually required unless a developer is careful and pays attention to issues with ViewState. With ASP.NET 4 ViewState, we’ll explore improvements in the ability to control ViewState.
  • Client IDs: Before .NET 4.0, the generated Client IDs in WebForms can be very confusing. With .NET 4.0, the ability to control the generated Client IDs in WebForms has been greatly enhanced. We’ll look at these new features for Client IDs in ASP.NET 4.0 WebForms.
  • CSS and HTML Improvements: ASP.NET 4 WebForms renders HTML that is compliant with the last HTML standards. We’ll look at how these improvements effect controls and what developers should be aware of.

You will learn:

  • The new features in ASP.NET 4
  • How to immediately apply these features to your existing WebForms applications you are upgrading to ASP.NET 4, and to new ASP.NET 4 applications you are building with WebForms