You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ExceptionHandlingMiddlewareExtensions.cs 338B

123456789101112
  1. using Diligent.WebAPI.Host.Middlewares;
  2. namespace Diligent.WebAPI.Host.Extensions
  3. {
  4. public static class ExceptionHandlingMiddlewareExtensions
  5. {
  6. public static void ConfigureCustomExceptionMiddleware(this IApplicationBuilder app)
  7. {
  8. app.UseMiddleware<ExceptionHandlingMiddleware>();
  9. }
  10. }
  11. }