Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
146
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

Installing the .NET Framework and the SDK

Installing Cassini

If you’re unable to install IIS, you’ll 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

We’ll need to do some more work to get Cassini up and running properly, but we’ll 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, you’ll need to install the .NET Framework and the Software Development Kit (SDK). The .NET Framework includes

4 http://www.asp.net/Projects/Cassini/Download/

9

Chapter 1: Introducing ASP.NET and the .NET Platform

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 doesn’t exist, you definitely don’t 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 doesn’t start with v2 or higher, you’ll 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 site5 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, we’ll 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, doubleclick the executable to begin the installation.

5.Follow the steps presented by the wizard until installation completes.

Installing the SDK

Now that you’ve installed the redistributable package, you need to install the

Software Development Kit (SDK):

5 http://www.asp.net/

10