StevensNet.com

...Because someone's gotta tell the story...

Blogs

To return to the main Blog List, click Full Blog Listing.

Tags

IIS
Technical
Windows

Visual Studio 2013: WTF is the ASP.NET Config Tool?

Wednesday, July 16, 2014 in Technical Articles (Views: 1646)
Sometimes, it seems standard practice for Microsoft to take a perfectly good tool, well thought out and placed, and move it into another tool or dispose of it all together. Anyone remember Server 2012 and Server Manager? It took a while to get used to, but at the end of it all, a good move.

One tool without such luck is the ASP.NET Configuration Tool. It is still in Visual Studio 2013, just don't look in the Website menu.

Here is a quick example of how I got this running.

First, open a command prompt but DO NOT open as an administrator, odd as that is to say.
Here's a command line you can type in, assuming you are using the defaults. I also chose port 8081.

"C:\Program Files\IIS Express\iisexpress.exe" /path:c:\windows
\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles
/vpath:"/asp.netwebadminfiles" /port:8081 /clr:4.0 /ntlm


You will see this result at the end:
Successfully registered URL "http://localhost:8081/asp.netwebadminfiles/" for site "Development Web Site" application "/asp.netwebadminfiles"
Registration completed
IIS Express is running.
Enter 'Q' to stop IIS Express

Go to this URL to actually access the tool:
http://localhost:8081/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=c:\inetpub\wwwroot\&applicationUrl=/

Note: If your website is the default site like mine, c:\inetpub\wwwroot is fine. If not, then switch it to your project site.

Another annoyance conquered.

 

Related Blogs You May Be Interested In:


To leave a comment, please log in and/or register.