Nuacht

How to implement basic password authentication for a minimal API in ASP.NET Core using a custom authentication handler that validates the user’s credentials against a database.
User context makes life easier when tracing Http requests in ASP.NET Core applications. It’s easy to add with custom middleware.