Web Site Administration Tool in visual studio 2012 used to be on menu: > website > Administration Tool or >Project > Administration tool but not present in visual studio 2015.
To launch it manually, we have 2 options:
1. Launch the Web Site Admin Tool using a command window:
- Open a Command Window running it as a Admin
- Change the folder to IIS Express:
cd C:\Program Files\IIS Express\
- Run the following command to start up IIS Express:
iisexpress.exe /path:C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm
- Access the Admin Site via the following URL:http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:[YOURSITE PATH HERE]\&applicationUrl=/
2. Launch the Web Site Admin Tool using IIS: You can try running the site from the Windows folder but after a couple of issues I just moved it to another folder. The steps below cover that process.
- Copy the Admin Site from the following folder: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles
- Change the web.config to allow any user to access the site
- Setup the site in IIS. Set the Authentication as shown below. Use the following URL to manage your ASP.NET site.
- http://localhost/ASPNetAdmin/default.aspx?applicationPhysicalPath=C:[YOUR SITE PATH HERE]\&applicationUrl=/
URL credits: https://stackoverflow.com/questions/32194465/where-is-web-site-administration-on-visual-studio-2015
No comments:
Post a Comment