.NET
Handling JWT authentication with ASP.NET Core TestServer
When writing APIs using ASP.NET Core we can use the excellent Microsoft.AspNetCore.TestHost or Microsoft.AspNetCore.Mvc.Testing packages to write tests which execute the API endpoints themselves in a test server. This allows us to easily write tests…
on 02 Jun 2023