Using Visual Studio 2008 with IIS 7.0

In the past, I've blogged a number of times about using Visual Studio to develop and debug IIS 7.0 applications.

I am happy to say that Visual Studio 2008 has added a number of improvements to work better with IIS 7.0, making it a lot easier to use it to develop, deploy, and debug those applications both locally and on remote IIS 7.0 servers.

To help you get started with using Visual Studio 2008 to work with IIS 7.0 applications, I put together a new iis.net article precisely on the subject: Using Visual Studio 2008 with IIS 7.0.

This article deals with some of the following topics:

- Using Visual Studio 2008 to create IIS 7.0 Web sites and applications  
- Connecting to and publishing to remote IIS 7.0 web sites
- Setting up debugging on local and remote IIS 7.0 servers

If you would like a walk-though of bulding .NET modules and handlers for your IIS 7.0 server and ASP.NET Integrated pipeline applciations, see my other post here: Developing IIS7 modules and handlers with the .NET framework.

As always, feel free to leave feedback on the article, and definitely let me know if I have missed anything critical that you are trying to do.

 

Published 12 March 08 07:30 by Mike Volodarsky

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MVolo's Blog said on March 12, 2008 7:46 PM:

In the past, I've blogged a number of times about using Visual Studio to develop and debug IIS 7.0 applications

# .Net Programmer said on March 13, 2008 4:00 AM:

Mike,

thanks for sharing with us your article. It's a pleasure to read what you write.

# Joteke's Blog said on March 16, 2008 1:23 PM:

Mike Volodarsky has put up a nice article about VS2008 and IIS 7.0 together. Check it out: http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-70

# IIS 7.0 Server-Side said on April 4, 2008 12:23 PM:

I've blogged quite a bit about using Visual Studio to develop and debug IIS 7.0 applications in the past. A few weeks back, I put together a detailed article about using Visual Studio 2008 to work with IIS 7.0 applications, collecting all the various

# Jen said on April 8, 2008 2:37 PM:
Hey Mike, I left a message on the IIS 7blog, before I found this one. I decided to post a message here as well regarding my issue. I am getting the following error everytime I try and debug my web application. I was able to debug the application yesterday, but no luck today. The error I receive is: Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information. I created a very simple application that had one page and one button. I added code to the event handler of the button click and tried to debug it. I received the same error. I am running IIS 7 on Vista. My application was written in VS 2008 (release candidate) on C#. I have done everything you indicated in your article and it still refuses to work. I have also attempted to restart IIS. I have also tried to turn off/on IIS through the "Turn Windows features" component and the issue persists. At this point, I have run out of ideas and am thinking that I may need to reinstall everything. Do you have any ideas? Thanks, Jennifer
# Jen said on April 9, 2008 8:01 AM:
Mike, Don't worry about it. I tried to uninstall again and this time it worked. Thanks, Jennifer
# Andrew said on June 11, 2008 5:45 PM:
Hi there, I have tried everything. I have installed what was mentioned (iis metabase config, asp.net etc) I run vs2008 as an administrator but when i try and create a website using local iis, i still get the infamous you must instsall the following and run as an administrator. Anyone had this problem? Thanks Andrew.
# Turkey said on July 31, 2008 1:53 AM:

Thanx You.. Perfect Docs

# spolarium7 said on September 14, 2008 9:33 PM:
This is for Jen. I am currently experiencing the same error as you had. Could you please elaborate on how you managed to make it work?

Leave a Comment

(required) 
(optional)
(required) 
Enter the code you see below


About Mike Volodarsky

For the past 5 years, I was the core Program Manager for Microsoft ASP.NET 2.0 and IIS 7.0 products. I drove the design and development of the IIS 7.0 web server core, the IIS FastCGI support, the AppCmd command line tool, the ASP.NET Integrated pipeline, and other special projects around server security, performance, and scalability. Now, I am working on my own on cutting edge web server tech on top of the Microsoft IIS platform, and continue blogging about it here.

About me



For the past 5 years, I was the core server Program Manager for the IIS 7.0 and ASP.NET 2.0 products at Microsoft.
Now, I work on advanced web server tech using IIS 7.0, .NET, and Windows Server 2008 and write about it in this blog.

View Michael Volodarsky's profile on LinkedIn

Writings



TechNet Magazine
>Top 10 Performance Improvements in IIS 7.0

MSDN Magazine
>IIS 7.0: Build Web Server Solutions with End-To-End Extensibility
>IIS 7.0: Enhance Your Apps with the Integrated ASP.NET Pipeline
>IIS 7.0: Explore The Web Server For Windows Vista And Beyond
>Design and Deploy Secure Web Apps with ASP.NET 2.0 and IIS 6.0
>Fast, Scalable, and Secure Session State Management for Your Web Applications


Tools and Modules

LeechGuard
IconHandler 2.0
DirectoryListing
HttpRedirection
IIS Auth for Wordpress
iisschema.exe
PortCheck.exe v2.0

Popular Posts

- ASP.NET 2.0 Breaking Changes on IIS 7.0
- Develop IIS7 modules and handlers with .NET
- Troubleshoot IIS7 errors like a pro
- Troubleshooting 503 / "service unavailable" errors
- Troubleshooting "server not found" errors
- Create IIS7 sites, applications, and virtual directories
- Run Ruby on Rails with IIS FastCGI
- VS Debugging of ASP.NET applications on Windows Vista
- Stop hot-linking with IIS and ASP.NET

Tags

Search

Go

This Blog

Archives

Good IIS Blogs

Disclaimer

These postings are provided as is with no warranties, and confer no rights. The views expressed in this blog are entirely my own.

Syndication