问题
Although this question isn't directly about code it's related to programming and seems better put here than, say, serverfault or superuser.
--
I'm a developer with Visual Studio 2010. Microsoft's newest web server offering for developers is IIS Express. ScottGu indicated this combination is workable:
IIS Express will work with VS 2010 and Visual Web Developer 2010 Express, will run on Windows XP and higher systems,
The only option I've seen so far, is to download WebMatrix which contains and uses IIS Express, but I cannot get it hooked into VS 2010, or to download IIS Express separately.
Any ideas?
回答1:
Current of July 11, 2011
Visual Studio 2010 Service Pack 1 includes the option to use IIS Express from inside VS2010. Blog post.
Or use the Web Platform Installer.
回答2:
I don't think IIS Express is available for Visual Studio 2010 yet.
Edit: Found it in Scott's post. http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
We’ll be releasing the first public beta of IIS Express shortly. With the beta you’ll be able to right-click on a file-system folder and have IIS Express launch a web-site based on that file-system location. We’ll also be releasing a patch for VS 2010 and Visual Web Developer 2010 Express later this year that will enable you to automatically launch and use IIS Express in place of VS’s built-in ASP.NET Developer Server.
回答3:
http://www.intrepidstudios.com/blog/2010/7/11/debug-your-net-web-project-with-iis-express-t.aspx has instructions on using IIS Express with VS2010 if you don't feel like waiting for VS2010 SP1 to be released.
回答4:
The link to the Visual Studio 2010 Service Pack 1 (not beta any longer) is http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5.
回答5:
Jesper Palm is not correct, I am able to run IIS Express Using Visual Studio after a lot of investigation. What Jaseper is mentioning(ScootGu's blog), I already have read that. Scott is only telling that the patch will be released to run 'IIS Express' within VS2010 IDE but with 'MS Web Matrix Beta 2' It is possible to run IIS EXpress with VS 2010. If u face problem contact me in by e-mail:ankitvbdotnet@yahoo.com
回答6:
The current IIS Express Overview says that VS2008 and VS2010 integration is going to come in a later release (presumably before the RTM release).
A future update to Visual Studio 2010 will add support for IIS Express. You can also manually configure Visual Studio 2008 and Visual Studio 2010 to use IIS Express.
回答7:
For anyone that can't/doesn't want to install the SP1 beta then this blog post will show you how you can incorporate it into your debugging in a relatively easy way.
来源:https://stackoverflow.com/questions/3355138/developing-in-visual-studio-2010-with-the-new-iis-express-web-server