Dynamic Data Website
What You Will Learn in this Chapter
Wrox.com Code Downloads for this Chapter
The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118311813 on the Download Code tab. The code is in the 311813 C16.zip download and individually named according to the names given throughout the chapter.
Now that you have seen how to work with databases in a Windows application, let's learn how to work with data using a web application. Starting with Service Pack 1 of Framework 3.5 and Visual Studio 2008, a new site template was shipped. This new template is included in Visual Studio 2012. This template, named Dynamic Data Web Site, allows you to create a data driven site in minutes. The best part about using the new template is that you get a working website with the capability to create, read, update, and delete data in a database without writing any code.
This section provides an overview of how to create a website to manage data in the pubs database. You go through a simple wizard, make minor adjustments to the solution, and then you have it. You will be amazed in just a few minutes.