Custom redirect from AuthorizationHandler (ASP.NET Core) Custom Redirects in ASP NET Core Authorization Taking Control of Your Authentication Flow In ASP NET Core the Authorization Handler class provides a powerful me 2 min read 07-10-2024 11
Stop request in CookieAuthenticationEvents.OnValidatePrincipal after response body has been written to Preventing Further Execution After Response Body is Written A Guide to Cookie Authentication in ASP NET Core In ASP NET Core applications handling user authenti 2 min read 05-10-2024 9
Access deserialized object in middleware before controller gets called Accessing Deserialized Objects in Middleware Before Controller Execution Problem You need to perform actions based on data from a deserialized request body befo 3 min read 05-10-2024 4
ASP.NET Core is logging "request unhandled" even though it is handled by my middleware Understanding Request Unhandled in ASP NET Core Middleware When developing applications with ASP NET Core developers often encounter situations where the framew 2 min read 22-09-2024 15
Best Practices for using middleware in ASP.NET Core Web API for exception handling, authentication, and error logging Best Practices for Using Middleware in ASP NET Core Web API for Exception Handling Authentication and Error Logging When developing applications using ASP NET C 3 min read 14-09-2024 25
If Migration is not sent to the database, UseExceptionHandler Middleware will not work. Why? Why Database Migrations Are Crucial for ASP NET Cores Use Exception Handler Middleware You re working on an ASP NET Core application you ve added a new property 2 min read 30-08-2024 18