[英]Running ASP.NET Core Angular template on Kestrel server?
我正在尝试在红est服务器上运行ASP.NET Core角度模板。 它可以在ASP.NET上正常运行,但是当我在Visual Studio中将启动设置从IIS Express更改为我的项目名称时,它将打开一个命令窗口,在该窗口中可以看到日志和所有内容,但浏览器返回404错误。 我的启动设置如下所示:
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:59994/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Sankini": {
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Production": {
"commandName": "IISExpress"
}
}
}
我该怎么做才能确保其正常工作?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.