.Net Core中5种友好的异常处理方案

一,继承Controller,重写OnActionExecuted
二,使用 ActionFilterAttribute
三,使用 IExceptionFilter
四,使用ExceptionHandler
五,自定义Middleare处理

参考
https://blog.csdn.net/z123191456/article/details/115954068

posted @ 2021-11-14 18:44  michael3000  阅读(154)  评论(0)    收藏  举报