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.