This Contoso University application is used by the ASP.NET tutorial series Deploying an ASP.NET Web Application with SQL Server Compact using Visual Studio. Part of the introductory chapter is reproduced below:


Before you start, make sure that you have Windows 7 or later and one of the following products installed on your computer:

If you have Visual Studio 2010 SP1 or Visual Web Developer Express 2010 SP1, install the following products also:

Some other software is required in order to complete the tutorial, but you don't have to have that loaded yet. The tutorial will walk you through the steps for installing it when you need it.

Downloading the Sample Application

The application you'll deploy is named Contoso University and has already been created for you. It's a simplified version of a university web site, based loosely on the Contoso University application described in the Entity Framework tutorials on the ASP.NET site.

When you have the prerequisites installed, download the Contoso University web application. The .zip file contains multiple versions of the project and a PDF file that contains all 12 tutorials. To work through the steps of the tutorial, start with ContosoUniversity-Begin. To see what the project looks like at the end of the tutorials, open ContosoUniversity-End. To see what the project looks like before the migration to full SQL Server in tutorial 10, open ContosoUniversity-AfterTutorial09.

To prepare to work through the tutorial steps, save ContosoUniversity-Begin to whatever folder you use for working with Visual Studio projects. By default this is the following folder:

C:\Users\<username>\Documents\Visual Studio 2012\Projects

(For the screen shots in this tutorial, the project folder is located in the root directory on the C: drive.)

Start Visual Studio, open the project, and press CTRL-F5 to run it.


The website pages are accessible from the menu bar and let you perform the following functions:

Following are screen shots of a few representative pages.



Reviewing Application Features that Affect Deployment

The following features of the application affect how you deploy it or what you have to do to deploy it. Each of these is explained in more detail in the following tutorials in the series.