In this tutorial, we are going to cover a web api token based authentication example using JWT in Asp.Net Core 5 using visual studio 2019. So, first-of-all, we will create a new Asp.Net Core 5 web API project and then we will see how to implement Microsoft Identity and then finally we will see how to implement token based authentication using JWT in Asp.Net Core 5 web API app.
[Read more…]JWT Authentication in Asp.Net Core 3.1
In this tutorial, we are going to cover jwt authentication in Asp.Net Core 3.1 web api in visual studio code. We will see how to implement identity, and then we will see how to implement token based authentication in Asp.Net Core 3.1 web API, and then finally we will test our API using postman.
[Read more…]Role Based Authorization in Asp.Net Core 3.0
In this tutorial, we are going to cover a simple example of how to implement Role Based Authorization / access control in Asp.Net Core 3.0 using visual studio 2019. In one of the previous tutorials, we have discussed Asp.Net Core 3.0 web API token based authentication example using JWT. So, now first-of-all, we will create Asp.Net Core 3.0 application, and then we will add identity to our application and then we will register users and then we will see how to create roles and then finally we will see how to authorize pages.
[Read more…]How to add Facebook login to Asp.Net Core 3.0 app using VS2019
In this tutorial, we are going to cover how to add Facebook login to Asp.Net Core 3.0 app using Visual Studio 2019. So, it will enable users to login with their Facebook account in Asp.Net Core 3.0 application. So, first-of-all, we will create an app in Facebook developer account and then we will create a new Asp.Net Core 3.0 application using Visual Studio 2019 and then we will configure the Facebook app with Asp.Net Core 3.0 app and then finally we will see how it works.
[Read more…]How to add Authentication to React app using Asp.Net Core 3 in VS2019
In this tutorial, we are going to cover a very simple example on how to add authentication to React app using Asp.Net Core 3 application in visual studio 2019. Asp.Net Core 3 offers authentication in single page application using the support of Asp.Net Core Identity. So, in this tutorial, we will create an React app with authentication using Asp.Net Core 3 and then we will see how it works.
[Read more…]How to add Authentication to Angular 7 and Asp.Net Core 3 using VS2019
In this tutorial, we are going to cover a very simple example on how to add authentication to Angular 7 app using Asp.Net Core 3 application in visual studio 2019. Asp.Net Core 3 offers authentication in single page application using the support of Asp.Net Core Identity. So, in this tutorial, we will create an Angular 7 app with authentication using Asp.Net Core 3 and then we will see how it works.
[Read more…]