Visual Studio 2015的网站管理在哪里 [英] where is Web Site Administration on visual studio 2015

查看:141
本文介绍了Visual Studio 2015的网站管理在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2015中找不到网站管理工具. 在哪里?

I cannot found Web Site Administration Tool in visual studio 2015. where is it?

它曾经位于菜单网站>管理工具"或项目>管理工具"上,但现在不再存在.

It used to be on menu "website > Administration Tool" or "Project > Administration tool" but is not anymore.

推荐答案

我遇到了同样的问题.您可以通过IIS进行访问,也可以像我一样将其复制到开发文件夹中以备将来使用.这是两个选项...

I experienced the same issue. You can get to it via IIS or as I did, I copy it to a development folder for future use. Here are two options...

1.使用命令窗口启动网站管理工具:

  1. 打开以管理员身份运行的命令窗口

  1. Open a Command Window running it as a Admin

将文件夹更改为IIS Express: cd C:\Program Files\IIS Express\

Change the folder to IIS Express: cd C:\Program Files\IIS Express\

iisexpress.exe /path:C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm

  1. 通过以下URL访问管理站点: http://localhost:8082/asp.netwebadminfiles/default.aspx? applicationPhysicalPath = C:[您的站点路径在此] \& applicationUrl =/
  1. Access the Admin Site via the following URL: http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:[YOUR SITE PATH HERE]\&applicationUrl=/

2.使用IIS启动网站管理工具::您可以尝试从Windows文件夹运行该网站,但是在出现了两个问题之后,我将其移至了另一个文件夹.以下步骤涵盖了该过程.

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.

  • 从以下文件夹复制管理站点:C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ ASP.NETWebAdminFiles

  • Copy the Admin Site from the following folder: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles

更改web.config以允许任何用户访问站点

Change the web.config to allow any user to access the site

在IIS中设置站点.设置身份验证,如下所示.使用以下URL管理您的ASP.NET网站.

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:[您的站点路径在此] \& applicationUrl =/

http://localhost/ASPNetAdmin/default.aspx?applicationPhysicalPath=C:[YOUR SITE PATH HERE]\&applicationUrl=/

在此链接中查看以下帖子

这篇关于Visual Studio 2015的网站管理在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆