Saturday, November 24, 2012

IIS Express Quickie Command-line

This is a reminder to my future self for how to quickly start IIS Express from the command-line on 64-bit Windows 7 or 8 assuming you already have IIS Express installed using the defaults.

  1. Open admin command line.
  2. cd\Program Files (x86)\IIS Express
  3. iisexpress /path:c:\YourApplicationRootFolder /port:WhateverPortNumber

Note: You can also specify /clr:v2.0 if you hate fun.  The default is CLR 4 which works with .NET 4 and 4.5.

This was adapted from the full article on www.iis.net: http://www.iis.net/learn/extensions/using-iis-express/running-iis-express-from-the-command-line

No comments:

Post a Comment

Post a Comment