In this chapter, you will learn how to:
Create Web Forms pages.
Create and use user controls.
Handle page and control events.
In previous chapters, you’ve seen examples of both very simple and more complicated ASP.NET pages. The simplest ASP.NET page consists of plain HTML and is named with the .aspx extension. While that’s perfectly valid, it’s also missing a lot of the elements that make Web Forms so useful.
Web Forms go beyond what classic ASP pages offered, adding new directives, new reusability options in the form of user controls and server controls, and a new server-side data-binding syntax. This section will explore how a page is put together and how you can use these new features in your Web Forms.