IIS Express and Visual Studio 2010 without SP1

Here’s how you can integrate IIS Express with Visual Studio 2010 without SP1. I’m taking advantage of External Tools again. There are two very simple ways to run IIS Express from the command line. The first is to pass the web project path:

You can use this by selecting your web project in the solution explorer and then running the tool.

The second way is to use a configuration file. This is for when you need something different than the default settings. For example, if you need to enable PHP. Save your applicationHost.config in the root of your project file before running this:

I’ve also attached the exported settings at the bottom of this post. You can import them from the Tools/Import and Export Settings… menu option.

Now that we can run IIS Express, we need to configure the project to use it. In the Web tab of your project settings, select Use Custom Web Server and type the Server Url that IIS Express is configured to use. The default is http://localhost:8080/.

Wasn’t that easy?

IIS Express External Tools Settings
Title: IIS Express External Tools Settings (1142 clicks)
Size: 1 kB

  • Kylie Wilson

    Very Nice post..well written..

    Here i would like to give a plug to my website..which your reader might find intresting…link is as below

    .Agile Certification

  • Olivia Jennifer

    thank you for such detailed info on iis express and visual studio really gave my students a clear idea abt the above..thanks again!!