【发布时间】:2018-07-04 12:47:36
【问题描述】:
我对 Asp.net MVC core 非常陌生,我的 Visual Studio 在 macOS 上,所以我不得不在 Azure 上发布我的项目。我想把这个项目转移到 Godaddy 主机上。我下载文件并上传到 Godaddy 主机。问题是它有错误 500。有什么办法可以解决吗?
这是我的网络配置,
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\WebAppEver.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
</configuration>
<!--ProjectGuid: F0AEADEA-9B69-4295-85F3-A3BDD9433AD4-->
【问题讨论】:
标签: azure web-config asp.net-core-mvc