JSON Web Token .NET Core Demo

Lou Mauget .NET Core, Articles, C#, Development Technologies & Tools, Programming 1 Comment

In this post, I present a tiny .NET Core C# JWT API demo that creates and parses a JSON Web Token (JWT). A self-contained Swagger UI dashboard exercises the API.ย 

We canโ€™t dead-drop a JWT demo without wrapping it in words about JWT background. Iโ€™ll set the scene by introducing tokens, JWTs, and surveying session state residency tradeoffs. Weโ€™ll then migrate to, high-level JWT JWT use cases, and arguments about if or when to use JWTs.ย 

I seek to give equal coverage to JWT upsides and downsides. Letโ€™s get started.