Skip to content

Hunting For And Finding The IIS Express Settings File

Updated: at 11:18 PM

Problem

If you are like me, you use IIS Express for all your Visual Studio 2013 (or 2012) Web Development (ASP.NET).  It’s always a pain when you need to change the config because the config file is buried in some very far away non-intuitive directory.

Solution

Now, if you look in your tray icon holding IIS Express, you’ll see an option that says Config and points to the file you need.  If you click on the hyperlink, it opens the file!

image

Now, you can do things like remove a problem website (see details below) and let Visual Studio recreate it for you. I’m not sure how long this has been here but I like it!

	<application path="/" applicationPool="Clr4IntegratedAppPool">
		<virtualDirectory path="/" physicalPath="C:\_c\ModelBinding\DataBinding\DataBinding" />
	</application>
	<bindings>
		<binding protocol="http" bindingInformation="*:50060:localhost" />
	</bindings>
</site>
<site name="Application1LS.Server" id="57">
	<application path="/" applicationPool="Clr4IntegratedAppPool">
		<virtualDirectory path="/" physicalPath="C:\_d\Application1LS\bin\Debug" />
	</application>
	<bindings>
		<binding protocol="http" bindingInformation="*:1344:localhost" />
	</bindings>
</site>

HTH’s!