Installing the ASP.NET Framework


The easiest way to install the ASP.NET Framework is to install Visual Web Developer Express. Visual Web Developer Express is included on the CD that accompanies this book. (You also can download the latest version from www.ASP.net, which is the official Microsoft ASP.NET website.)

Installing Visual Web Developer Express also installs the following components:

  • Microsoft .NET Framework version 2.0

  • SQL Server Express

Visual Web Developer Express is compatible with the following operating systems:

  • Windows 2000 Service Pack 4

  • Windows XP Service Pack 2

  • Windows Server 2003 Service Pack 1

  • Windows x64 editions

  • Windows Vista

I strongly recommend that you also download the .NET Framework SDK (Software Development Kit). The SDK includes additional documentation, sample code, and tools for building ASP.NET applications. You can download the SDK from the Microsoft MSDN website located at msdn.microsoft.com.

You can install Visual Web Developer Express on a computer that already has Visual Studio .NET 2003 installed. The two development environments can co-exist peacefully.

Furthermore, the same web server can serve both ASP.NET 1.1 pages and ASP.NET 2.0 pages. Each version of the .NET Framework is installed in the following folder:

C:\WINDOWS\Microsoft.NET\Framework 


For example, on my computer, I have the following three versions of the .NET Framework installed (version 1.0, version 1.1, and version 2.0):

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705 C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 


Each folder includes a command-line tool named aspnet_regiis.exe. You can use this tool to associate a particular virtual directory on your machine with a particular version of the .NET Framework.

For example, executing the following command from a command prompt enables a particular version of ASP.NET for a virtual directory named MyApplication:

aspnet_regiis -s W3SVC/1/ROOT/MyApplication 


By executing the aspnet_regiis.exe tool located in the different .NET Framework version folders, you can map a particular virtual directory to any version of the ASP.NET Framework.




ASP. NET 2.0 Unleashed
ASP.NET 2.0 Unleashed
ISBN: 0672328232
EAN: 2147483647
Year: 2006
Pages: 276

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net