1

我是 dotnet 和 nginx 的新手。我已经在 Mac 上移动了我的 dontnet 项目(Visual Studio mac 预览版),所以在 Mac 中我没有 ISS。

因此,尝试像nginxapache这样的 ISS 替代方案。

需要信息 - 如何在 Mac 机器上为 dotnet 项目 (csproj) 设置/配置 nginx 服务器?

4

1 回答 1

0

您应该能够在 Mac 上使用Kestrel之类的 HTTP 服务器运行ASP.NET Core ,并使用 nginx 作为静态内容的反向代理。

https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app-xplat/start-mvc

对于控制台应用程序,请参见此处:https ://docs.microsoft.com/en-us/dotnet/core/tutorials/using-on-macos

希望这可以帮助

于 2017-07-26T18:44:27.093 回答