Introducing IIS Express

Developers today build and test ASP.NET sites and applications using one of two web-servers:

  • The ASP.NET Development Server that comes built-into Visual Studio
  • The IIS Web Server that comes built-into Windows

Both of the above options have their pros and cons, and many ASP.NET developers have told us: “I wish I could have the ease of use of the ASP.NET Development Server, but still have all the power and features of IIS”.  Today I’m happy to announce a new, free option that we are enabling – IIS Express - that combines the best characteristics of both, and which will make it easier to build and run ASP.NET sites and applications.

IIS Express will work with VS 2010 and Visual Web Developer 2010 Express, will run on Windows XP and higher systems, does not require an administrator account, and does not require any code changes to use.  You will be able to take advantage of it with all types of ASP.NET applications, and it enables you to develop using a full IIS 7.x feature-set.

How Things Work Today

Before I get into the details of IIS Express, let’s first quickly review how the ASP.NET Development Server and IIS options work today.

ASP.NET Development Server

Visual Studio’s built-in ASP.NET Development Server (also known as “Cassini”) has the benefit of being light-weight and easy to quickly run.  It doesn’t listen on remote ports (which makes it easier to get approved for many corporate security environments), works even when you are running under a non-administrator account, and doesn’t require a separate installation step. 

The fact that it is so easy to get running is a huge positive of it – and the reason it is the default web-server used by ASP.NET projects in Visual Studio when you press F5 to run them:

image

The downside with the ASP.NET Developer Server, though, is that it does not support a full set of web-server features.  For example, it doesn’t support SSL, URL Rewriting Rules (like the SEO URL Rewrite Rules I blogged about here), Custom Security Settings, and other richer features now offered with IIS 7.

IIS Web Server

IIS is the other option developers use when running and testing their applications with Visual Studio.  You can configure a web project within Visual Studio to use IIS by right-clicking on the project and pulling up its properties (and then by clicking on the “Web” tab within the properties window)":

image

Using IIS as your development server allows you to take full advantage of all web-server features (SSL, URL Rewrite Rules, etc).  IIS is a full-fledged web-server – which means you’ll get an experience closer to what it will work like when you deploy the application on a production server.

The downside with using the IIS option today, though, is that some companies don’t allow full web-servers to be installed on developer machines. IIS also requires administrator account access to setup and debug projects.  Different versions of Windows also support different versions of IIS.  For example, if you are running on Windows XP you have to use the IIS 5.1 web-server that comes with it – which doesn’t support all the new features of IIS 7.x.  Configuring a web project within VS to use IIS also requires some extra installation and configuration steps.

IIS Express – The Best of Both Options

We have been working on a new flavor of IIS 7.x that is optimized for developer scenarios that we are calling “IIS Express”. We think it combines the ease of use of the ASP.NET Web Server with the full power of IIS.  Specifically:

  • It’s lightweight and easy to install (less than 10Mb download and a super quick install)
  • It does not require an administrator account to run/debug applications from Visual Studio
  • It enables a full web-server feature set – including SSL, URL Rewrite, Media Support, and all other IIS 7.x modules
  • It supports and enables the same extensibility model and web.config file settings that IIS 7.x support
  • It can be installed side-by-side with the full IIS web server as well as the ASP.NET Development Server (they do not conflict at all)
  • It works on Windows XP and higher operating systems – giving you a full IIS 7.x developer feature-set on all OS platforms

IIS Express (like the ASP.NET Development Server) can be quickly launched to run a site from a directory on disk.  It does not require any registration/configuration steps. This makes it really easy to launch and run for development scenarios.

VS 2010 Integration

We are enabling IIS Express so that it can be easily used with Visual Studio 2010. You’ll be able to configure VS 2010 to use it instead of the ASP.NET Web Server as the default web-server on ASP.NET Projects.  Like the ASP.NET Development Server today, you won’t need to register a site or virtual directory to use IIS Express. It will support the same usage-model as the ASP.NET Development Server today – just with more feature support.

When you press F5 to run an ASP.NET project, Visual Studio can automatically launch IIS Express and use it to run/debug the application (no extra configuration required).  Like the ASP.NET Web Server, IIS Express will show up in your task-bar tray when running:

image

You can right-click and click “exit” on the icon above to quickly shutdown IIS Express.  You can also right-click and pull up a list of all sites running with it, as well as the directory location and .NET versions they are running under:

image

Two cool things to notice above:

1) The “Test Site” we are running, as well as IIS Express itself, live under the c:\users\[username] folder on disk. This enables non-administrator usage of IIS Express and sites – and enables a bunch of scenarios not possible with the full IIS today (including the ability to run IIS Express in both a locked-down enterprise environment as well as a locked-down school shared computer environment).

2) The “Test Site” we are running above using IIS Express supports both HTTP and HTTPS access.  IIS Express automatically installs a “self-signed certificate” and enables URL ACLs and SSL Certificates for ports so that developers (running as non-administrators on a machine) can use SSL without needing to elevate their accounts or setup any additional configuration.  This enables you to configure secure pages within your applications (like Logon forms) for SSL and run/test them at development time just like they’ll work on your real web-server.

IIS 7.x Feature Set

IIS Express is as easy to run and use as the ASP.NET Web Server you are familiar with today.  But because IIS Express is based on the IIS 7x codebase, you have a full web-server feature-set that you can use.  This means you can build and run your applications just they’ll work on a real production web-server.  In addition to scenarios like SSL, you can take advantage of the IIS 7.x URL Rewriter module, Media Extensions, Dynamic Compression, Advanced Logging, Custom Security and other rich modules now available.

In addition to supporting ASP.NET, IIS Express also supports Classic ASP and other file-types and extensions supported by IIS – which also makes it ideal for sites that combine a variety of different technologies.

Summary

We think IIS Express makes it even easier to build, run and test web applications.  It works with all versions of ASP.NET and supports all ASP.NET application types (including obviously ASP.NET Web Forms and ASP.NET MVC applications).  Best of all – you do not need to change any code to take advantage of it.  You’ll be able to optionally use it with all your current projects today.

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.  Future versions of Visual Studio will then ship with this functionality built-in.

Hope this helps,

Scott

P.S. In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu

203 Comments

  • That's wonderful, best of both worlds indeed. Thanks Scott

  • This is great!

    So let me clarify - IIS Express will not only allow you to enable SSL scenarios just like the full IIS, but will also install a certificate for you to test with? Or did I read that wrong? Would this also then allow you to test WCF transport security scenarios with a Silverlight client for example?

  • This looks awesome! I can't wait.

  • @Steve,

    >>>>>>>> So let me clarify - IIS Express will not only allow you to enable SSL scenarios just like the full IIS, but will also install a certificate for you to test with? Or did I read that wrong? Would this also then allow you to test WCF transport security scenarios with a Silverlight client for example?

    Yep - that is correct. That should allow you to test WCF transport security scenarios with Silverlight.

    Hope this helps,

    Scott

  • Will it be embedabble like webserver.codeplex.com? I am using this one currently inside a Windows Forms application.

  • Wow this is great!! so what are the negative points ( if any ) ?

  • Wow is all i can say. I can't wait to use this for testing local sites in browser inside a VM etc.

    Microsoft seems to be doing the opposite of a lot of its competitors lately (and its own past behavior), and really listening and solving real world customer problems.

    Great work

  • Good stuff!

    Can it also leverage CGI etc to run stuff like PHP, Perl, etc?

  • @UWE,

    >>>>>>>> Will it be embedabble like webserver.codeplex.com? I am using this one currently inside a Windows Forms application.

    The default implementation is designed to run in a separate process. You could, though, probably use the extensibility APIs to host it within your own process.

    Hope this helps,

    Scott

  • @Mark,

    >>>>>>>>>> Wow this is great!! so what are the negative points ( if any ) ?

    Hopefully not many. :-)  We've tried to design it to be pretty brain-dead simple to use and meet all common requirements.

    Hope this helps,

    Scott

  • @M,

    >>>>>>>> Can it also leverage CGI etc to run stuff like PHP, Perl, etc?

    Yep - you can use all of those. PHP support is actually provided by us (via the FastCGI module that is fully supported by IIS Express).

    Hope this helps,

    Scott

  • When do you expect to release the first (beta) version of IIS Express ?

  • Will this support "Classic" for "Managed pipeline Mode" or some IIS6-like features?
    I know a dozen developers still stuck to Windows 2003 and would really to see this compatible with their deployment environment.
    Still agree it soon becomes better to just use the IIS one that comes with Windows.

    Great to see some IIS7 love coming to Windows XP even that I no longer have it on any of my machines :)

  • Would love to see something like tomcat that could be redistributed with apps and get away from all the nonsense required to ship ASP.NET based software packages. So much potential with this type of thing, but "express" in the name makes me wonder if this is just a toy for developers.

  • Is it xcopy-deployable? I have a build server on which I need to spin up a website to run unit/scenario tests.

    Secondly, is the self-signed certificate trusted by IE/FF, or will I get warnings?

  • @Tony,

    >>>>>>> When do you expect to release the first (beta) version of IIS Express ?

    The beta is pretty close - I will be blogging about more features (besides IIS Express) that will be included in the beta soon as well.

    Hope this helps,

    Scott

  • Hi Scott,
    This is cool and it would be a great tool for the ASP.NET developers toolbox.

  • Hey Scott, this is great news! I just recently was griping about the fact that the web.config in MVC projects need duplicate nodes for certain values (such as HttpModules) because Cassini still works like an IIS6-era server.

    Question: will IIS Express be launchable via the command line? Our group is currently using a batch file which launch multiple cassini instances (say a website and one or more WCF applications) on different ports, to simulate separate websites that need to communicate with each other. We had to write a wrapper executable to do this with Cassini, it'd be great if IIS Express paid a bit more attention to CLI scenarios.

  • Any URL running with ASP.NET Development Server cannot be accessed from other machines. Now, can we access sites or services from another machine when running on IIS Express?

    Good tool.

    - Rohan G

  • Hi Scott,

    Does it support VS 2008?

    Thank you!

  • @Mohamed,

    >>>>>>>> Will this support "Classic" for "Managed pipeline Mode" or some IIS6-like features?

    Yes - this will support both the integrated pipeline and classic modes.

    >>>>>>>> I know a dozen developers still stuck to Windows 2003 and would really to see this compatible with their deployment environment.

    Yes - you'll be able to use this on Windows 2003

    Hope this helps,

    Scott

  • Gr8 News ! That will surely help reduce/eliminate the "3rd Production Support Kind'a Environment" needed for Product Development apart from Dev and Prod ones.One thought which needs clarification though is if it will support/simulate remote debug scenario where client exes can request services from Application Web Services hosted off of it and resident on local box ?

    Thx again !

  • @Jesse,

    >>>>>> Would love to see something like tomcat that could be redistributed with apps and get away from all the nonsense required to ship ASP.NET based software packages. So much potential with this type of thing, but "express" in the name makes me wonder if this is just a toy for developers.

    This will include a redistributable package that should enable you to integrate it with apps you distribute.

    Hope this helps,

    Scott

  • @RichB,

    >>>>>>> Is it xcopy-deployable? I have a build server on which I need to spin up a website to run unit/scenario tests.

    There is a setup that you can run on your build-server (without having to install VS). This should enable unit/scenario tests.

    >>>>>>>> Secondly, is the self-signed certificate trusted by IE/FF, or will I get warnings?

    By default the cert will still show warnings in IE when you first use it. I believe you can configure the cert, though, to be known and not display errors. We don't do this by default for security reasons.

    Hope this helps,

    Scott

  • Will i be able to start websites via command line? It means VS.NET doesn't automatically shutdown the server when I get latest version etc.

  • This is great. I have had problem explaining my boss why I need Admin account. This will help a lot. Can't wait.

  • Big question - when will it be available?

  • Will it be possible to deploy it as redistributable with an own application? Any very very important - will there be another stupid connection limit 10 to max 40 like on XP IIS (aka adsutil set w3svc/MaxConnections 40)?

  • scott you just made my day :)
    we've got a server 2003 box at one of out sites and ive been worried about getting .net4/mvc2 on there
    also there are so many great features in iis7 thats been unavailable but thats to this...
    awesome news :D

  • I wish SQL Express will has such easy installation :D

  • The Azure development tools for VS2010 require IIS to be setup. This is not ideal when you are running VS2010 on your personal desktop machine. Can IIS Express work with Azure development tools?

  • We use 'Cassini Web Server' in absence of IIS, but Cassini is not much reliable/stable. Can we use this as a complete alternate of IIS or Cassini?

  • Can it do
    - WAS with MSQM?
    - AppFabric hosting?

  • Nice article. Thanks for the information

  • Wow! Looking forward to this release!

  • This means we could install Smooth Streaming Handler on it also, and WebDav extensions?

  • Thanks, that's what i've been waiting for a long time.
    What about limitations? Like in WebDev server - connect only from local machine? Or limitations only in license?

  • Will it be portable (e.g. I install it on flash drive and run demo on laptop of my boss)?

  • Awesome news, will it support edit-and-continue?

  • Is it restricted to local machine connections only?

  • Great news !

    I have a questions. Does it support Integrated Mode right ?

    I have to use IIS Web Server for developing my product because I'm using some features of Integrated Mode which doesn't support in ASP.NET Development Server

    Thanks.

  • Will it run together with VS2008 ?

  • Scott, could you clarify the differences/limitations of this express edition as compared to the full version of IIS7 that comes with Windows?

  • Scott,

    What about VS2008 support?


    George J.

  • I am really tired of having to look for the differences between product x Express and product x Home/Professional/Ultimate/whatever.

    There are so many free web servers out there so just one thing: Give the full product - everything else does not make sense.

  • Scott, thats cool feature. Is there any download link to test this?

  • This is great news Scott! No more introducing pointless code to work around the limitations of Cassini... hurrah!

    Quick question about one thing that wasn't explicitly mentioned: Will IIS Express support the use of host headers to filter/direct requests to different sites?

  • A common scenario is a dev wanting to show someone in QA a project, but the built in webdev locks down to localhost requests only, and IIS has all of the problems you mentioned ..., so it's difficult for the dev to show a demo, etc.

  • Is that a similar setup to the devfabric the azure dev tools use? Hostable web core plus some icing?

  • It would be great if there was an option to allow remote access (which you can't do with Cassini). For instance, some devs have a need to test their sites on mobile internet enabled devices such as iPads or Smart Phones.

    I know I can deploy to a real IIS and test it that way, but it gets annoying deploying to IIS, finding a small CSS bug, deploying again, finding another small CSS/HTML bug, deploying again, finding another small JavaScript bug, deploying again, and so on and so on and so on.

    So any chance you'll add an option for remote access?

  • Yay! This is exactly what we have been wanting.

  • Hi Scott,

    Can IIS express be used in place of IIS 7 in the Azure development fabric?

    Thanks,

    Raj Kaimal

  • Hi Scott!

    Great news.

    Two feature-questions:
    1) Will IIS Express be restricted to handle requests from the localhost only like it is the case with Cassini?

    2) In our development system we map shared resources (scripts, CSS files, etc) via virtual directory into the actual web-applications. This means, we have to configure those in the IIS applicationhost.config because the web.cofnig does not support the configuration of virtual directories. Will this be possible with IIS Express, either in the web.config or via an additional project-local config file?

    Thanks, Michael

  • I'm happy using IIS 7 on a windows 7 box. Not sure I see the reason to use this product. IIS is pretty damn easy to set-up. Additionally, developers need to be just as versed in IIS as system admins. Introducing a light version, to me introduces more issues.

  • A must awaited and really needy one for developers who are still using WinXP/2k3 system as development machine, so that we can develop applications for IIS 7.x. Really microsoft knows developers mind. Nice article scott. very informative..

  • Cool,

    New development, new challanges....

  • As developers, what we really need is a web server that can load a website immediately when we run it. I don't care about compilation time, but the initial load time of 30+ seconds for a big site is just very annoying (even if I am working on a solid state drive and my ASP.NET temporary folder is on a RAMDisk). I would want a dev web server with all the features of IIS, but where development could be as instantaneous as developing in interpreted languages. I am talking about a solution of 20+ projects. Is this something the web server could do for us poor developers? This is my biggest complain about ASP.NET right now, I want to be able to test a change quickly after I compile the solution and run the site.

    Thanks,

  • Previously I've bundled Apache with a product and a frequent question from users is "how do I keep it up-to-date with the latest security fixes?"

    Will there be an easy way for users to apply patches with IIS Express? Suppose I'm a user with three different products installed on my server, each has an embedded IIS Express - can I just run Windows Update and have it find and patch all the embedded copies of IIS Express? That would be ideal, obviously!

  • Can we install SharePoint Foundation 2010 on IIS Express or does it require a full IIS install?

  • Hi Scott,
    Was wondering if this will work on vista home basic/win 7 home basic since those do not have IIS by default. Will IIS express work on them?

  • Hi Scott

    This sounds great, are there any special licensing considerations we should be aware of?

  • Any chance of integration with VS2008?

    Timeline for our upgrade to VS2010 isn't likely to be until Q4, or Q1 next year -- and this would really be helpful to have prior to then.

    THanks.

  • If the express version of IIS 7 can run on XP does this mean we'll also get a full version of IIS 7 that can run on 2003 Server?

  • Sorry to ask the same question as another commenter, but will sites be accessible from other machines? When need to test my site in different versions of IE (VPC images) or share ideas with other developers or testers, I have to deploy to IIS so another machine can see the site.

    Love the fact that you are separating the OS version from the IIS version for testing. I'm assuming there will be no IIS 6 version of this, but going forward (when IIS 8 comes out), it would be nice to develop against the same version of IIS you will be deploying to.

  • Sounds great. One other advantage that ASP.NET Development Server has over IIS is that it supports "Edit and Continue". Will IIS Express support Edit and Continue?

  • This looks to be awesome tool for ASP.NET devs, but not sure whether you mentioned the proposed release date. Please let us know.
    Thanks!

  • Great news! Thanks Scott! I would like to ask same as previous user: Is there any chance for integrating with VS.NET 2008 or will definitely remain only for VS2010?

    Thank youuu!

  • Will it listen on external ports? Will I be able to access the dev site with http://:8080/? Will I be able to use Fiddler2? Since it's for dev, will it have any neat "dev" features like request/response inspecting?

    I am excited! I can't use IIS at my current place so this will be huge for my team.

  • Hi Scott,
    Will IIS Express support Edit and Continue?

  • Does IIS Express support WAS for non-HTTP applications? For example, will it host a WCF service with a net.tcp binding?

  • Great news! Will it support x64 and x32 application pools both?

  • So will this support all versions of windows xp/ 7, including the home versions? If so that is great news - I was about to write a blog post moaning about how I couldn't install any form of IIS on the windows xp home OS that came installed on my netbook, but if this supports the crippled versions of windows, that is great news :)

  • Will the use of IIS Express have any bearing on whether the machine can still be used for SharePoint development (i.e. assuming you have a developer install of SP2010 on Windows 7). Judging by the explanation, I don't think it will be an issue but grateful for some form of confirmation.

  • So where do we get it from?

  • @ScottGu

    Will it support identity impersonation for the IIS Express process? When I run Cassini it just runs as my domain user account. Many times, it would be nice to run this as alternate domain user with different permissions. We currently use full blown IIS to get around this by setting the identity on the app pool.

    thanks

  • Am I missing the download link?

  • How about open sourcing this? Cassini is open - feels like ms is taking a big step backwards here.

  • Hey Scott -

    I am very grateful that you guys are developing this. The existing development server has been a sore point for us for quite some time.

    I feel compelled to provide some general feedback on this announcment. This may seem like a minor point (and may seem like looking a gift horse in the mouth) but I thought I should let you know that I was very excited when I read this post and was looking forward to using this immediately but was very dissappointed when I got to the last paragraph and saw that you are not releasing this today but will be "very shortly." I began wondering why you would have felt the need to announce this now vs. waiting until we could actually download and use the beta or at least be more specific on its availability. I, for one, would have been much happier to get the announcement at the same time as availability.

    Thanks again for all the great work you and your team do.

  • THANK YOU FOR SUPPORTING WINDOWS XP UNLIKE THE IE9 TEAM AND WINDOWS LIVE DIVISIONS.

  • @Rohan,

    >>>>>>>> Any URL running with ASP.NET Development Server cannot be accessed from other machines. Now, can we access sites or services from another machine when running on IIS Express?

    By default for security reasons IIS Express only listens for local requests - but you can modify this to also allow remote requests.

    Hope this helps,

    Scott

  • @Victor,

    >>>>>>> Does it support VS 2008?

    You will be able to use it with VS 2008 if you launch it from the command-line. We won't have integrated tooling support for it except with VS 2010.

    Hope this helps,

    Scott

  • @Anil,

    >>>>>>> One thought which needs clarification though is if it will support/simulate remote debug scenario where client exes can request services from Application Web Services hosted off of it and resident on local box ?

    I believe we support that. I'm not 100% sure but I believe so.

    Hope this helps,

    Scott

  • @Betty,

    >>>>>>> Will i be able to start websites via command line? It means VS.NET doesn't automatically shutdown the server when I get latest version etc.

    Yes - launching from the command line will be fully supported. If you look at my response to Troy above I documented how to-do this.

    Hope this helps,

    Scott

  • @Andy,

    >>>>>>> Big question - when will it be available?

    The first beta will be out very shortly. Keep an eye on my blog for more details.

    Thanks,

    Scott

  • @Otto,

    >>>>>>>>>> Will it be possible to deploy it as redistributable with an own application? Any very very important - will there be another stupid connection limit 10 to max 40 like on XP IIS (aka adsutil set w3svc/MaxConnections 40)?

    Yes - you can redistribute IIS Express with your applications. There are no connection limits.

    Hope this helps,

    Scott

  • @Jonas,

    >>>>>>>> The Azure development tools for VS2010 require IIS to be setup. This is not ideal when you are running VS2010 on your personal desktop machine. Can IIS Express work with Azure development tools?

    We don't have Azure/IIS Express integration just yet. It is something we are planning to look at for the future though.

    Thanks,

    Scott

  • @Naveen,

    >>>>>>>> We use 'Cassini Web Server' in absence of IIS, but Cassini is not much reliable/stable. Can we use this as a complete alternate of IIS or Cassini?

    You'll be able to use this as a replacement for Cassini. It is the same code-base as IIS so you won't see differences when you deploy to a web-server.

    Hope this helps,

    Scott

  • @Dennis,

    >>>>>>> - WAS with MSQM?
    >>>>>>> - AppFabric hosting?

    We don't support this just yet. It is something we are looking at for the future though.

    Hope this helps,

    Scott

  • @Peter,

    >>>>>>>>>> This means we could install Smooth Streaming Handler on it also, and WebDav extensions?

    Yes - you will be able to use pretty much any IIS Extension or Module.

    Hope this helps,

    Scott

  • @Alexey,

    >>>>>>> What about limitations? Like in WebDev server - connect only from local machine? Or limitations only in license?

    By default it only accepts local requests. You can configure it to also enable remote requests.

    Hope this helps,

    Scott

  • @Aen,

    >>>>>>> Will it be portable (e.g. I install it on flash drive and run demo on laptop of my boss)?

    IIS Express isn't xcopyable itself (there is a small setup for it) - but the applications you build with it are xcopyable.

    Hope this helps,

    Scott

  • Are there likely to be any licensing or functional problems with running IIS Express on a Server 2003 machine to host production IIS 7 web sites?

  • @Paul,

    >>>>>>> Awesome news, will it support edit-and-continue?

    Edit and Continue isn't supported just yet - but is something we are looking at.

    Hope this helps,

    Scott

  • @codingvn,

    >>>>>>>>> I have a questions. Does it support Integrated Mode right ? I have to use IIS Web Server for developing my product because I'm using some features of Integrated Mode which doesn't support in ASP.NET Development Server

    Yes - it fully supports integrated mode.

    Hope this helps,

    Scott

  • @Martin,

    >>>>>> Will it run together with VS2008 ?

    You can use it with VS 2008 - although there won't be integrated IDE support for it. You'd need to launch the web-server from the command-line and then use it from VS 2008.

    Hope this helps,

    Scott

  • This is really great! It will help very much because we can now test like in the production environment! Thanks!

  • @murtaza110,

    >>>>>>>>> Scott, could you clarify the differences/limitations of this express edition as compared to the full version of IIS7 that comes with Windows?

    The core code is the same across both. The main difference is that IIS Express launches its worker process from the command-line or from VS (or another tool). The full IIS has an on-demand worker process model and activation system and can bring up and shutdown worker processes on demand.

    Hope this helps,

    Scott

  • @George,

    >>>>>>>> What about VS2008 support?

    You can use it with VS 2008 - although there won't be integrated IDE support for it. You'd need to launch the web-server from the command-line and then use it from VS 2008.

    Hope this helps,

    Scott

  • @Dima,

    >>>>>>>> Scott, thats cool feature. Is there any download link to test this?

    The download isn't available just yet - stay tuned for my blog for more details on when it is out (and other things that will come with it).

    Thanks,

    Scott

  • @adamdc,

    >>>>>>> Quick question about one thing that wasn't explicitly mentioned: Will IIS Express support the use of host headers to filter/direct requests to different sites?

    I believe you'll be able to-do this (you'll need to setup and configure it though).

    Hope this helps,

    Scott

  • @aaron,

    >>>>>> A common scenario is a dev wanting to show someone in QA a project, but the built in webdev locks down to localhost requests only, and IIS has all of the problems you mentioned ..., so it's difficult for the dev to show a demo, etc.

    By default IIS Express only handles local requests - but you can optionally configure it to enable remote requests as well.

    Hope this helps,

    Scott

  • @Dominic,

    >>>>>>>>>>> It would be great if there was an option to allow remote access (which you can't do with Cassini). For instance, some devs have a need to test their sites on mobile internet enabled devices such as iPads or Smart Phones. I know I can deploy to a real IIS and test it that way, but it gets annoying deploying to IIS, finding a small CSS bug, deploying again, finding another small CSS/HTML bug, deploying again, finding another small JavaScript bug, deploying again, and so on and so on and so on. So any chance you'll add an option for remote access?

    By default IIS Express only handles local requests - but you can optionally configure it to enable remote requests as well.

    Hope this helps,

    Scott

  • @Michael,

    >>>>>>>> In our development system we map shared resources (scripts, CSS files, etc) via virtual directory into the actual web-applications. This means, we have to configure those in the IIS applicationhost.config because the web.cofnig does not support the configuration of virtual directories. Will this be possible with IIS Express, either in the web.config or via an additional project-local config file?

    Yes - you should be able to enable this.

    Hope this helps,

    Scott

  • @Page Brooks,

    >>>>>>>> Would IIS Express support the scenario where I have two distinct web projects in the same solution but I want them to run under the same website in different virtual directories? In other words, suppose I have Web1 and Web2 and I wanted to run them under IIS Express as http://localhost:8080/web1 and http://localhost:8080/web2. A scenario like this would help support a cookie sharing scenario.

    Yes - I believe you should be able to enable this. You'll need to configure the vroots within the applicationhost.config file of IIS Express - but once you do that it should work the way you want.

    Hope this helps,

    Scott

  • @EtienneT,

    >>>>>>>>> As developers, what we really need is a web server that can load a website immediately when we run it. I don't care about compilation time, but the initial load time of 30+ seconds for a big site is just very annoying (even if I am working on a solid state drive and my ASP.NET temporary folder is on a RAMDisk). I would want a dev web server with all the features of IIS, but where development could be as instantaneous as developing in interpreted languages. I am talking about a solution of 20+ projects. Is this something the web server could do for us poor developers? This is my biggest complain about ASP.NET right now, I want to be able to test a change quickly after I compile the solution and run the site.

    If you send me email (scottgu@microsoft.com) we can help understand why you are seeing 30+ second startup. You shouldn't be seeing startup times that long.

    Hope this helps,

    Scott

  • @Daniel,

    >>>>>>>>> Will there be an easy way for users to apply patches with IIS Express? Suppose I'm a user with three different products installed on my server, each has an embedded IIS Express - can I just run Windows Update and have it find and patch all the embedded copies of IIS Express? That would be ideal, obviously!

    For production server scenarios you should use the full IIS - in which case you can just using Windows Update to keep it fully patched.

    For IIS Express we'll release patches (and I think via MU) when issues arise. Note that one of the reasons we don't handle remote requests by default is to help reduce the attack surface and avoid cases where lots of unpatched listeners are out there in the wild.

    Hope this helps,

    Scott

  • @Tim,

    >>>>>>>> Can we install SharePoint Foundation 2010 on IIS Express or does it require a full IIS install?

    Unfortunately we don't support SharePoint with IIS Express. You need the full IIS for that.

    Sorry!

    Scott

  • @Tag,

    >>>>>>>>> Was wondering if this will work on vista home basic/win 7 home basic since those do not have IIS by default. Will IIS express work on them?

    Yes - it will fully work on Vista/Win7 Home and Basic.

    Hope this helps,

    Scott

  • @Matt,

    >>>>>>>>> This sounds great, are there any special licensing considerations we should be aware of?

    I don't believe there are any special licensing terms.

    Hope this helps,

    Scott

  • @davidmclusa,

    >>>>>>>> Any chance of integration with VS2008?

    You'll be able to use a command-line to launch IIS Express and then use it with VS 2008. We unfortunately won't have integrated IDE support for IIS Express with VS 2008 though.

    Sorry!

    Scott

  • @Mike,

    >>>>>>>>> Will IIS Express support host header options? For example, I have three web applications and two WinForms applications that all make use of appserver01/services.asmx and appserver02/services.svc. I would like to be able to run/debug all of these apps on one machine. Currently this requires not only editing my hosts file but using full-blown IIS 7 which is difficult in a shop that is still on WinXP (my at-home debugging experience is far better than at work). I think it would be a tremendous boon if IIS Express supported custom host headers.

    Yes - I believe this will work for you. You'll need to register this within the applicationhost.config, but then it will work.

    Hope this helps,

    Scott

  • @angiel,

    >>>>>>>>>> If the express version of IIS 7 can run on XP does this mean we'll also get a full version of IIS 7 that can run on 2003 Server?

    No - unfortunately we won't have a full version of IIS 7 running on 2003 server.

    Sorry!

    Scott

  • @Michael,

    >>>>>>>>> Sorry to ask the same question as another commenter, but will sites be accessible from other machines? When need to test my site in different versions of IE (VPC images) or share ideas with other developers or testers, I have to deploy to IIS so another machine can see the site.

    By default IIS Express only handles local requests - but you can optionally configure it to enable remote requests as well.

    Hope this helps,

    Scott

  • @Tim,

    >>>>>>>>>> Sounds great. One other advantage that ASP.NET Development Server has over IIS is that it supports "Edit and Continue". Will IIS Express support Edit and Continue?

    We don't support edit and continue just yet. But it is something we are looking at.

    Hope this helps,

    Scott

  • @Josh,

    >>>>>>>> Does IIS Express support WAS for non-HTTP applications? For example, will it host a WCF service with a net.tcp binding?

    I'm not 100% sure. But I don't think we support non-HTTP bindings with IIS Express though.

    Hope this helps,

    Scott

  • @Andrey,

    >>>>>>>> Great news! Will it support x64 and x32 application pools both?

    The first beta will only ship 32-bit binaries - but it will work on x64 systems.

    Hope this helps,

    Scott

  • @Rick Hurst,

    >>>>>>>> So will this support all versions of windows xp/ 7, including the home versions? If so that is great news - I was about to write a blog post moaning about how I couldn't install any form of IIS on the windows xp home OS that came installed on my netbook, but if this supports the crippled versions of windows, that is great news :)

    Yes - this will support all versions including the home editions.

    Hope this helps,

    Scott

  • @PilotBob,

    >>>>>>>> We have a solution that has multiple ASP.Net applications. We can't use cassini since we need to create virtual directories (at dev time) in the application folder to point to the sub-applications. Is this possible to do with IIS express?

    Yes - you'll be able to do this with IIS Express in a nice way.

    Hope this helps,

    Scott

  • @Simon,

    >>>>>>>> Will the use of IIS Express have any bearing on whether the machine can still be used for SharePoint development (i.e. assuming you have a developer install of SP2010 on Windows 7). Judging by the explanation, I don't think it will be an issue but grateful for some form of confirmation.

    You can't use IIS Express for SharePoint development. But installing IIS Express on a machine won't preclude you from doing SharePoint development with the full IIS.

    Hope this helps,

    Scott

  • @bulldurham,

    >>>>>>> I feel compelled to provide some general feedback on this announcment. This may seem like a minor point (and may seem like looking a gift horse in the mouth) but I thought I should let you know that I was very excited when I read this post and was looking forward to using this immediately but was very dissappointed when I got to the last paragraph and saw that you are not releasing this today but will be "very shortly." I began wondering why you would have felt the need to announce this now vs. waiting until we could actually download and use the beta or at least be more specific on its availability. I, for one, would have been much happier to get the announcement at the same time as availability.

    Sorry for the delay on the download link. IIS Express is one of several components we are going to be releasing shortly. Rather than do one giant announcement that we thought might overwealm people I am breaking them up into a few blog posts leading up to the release. Stayed tuned for more details and then the actual download links.

    Hope this helps,

    Scott

  • Great news!!!
    You save me, beacuse I want to develop a DotNetNuke portal, but the machine (netbook) has Windows XP Home (wo IIS), so I didn't have an easy workaround it.
    Also, this will make me easy to move between computers!

    Thx for your work!

  • Wow! Great news!!!

  • Very nice :-)

    Is this redistributable, and if so, what are the chances of allowing it to host SQL Server Compact Edition so that we can deploy LOB Silverlight apps that are truly off-line?

    Thanks,
    David

  • wow great news, im very excited about this tool! And also about you mentioning that this is one of several components to be released soon. What could these other components be, if there at the calibre of IIS Express... WOW!

  • thanks for all your answers. very happy about all the good news. iis express sounds just like the
    "simple,flexible and full compatible asp.net web server for small web apps" I was waiting for. thanks to all your effort.

  • When will you decouple IIS from the operating system so that you could run IIS7.5 on Windows Server 2008 without having to get 2008R2. It sucks having to upgrade the OS just to upgrade the web server.

  • Flexible and makes work easy... Thanks for the Hard work !!!..

  • Great news ASP.NET Team :)

    Question: If IIS Express will be baked into future versions of VS2010/VS.Next ... what will happen to Cassini? Will this mean there will be _three_ options to choose from (instead of IIS Express replacing Cassini). If that's the case, what's the reason someone would want to use Cassini over IIS Express? I can sorta understand why someone might want to use IIS7 over IIS Express ... sorta .... but would love to see a reason for that .. assuming there's no issues with computers being locked down by IT dept/school rules, etc.

    Thanks Guru Gu :)

  • What is the configuration experience with using all the IIS7.x supported stuff?
    Is there going to be a GUI for configuring all the goodness like iis7.x or is it config kung-fu?

  • What no SharePoint Foundation? :(

  • This is really going to help in testing ADFS 2.0 based applications. I has been very difficult to test federation based secure token services outside of IIS. Thanks! Look forward to the release.

  • It's Great work!
    I'm forward to using it.
    Thx for your effort!

  • I've been waiting for this a loooooooooooooooooooooooooooooooooooooooooooong time (XP user!).

    I can't thank you enough!

  • >> >> virutal-dirs in web.cofnig

    >> Yes - you should be able to enable this.

    Thanks, Scott!

    Michael

  • Haven't read through every comment, but wanted to know if this is going to be portable or not?

  • Its a great news. Now windows xp users like me can get the features of IIS 7.

  • Can IIS Express be bundled with an existing Application? or is it ment only for Development users?

  • Any reason for not using it in production?

    We have an asp.net app running on laptops. We were forced to buy higher SKU in the past just to have IIS on it (including XP Pro, Vista Business, 7 Business). Oh, all the money...

  • This is fantastic news - thanks Scott. Bring on the beta!

  • This is off-topic but what blogging engine is this? The blog designers need to make it possible for the author's replies to be adjacent to the comment -- is within the same 'box' element too much to ask? -- to which he is replying. It's a huge time-waster to have to scroll down to see if the Gu responded to a particular question.

  • We are using Web Deployment Tool but are forced to run Visual Studio as Non-admins, and this makes it hard. Will IIS Express mean that Web Deployment Tool projects in VS will work without being Local Admin?

  • Scott this looks like a great development enhancement. Does it have HTTP restrictions so people don't try to use this to replace IIS 6 or XP's 5.1. I can see people in the forums asking, hey can I use this for a regular web server and not just for development? Whats the plan for adding additional support for new modules that are released out of band? Like IIS 7, can we control which modules are loaded through a traditional config. I'm excited to see this from an IIS perspective. :)

  • Thanks Scott. This is really useful.

  • I know you talked about virtual directories for sub applications already, but I wanted to make sure this specific scenario is covered. Will you be able to run multiple apps off the same port? We do a lot of WCF REST services that are called from a separate web app, directly from JavaScript. With cassini, it doesn't work because the apps are on different ports, and the browser cross site scripting security blocks it. It'd be great to have 2 or more apps running on localhost on the same port.

  • Nice. Will this be included within microsoft web platform installer?

  • Cheers, this is what I have been expecting!

    One more question, could you make it work with VS 2008?

  • Awesome this sounds great, will be trying it tomorrow at work.

  • Sounds great. We may be able to remove the need to have IIS installed on our development machines at all.

    What about isapi filters. We currently use a product from Helicon that is installed as an isapi filter on our web sites. This is one of the main drivers behind the developers using IIS on XP for the development and testing.

    Will IIS Express support isapi filters as well?

  • I'm excited, Let me start using this right now. Thanks for great work. Sandesh

  • Nice thing waiting for its beta version.

  • Nice thing .when will be first beta version relised???

  • By the sounds of it this should replace Cassini very well. I've always needed virtual directories, so IIS was the only option... I'm glad there will be an alternate solution now.

    Very nice, I can't wait for the beta, I'm ready to start testing now:)

  • Scott,

    This looks awesome, and the timing is absolutely perfect for my company. Quick question: will IIS express run in a headless environment (i.e. without anyone logged on)?

    Thanks,
    Lee

  • Will this be integrated into Expression Web, maybe as a SP upgrade. Expression Web uses the cassini server also and I am an XP pro user that has IIS 5 that cannot be upgraded to II7

  • good news! i have no problem anymore in my server development. Is IIS Express a good testing tool for Silverlight and RIA Services?

    When this will be available? Can't wait!!!

  • @Sam Meacham,

    >>>>>>>>>> I know you talked about virtual directories for sub applications already, but I wanted to make sure this specific scenario is covered. Will you be able to run multiple apps off the same port? We do a lot of WCF REST services that are called from a separate web app, directly from JavaScript. With cassini, it doesn't work because the apps are on different ports, and the browser cross site scripting security blocks it. It'd be great to have 2 or more apps running on localhost on the same port.

    This is definitely supported with the IIS Express VS integration work we’re doing.

    Hope this helps,

    Scott

  • I hope you'll think about ease of production of fully desktop-based web application.
    such as IIS attachment on installer file and automatic setup on target machine and so on...

  • Looks like MS is now hearing every developer's voice. Don't know why but while reading this post, I remember PWS that we used to use while developing application in classic asp. Awesome stuff ! keep it up!

  • That is a fantastic idea!

  • This has to be THE best offering from Microsoft. I've been waiting for this for years and it finally looks like it's going to arrive. Much appreciated!

  • Scott,

    Great to hear about the upcoming features of IIS Express. One thing I could not clearly tell from reading the article and question/answer posts from others is what limitations does IIS Express have compared to the full IIS? The only post I noticed to this regard mentioned that SharePoint is not supported, which makes perfect sense.

    Can you expand on other limitations? (i. e. Will there be a concurrent connection limitation? Does it only work on Tuesdays? etc)


  • So I can build a production website that I run in my data center and also take the same code base and put it on disconnected clients to work offline (as long as it is designed to work offline like database, etc.,)? That would be absolutely AWESOME.

  • Will there be plans on supporting VS 2008 with IIS Express or will it only be integrated with VS 2010 and beyond?

  • sounds wonderful and utterly useless because the URL to download this mythical beast is no where to be found. i'm sure it'll be great when it shows up but i just can't get excited about vaporware that i cannot test drive.

  • Really Awesome, Great thinking ahead

    Keep Going Forward :) :) :)

  • IIS Express sounds awesome, and just what we need! I work in an environment where the IS department likes to lock down practically everything. Having this would help out tremendously. You stated that the beta will be available soon, but how soon is "soon"?

  • can i download it right now

  • Where do I get IIS Express?

  • What is about the UserCals for Users for the hostsystem.
    Xp SP1 LIMIT 10 Connections XPsp3 LIMITs Less ...
    You always need this by running an Webserver or is There anyting new

  • Thanks Scott for the update. We've got a box sitting in the office that used to be used as a nightly build server, but because IIS on xp is too old, it can't run our CMS anymore... maybe IIS express will give it another lease of life.

  • Using Windows Vista and Windows 7 you can install IIS from the feature list. Is that IIS the full version or worse than IIS Express? I saw that you can also install it on lower editions like Home Basic. Or will this Express version later replace the full IIS in Client Operating Systems (in newer Windows versions)?

  • So, given IIS Express, and SQL CE 4, a developer could in theory create a standalone app hosted locally on a netbook running Win7 Starter?

    Also, will it generally support AJAX?

  • Sounds like a great product. I use IIS7 URL rewriting a lot for SEO friendly URLs and content managed sites so it will give me the greatest pleasure to be able to just hit F5 and watch it go.

    Any idea when the release date is likely to be?

  • Hi Scott

    I need to clarify usages of IIS Express:
    Is IIS Express designed only for development or it can be used on production to provide Intranet/Extranet Web applications? Do you recommend using IIS instead IIS Express in production environment?
    Is the integrated SSL certificate can be replaced by a new certificate?

    Thanks.
    Regards.
    Thierry, ASP.Net MVC follower ;o)

  • Wonderful, for local development

  • Wonderful, too good for local development

  • That's really cool because we don't have to pay for Windows 7 professional license just to use IIS7 features !

    Thank you very much for releasing this.

  • Does the initial release integrate with VS 2010?

  • I've downloaded and installed WebMatrix. So how do I configure VS2010 to start IIS Express instead of Cassini?

  • Can i run my own personal website on this? what are the limitations? i know older IIS had 5 concurrent users limit .. I have a pet project that I put on hold because of lack of a solid web server. Essentially, I want to give the user a way to share their photos with a few clicks right from their laptops... Will this help me?

  • @scottgu: By default IIS Express only handles local requests - but you can optionally configure it to enable remote requests as well.

    How? Is there an easy way to do that? It's not immediately obvious....

  • Just wondering:

    If I'm developing on XP, with VS 2008, and using IIS Express, could I get WSS 3 to load? I am so sick of needing a server/virtual environment to do my SharePoint development.

  • Scott, When is the patch for VS 2010 available for using IIS Express instead of ASP.NET Development Server? With out this seems not much useful for developers.

    You mentioned that patch will be available later this year. Do you mean this will be released with final version of IIS Express (Web Matrix)?

  • I tried installing Web Matrix using the WPI 3.0 yesterday on a Windows XP SP3 Workstation, but I did not get an option to select IIS 7 Express among the web servers. All I saw was IIS 5.1 (was already installed). I tried uninstalling IIS 5.1, but I still did not see any option to install IIS 7 express. Am I doing something wrong here?

  • It would be great if the new IIS Express would be a Portable Application requering no installation at all.

  • I need to be able to completely run a web app from a CD/DVD. How this will help me accomplish this?

  • Anil P. you have to install web matrix, since it seems IIS 7 Express in its current incarnation is embedded with WebMatrix. I only hope this is not the case when the final release rolls around.

    ScottGu, Will we be able to change the SSL cert that comes with IIS 7 Express? WIll we be able to configure IIS Express to require Client Certificate?

  • I have my fingers crossed whilst asking this.... Will I be able to run a ASP.NET application / run IIS Express from my USB key?

  • thanks for this great news.
    does it work with vs.net 2003 and .net framework 1.1?

  • Wow!
    I'm gonna try this, tonight.
    Thanks Scott.

  • Does it run ASP6.0?

  • Excelent tool I work now with the new IIS Express, thanks for shared the info, Mr Scott

  • Can we install Team Foundation Server 2010 Basic (for single developer/machine scenario) on IIS Express (with SQL Compact?) or does it require a full IIS install (with a SQL Server instance)? That would be the real end of SourceSafe!

  • I am using 2003 server,which has bulit in IIS 6.0.How can i integrate IIS 7.0 in to the OS,to take its benifts in ASP.NET web application ?

  • Great that now also a express version for IIS exists! Good work..!

  • Thank you for some good news.
    I wonder if when I use IIS express 7.x, I must install any software (.NET Framework for example)

    thanks

    -saosangmo

  • @saosangmo Of course you do. Just like you need the appropriate .NET version for your app installed on a machine running the "real" IIS.

  • Hey Scott, Thanks for such a great explanation about IIS Express. It's cool

  • sounds wonderful! less barrier to get into developing with asp.net

  • I cant wait to see the service working on my PC. Well done

  • Is it possible to get virtual directories within a website for shared resources to showup in Visual Studio? I modified the applicationhost.config and those virtual directories showup in the website when opened in webmatrix but not within visual studio. Will this be addressed in the patch for VS 2010?

  • Scott,

    Is it possible to allow IIS Express to be downloaded on its own without WebMatrix? I can think of several use cases where a standalone development web server would be a brilliant addition to one's toolbelt

  • Great news Scott

    This is what I was waiting for since years.

Comments have been disabled for this content.