Installing Cassini
If youre unable to install IIS, youll need to download and install Cassini:
1. Go to the Cassini download page.
4
2. Download the Cassini installer executable (cassini.exe).
3. Run cassini.exe and follow the steps presented by the installer, accepting
the default options.
If the process went to plan, everything you need to run Cassini can be found in
the folder C:\Cassini. Double-click CassiniWebServer.exe in that folder to
start its management console, which is shown in Figure 1.4.
Figure 1.4. The Cassini management console
Well need to do some more work to get Cassini up and running properly, but
well need to install the .NET Framework and the Software Development Kit
first.
Installing the .NET Framework and the SDK
To begin creating ASP.NET applications, youll need to install the .NET Frame-
work and the Software Development Kit (SDK). The .NET Framework includes
4
http://www.asp.net/Projects/Cassini/Download/
9
Installing the .NET Framework and the SDK
the files necessary to run and view ASP.NET pages, while the SDK includes
samples, documentation, and a variety of free tools.
Installing the .NET Framework
The best method of acquiring the .NET Framework is to download and install it
directly from the Web. Note that it is also delivered through Windows Update,
so you may already have it installed on your system. To check, open the folder
C:\WINDOWS\Microsoft.NET\Framework (if your copy of Windows is installed
somewhere other than C:\WINDOWS, change this path accordingly). If this folder
doesnt exist, you definitely dont have the .NET Framework installed. If it does
exist, you should find inside it at least one folder with a name like v1.1.4322.
Each of these kinds of folders holds a different version of the .NET Framework
you have installed. If at least one of these folders names doesnt start with v2 or
higher, youll need to install the latest version of the .NET Framework.
To install the latest version of the .NET Framework, simply follow the steps
outlined below:
1.
Go to the ASP.NET support site
5
and click the Download the .NET Framework
link.
2.
Under the .NET Framework Version 2.0 Redistributable Package heading, click
the appropriate download link for your hardware. Remember, well install the
redistributable package first, then the SDK. The link will advance you to a
download page.
3. Choose the language and version of the installation you want, and click
Download.
4. Save the file to a local directory. After the download is complete, double-click
the executable to begin the installation.
5. Follow the steps presented by the wizard until installation completes.
Installing the SDK
Now that youve installed the redistributable package, you need to install the
Software Development Kit (SDK):
5
http://www.asp.net/
10
Chapter 1: Introducing ASP.NET and the .NET Platform

Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition 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.