Azure Web API权限受限,能否详细解释查看目录或页面的具体要求?
- 内容介绍
- 文章标签
- 相关推荐
本文共计221个文字,预计阅读时间需要1分钟。
我有 一个web api项目,项目结构根目录中有一个文档(swagger)文件夹+在本地我可以查看路由图+http://localhost:9941/documentation/ 但当我部署这个项目时,通过相同的url将无法访问它。
我有一个web api项目,项目 project structure的根目录中有文档(swagger)文件夹在本地我可以查看路线像
localhost:9941/documentation/
但是当我部署这个项目时,在部署中通过相同的url将其给予我的权限错误
mywebsite.azurewebsites.net/documentation/
错误信息:
You do not have permission to view this directory or page.
网络配置
<system.web> <authentication mode="None" /> <compilation debug="false" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> </system.web> 这是由于您的应用程序部署不完整.重新启动或删除并重新上传应解决此问题.
本文共计221个文字,预计阅读时间需要1分钟。
我有 一个web api项目,项目结构根目录中有一个文档(swagger)文件夹+在本地我可以查看路由图+http://localhost:9941/documentation/ 但当我部署这个项目时,通过相同的url将无法访问它。
我有一个web api项目,项目 project structure的根目录中有文档(swagger)文件夹在本地我可以查看路线像
localhost:9941/documentation/
但是当我部署这个项目时,在部署中通过相同的url将其给予我的权限错误
mywebsite.azurewebsites.net/documentation/
错误信息:
You do not have permission to view this directory or page.
网络配置
<system.web> <authentication mode="None" /> <compilation debug="false" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> </system.web> 这是由于您的应用程序部署不完整.重新启动或删除并重新上传应解决此问题.

