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

查看:53
本文介绍了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 FilesIIS Express

Change the folder to IIS Express: cd C:Program FilesIIS Express

iisexpress.exe/path:C:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.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:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.NETWebAdminFiles

  • Copy the Admin Site from the following folder: C:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.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天全站免登陆