Creating the Project

For this chapter, we will start with a project created from the Visual Studio ASP.NET Web Application template, as shown in Figure 9-1.

images

Figure 9-1. Using the ASP.NET Web Application project template

Select the template, set the name of the project to Styling Content, and click the OK button to create the project. We are going to use the data model and consolidated access class DataAccess from Chapter 8, so follow the steps to create the model and copy the code file from that project (don't forget to change the namespace). Alternatively, you can download the ready-to-go project as part of the download that accompanies this ...

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.