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.
Tag Archives: ASP.NET
Lately, I’ve been doing quite a bit of front-end development with the latest version of Angular and that requires token based authentication. So in this article let’s discuss how to create tokens in .Net. I’ll go over setting up tokens in regular .Net, and in a later article, I’ll discuss how to setup tokens in .Net core.
All of the code can be obtained from Github Here.