IIS Express 8 vs. IIS - windows

I downloaded Visual Studio 2013 Express. I have IIS Express 8 Installed.
Is it OK if I download IIS 7 or 8? Do I have to do anything to make Visual Studio 2013 work with IIS 7 or 8?

You can't download IIS7 or 8 since they are part of the Windows operating system. You have to enable them in Windows Features.
Visual Studio can work out-of-the-box with IIS proper. You just have to configure your site to use it. In your project properties for your web site, select Web and edit the Servers section.

Related

Why has Visual Studio 2015 and IIS Express has stopped responding to any HTTP requests?

I've been developing a Web Forms ASP.net web application in Visual Studio 2013 without any incident for some time now, but recently I attempted to upgrade to Visual Studio 2015 and now every time I launch the project I get stuck waiting for a request. This isn't a server response (like 500 or 404) it just never responds. To try and isolate this I've uninstalled every copy of Visual Studio (I had 2012, 2013 and 2015 installed), deleted the %userprofile%\DocumentsIISExpress folder, reinstalled just VS 2015, and created a completely empty web project (with just the default Web Forms boilerplate). Here is a screen shot of what I am experiencing:
I have had the same problem after installing Visual Studio 2015 Update 1. As it turns out, VS 2015 removes IIS Express 8.0, which was included with Visual Studio 2013, and installs IIS Express 10.0. For some reason, this version of IIS Express does not work for some developers.
visual studio iis express not working
iisexpress hangs when starting MVC project
Visual Studio 2015 Update 1 - No IIS Express Response While Debuging
As a workaround, I ended up uninstalling IIS Express 10.0 from the Programs and Features control panel, and re-installed IIS Express 8.0. It is available as a separate download from Microsoft.
This appears to have resolved the issues I was experiencing, however I do not know if there are features in iis express 10.0 which vs2015 relies on for debugging and app execution. In the extremely limited testing that I've done with VS 2015 and IIS Express 8.0 everything appears to be working fine YMMV.
UPDATE:
While refreshing my OS I noticed that IIS Express 10 was working properly. But when I installed IIS from the Windows Programs and Features dialog, express stopped working and behaved as described above. Others have noticed this coincidence as well.
Uninstalling IIS and reinstalling IIS Express 10, in my case, allowed me to debug my web application with IIS Express 10. As always YMMV.

Developing in Visual Studio 2005 for Windows Server 2012

Is it possible to install an ASP.net website developed with Visual Studio 2005 in a server with Windows Server 2012? Our client is planning to upgrade the server from Windows Server 2003 to Windows Server 2012. Will the application (already developed with VS 2005) run in a 64 bits operating system?
It is possible. Two things to make sure you do is to have the correct .Net version installed on the windows server and when you setup the new site in IIS (assuming IIS) that the application pool is set to allow 32-bit applications.
This will take you through how to enable 32-bit app pools (it is for IIS7 but IIS 8 is the same)
https://help.webcontrolcenter.com/kb/a1114/how-to-enable-32-bit-application-pool-iis-7-dedicatedvps.aspx
Visual Studio is just a development environment and is intendant of the target server type/version. You can use Visual Studio to develop any .Net application/website no matter where you want to run it. It is all about the server being configured to run a 32-bit .Net application.

Where are inetpub folder and IIS?

I have Visual Studio 2010 installed in my machine. But, there is no inetpub folder created. I was not able to find the IIS when I typed out inetmgr in the Run command. Where is the IIS? And why was the inetpub folder not created?
"By default, Visual Studio 2010 SP1 uses the Visual Studio Development Server for Web site projects and Web application projects."
http://msdn.microsoft.com/en-us/library/58wxa9w5(v=vs.100).aspx
You would need to install IIS to use the traditional IIS with inetmgr.
As already noted in the other answer, Visual Studio 2010 uses its own Development Server and not the IIS for your web application projects.
You'll need to set up IIS on your system as per instructions detailed here.
Once that's done, verify the installation by pointing your browser to http://localhost

Visual Studio 2013 always opens a website in IIS Express

I am having a website in ASP.Net 4.0 in VS2010 that works of IIS localhost and not IIS Express or VS local dev server. When I open this same website in VS 2013 ( File > Open Web Site...), it always uses IIS Express ( and not IIS) as in screen shot below.
Is there any way I could use the regular IIS ( not the express version) and also, can I change VS 2013 to show IIS websites and not IIS Express sites i.e. make VS 2013 use regular IIS?
If you run Visual Studio as an Administrator, it should let you access and open IIS Sites OR IIS Express Sites.
IIS Express is pretty much the same thing as IIS. The only major difference is that IIS Express does not have a configuration UI. You have to handle everything through the command line.

Developing in Visual Studio 2010 with the new IIS Express web server?

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?
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.
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.
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.
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.
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
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.
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.

Resources