What you will learn in this chapter:
The wrox.com code downloads for this chapter are found at www.wrox.com/go/beginningaspnetforvisualstudio on the Download Code tab. The code is in the chapter 05 download and individually named according to the names throughout the chapter.
Earlier chapters listed the advantages of using the ASP.NET Web Form approach for building a web application. One of these advantages is the number of built-in controls available out of the box, as well as the large number of third-party controls that are available. These controls are all server controls, and in this chapter you will see how advantageous it is to have these kinds of server controls available to help support your development efforts. By the end of the chapter, you will be able to compare this approach with the approach taken in ASP.NET MVC in order to better understand which approach would best support your future projects.
Server controls are add-ins to the markup section of your application, the area where you add the HTML. The ASP.NET server control is an element that is added to an
.aspx file and exposes properties, methods and events that can be accessed by the code-behind file ...