【发布时间】:2016-07-25 11:34:28
【问题描述】:
您好,我的 ASP.Net Core 应用程序出现错误。我在 Azure Cloud 的 Windows Server 2012 上的 dnx451 框架上安装了两个 ASP.NET Core 网站。
当我在浏览器中导航到它们时,它们会无限加载。在它发生之前我安装了HttpPlatformHandler,因为以下错误,但现在我没有看到任何异常无限加载。
我在安装 HttpPlatformHandler 之前看到的错误。
还有,
- 应用程序正在从 Visual Studio 和 dnx web 成功运行。
- 在启动中插入日志(发送电子邮件),没有创建日志。
- 加载页面:
请帮忙,谢谢。
【问题讨论】:
-
你能分享你的
Startup.cs和project.json吗? -
还有你的 web.config。
-
对于项目1:web.config web configstartup.cs startup project.json
-
对于项目 2:startup.cs、web.config、project.json
-
@blowdart 这是个好主意,但 url 只在一个项目中重写,chrome 理解这个错误
标签: azure iis asp.net-web-api asp.net-core single-page-application