Developing Web Applications on Windows Vista with Visual Studio 2005

Web Development Tools Microsoft

Hey Web Developers — My name is Bradley Millington and I am a Program Manager on the WebTools team.  Lately I’ve been looking at opportunities for future versions of Visual Studio to better integrate with Windows Vista and IIS 7.0.  In the meantime, however, you can use Visual Studio 2005 to start developing on Vista right away.  

Microsoft
Windows Vista RC1 is now available to the public (view the press release), and many Visual Studio 2005 web developers are eager to start building ASP.NET 2.0 applications running under Internet Information Services 7.0, which is included with the Vista operating system.  To build web apps under this environment, there are just a few steps you need to perform:

 

1.       First, you need to install the IIS 7.0 and ASP.NET 2.0 Windows components, since they are not automatically installed by default. Because Visual Studio 2005 uses the IIS metabase APIs to create and configure applications in IIS, you must also install a metabase compatibility component for IIS 7.0.  To do this, use the “Programs and Features” control panel in Vista, following the steps below.

 

To install IIS 7.0 and ASP.NET 2.0 on Windows Vista

1.       In Windows Vista, open Control Panel and then click Programs and Features.

In the right pane, click Turn Windows features on or off.
The
Windows Features
dialog box opens.



2.       Select the Internet Information Services check box.

3.       Double-click (or expand) Web Management Tools, double-click IIS 6 Management Compatibility, and then select the IIS 6 Metabase and IIS 6 Configuration Compatibility check box.

4.       Double-click (or expand) World Wide Web Services, double-click Application Development Features, and then select the ASP.NET check box.

Note   The related options that are necessary for Web application development will automatically be selected.

5.       Click OK to start the ASP.NET installation process.


  

2.      Second, you must run Visual Studio 2005 in the context of an administrator account before you can develop web applications on Windows Vista. By default, Windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator.  To explicitly run Visual Studio as administrator, follow the steps below.

To run Visual Studio with administrative privileges in Windows Vista

1.       In Windows Vista, click Start, click All Programs, and then locate Visual Studio.

2.       Right-click Microsoft Visual Studio 2005, and then click Run as administrator.

One more note:  If you happen to use SQL Server Express for database development, you’ll also need to download and install SQL Server Express SP1, which contains updates required to run on Vista.

Enjoy developing on Vista and be sure to let us know what you think of IIS 7.0!

–Bradley

 

0 comments

Discussion is closed.

Feedback usabilla icon