允许在Visual Studio 2017 for Mac中使用.net MVC应用程序

时间:2017-06-21 15:33:56

标签: .net macos asp.net-core kestrel-http-server visual-studio-mac

我试图看看我是否可以在运行Parallels的现代IE windows虚拟机上运行运行osx 10.12.5的Mac上运行的本地应用程序(此Parallels实例运行在同一台Mac上)。

我意识到我的.net应用可能不允许不是来自localhost的连接。在Mac上的Visual Studio 2017中,有没有办法检查是否允许非本地连接?

在Windows上,我会检查applicationhost.config文件,或检查我的IISExpress设置。似乎{VSM17 for Mac使用的Kestrel is the cross platform .net core web server。我不知道在哪里更改设置以允许非本地连接或远程连接命中它正在运行的Web应用程序。

如果您从MAC上的Visual Studio 2017上的菜单中单击.net mvc应用程序,我的应用程序是ASP.NET MVC 5.2中的scafolded。

编辑:看来Kestrel是网络服务器looking through this link which may be helpful

0 个答案:

没有答案