to run ASP.NET. Youre likely to have the .NET Framework already, as it
installs automatically through the Windows Update service.
.NET Framework Software Development Kit (SDK)
The .NET Framework 2.0 Software Development Kit (SDK) is a free down-
load that contains the necessary Web Application development tools, a de-
bugger for error correcting, and a suite of samples and documentation.
Were also going to need a database. In this book, well use the following:
Microsoft SQL Server 2005 Express Edition
This is the free, but still fully functional, version of SQL Server 2005. If you
worked with previous versions of these technologies, you should know that
SQL Server 2005 Express is a replacement for the previous Microsoft SQL
Data Engine (MSDE). You can read more on the differences between various
SQL Server 2005 editions at the Microsoft site.
2
SQL Server Management Studio Express
Because the Express Edition of SQL Server doesnt ship with any visual
management tools, you can use this free tool, also developed by Microsoft,
to access your SQL Server 2005 databases.
Installing the Web Server
Installing Internet Information Services (IIS)
IIS comes with most versions of server-capable Windows operating systemsin-
cluding Windows 2000 Professional, Server, and Advanced Server; Windows XP
Professional; Windows XP Media Center Edition; and Windows Server 2003but
its not installed automatically in all versions, which is why it may not be present
on your computer. IIS isnt available for Home editions of these operating systems,
such as Windows XP Home Edition. If you run this, youll need to rely on Cassini,
which we discuss below.
To see whether you have IIS installed and running, simply locate your Adminis-
trative Tools folder (sometimes its a menu option; sometimes its a folder in the
Control Panel
3
) and check whether or not it contains a shortcut to Internet In-
formation Services. If the shortcut isnt visible, then its not installed. To install
IIS, simply follow these steps:
2
http://www.microsoft.com/sql/2005/productinfo/sql2005features.asp
3
To see this folder, youll need to view the Control Panel in classic view.
6
Chapter 1: Introducing ASP.NET and the .NET Platform
1.
In the Control Panel, select Add or Remove Programs.
2.
Choose Add/Remove Windows Components. The list of components will become
visible within a few seconds.
3.
In the list of components, check Internet Information Services (IIS), as shown in
Figure 1.2. The default installation options are enough for ASP.NET develop-
ment, but you may want to click Details to view the extra options you could
add.
Figure 1.2. Installing IIS
4.
Click Next. Windows may prompt you to insert the Windows CD.
Add Administrative Tools to the Start Menu
Heres how to add Administrative Tools to the Windows XP Start menu:
1.
Right-click on the Start button and select Properties to bring up the
Taskbar and Start Menu Properties dialog.
2.
Click the Customize button to bring up the Customize Start Menu
dialog.
7
Installing the Web Server
3.
If youre using the classic Start menu, check Display Administrative Tools,
then click OK.
4.
If youre using the Windows XP-style Start menu, click the Advanced
tab, scroll through the Start menu items list until you get to System Ad-
ministrative Tools, and select from Display on the All Programs menu
or Display in the All Programs menu and the Start menu.
Once IIS is installed, close the Add or Remove Programs dialog. To check that IIS
has installed correctly, see if you can find the Internet Information Services short
cut in Administrative Tools. If you can, IIS is installed. Open the link to make first
contact with the IIS management console, which is shown in Figure 1.3. In the
left pane, youll initially see the name of your computer, whose nodes you can
expand.
Figure 1.3. The IIS administration tool
You can close this tool for now; youll meet it again later.
You are now ready to host web applications. Although we wont cover the config-
uration of IIS for external use, we will show you how to configure IIS to support
local development of ASP.NET applications in order that they may be uploaded
to your external web hosting provider later.
8
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.