I believe the correct way to catch and customize errors such as 404 (not found) in an ASP Core 2.0 app is to use app.UseStatusCodePages() middleware in ...
確定! 回上一頁