This year at Codemash I thought it’d be fun to do a “precompiler” session (aka an in-depth session before the conference gets started), despite the fact it may not specifically help in my software development area. But I hadn’t done any sort of embedded systems work since college and I thought this would be a great opportunity to get back into it.
As you may know, drone racing has been picking up a lot of steam lately. In fact, they’re even broadcasting it on ESPN these days. It’s actually very exciting to watch: Drones fly at impressive speeds through complex courses that require an amazing amount of maneuverability that takes nothing less than a wiz to handle.
In my last post, I discussed how to setup JWT’s in ASP.NET Core 2. In this post, I’ll extend that example, adding the ability to refresh the JWT when it expires (i.e. refresh tokens). A refresh token will be returned with the JWT when the user logs in. And this new token will be used to refresh the JWT when it expires. We’ll simply create another middleware that handle’s the refresh token.
Continuing from my previous post, I’ll add refresh tokens to the application. The source code for this demo can be found here. Read more
ASP.Net Core 2.0 came out recently and there were quite a few changes to the authentication scheme. In this article, I’ll talk about how to setup token based authentication using JWT’s in ASP.Net Core 2.0. We’ll use the Identity system to handle authentication, and Entity Framework to access an MS SQL backend. NOTE: you will probably need to install the .Net Core 2.0 Libraries.
The source code for this can be found here. Read more