Your official information source from the .NET Web Development and Tools group at Microsoft.
With the Sp1 release of Visual Studio 2010 now available for download, you now have the option to use IIS Express as the development server for your web projects instead of the built-in Visual Studio Development server (aka. Cassini). Here are some previous blog posts explaining the IIS Express integration features in VS 2010 Sp1 Beta, which are also available with this new release of Sp1:
VS 2010 SP1 and IIS Express should both be installed to enable IIS Express support
To enable using IIS Express as the development server for your web projects, you need to have both the Sp1 release of VS 2010 as well as the IIS Express web server installed. See the 'Installing VS 2010 Sp1 and IIS Express' section below for details on how to do this.
Sharing projects that use IIS Express in a team environment - Note that the RTM release of VS 2010 does not know about IIS Express, as the feature was added only in Sp1. This means that if you have a project using IIS Express in VS 2010 Sp1 and share that project with a teammate who is still running VS 2010 RTM, then VS 2010 RTM will make an attempt to open the project as if it were an IIS project and probably give you an error similar to “Could not find the server ‘http://localhost:20221’ on the local machine” (assuming that no site with that binding exists in IIS). If everyone on the team is using VS 2010 Sp1, then you will not run into this problem.
If you do have some folks on the team using VS 2010 RTM and others using VS 2010 Sp1, then for Web Application Projects, you can work around the above issue by unchecking the “Apply server settings to all users (store in project file)” checkbox in the Property Pages > Web tab of the WAP. This causes the server selection (Cassini or IIS Express) and related settings to get stored on a per-user basis in the .suo user file rather than in the project file, thus causing the server selection to not persist into source control. This will allow the VS 2010 RTM users on the team to still use Cassini while the VS 2010 Sp1 user can use IIS Express for the same project. For Website Projects, it is necessary that everyone on the team need to be using VS 2010 Sp1 to be able to share projects and use IIS Express.
Installing VS 2010 SP1 and IIS Express:
Verifying that IIS Express is installed
Worst thing ever that you can't save the "Windows Authentication Enabled" for everyone :-(
I have done this to utilize IISExpress, but i still see Visual Web Developer loading when debugging?
I have a problem with getting "myfile.json" file from client. I get an error: "HTTP Error 404.3 - Not Found" and a suggestion to add MIME type with the following command: "appcmd set config /section:staticContent /[fileExtension='string',mimeType='string']". I tryed to run it as: "appcmd set config /section:staticContent /[fileExtension='.json',mimeType='application/json']", bu it give the error: "ERROR ( message:Cannot find requested collection element )".
Am doing something wrong? How can I enable loading *.json files with IIS Express?
I found the problem: in the help the command line is (2 lines):
appcmd set config /section:staticContent /+
There are 2 lines, so I copied it withoutn "+", because I thought that is was there as string concatenator. But it fugures it is a part of the command. The command should be:
appcmd set config /section:staticContent /+[fileExtension='.json',mimeType='application/json']
Now it works.