我已经在IIS的应用程序中配置了重写规则。但是,当我尝试进入应将我重定向到ASP.NET Core Web API操作的页面时,出现错误:
The file extension for the requested URL does not have a handler configured to process the request on the Web server
Run Code Online (Sandbox Code Playgroud)
注意:更改静态文件处理程序映射无济于事。
我将回答我的问题:错误似乎不是很容易描述。解决此问题的方法是在IIS管理器中安装Application Request Routing Cache和启用代理Application Request Routing Cache -> Server Proxy Settings -> Enable Proxy