且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET MVC 4 - 异常处理不工作

更新时间:2023-02-15 23:20:44

我似乎记得,你必须从一个非本地主机的IP地址(通常在另一台计算机)调用的页面。而且它必须是一个基于IIS服务器,而不是内置的开发服务器(所以IIS或IIS防爆preSS,但你必须配置IIS防爆preSS外部访问,这是一种痛苦)。

I seem to recall that you had to call the page from a non-localhost IP address (typically another computer). And it has to be an IIS based server, not the built-in development server (so IIS or IIS Express, but then you have to configure IIS Express for external access, which is a pain).

您其实可以调试它,你必须要调试的计算机上配置本地服务器接受外部请求,然后从远程服务器调用本地服务器。

You can in fact debug it, you have to configure your local server on your debug computer to accept external requests, then call your local server from the remote server.