ASP.NET Core Capture HTTP Status Codes Between 400 and 599

后端 未结 0 1884
广开言路
广开言路 2021-01-13 22:33

In Statup.cs -> Configure:

app.UseStatusCodePagesWithReExecute("/StatusCodeError/{0}");

The code for that middleware is here and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题