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 use AutoMapper in Asp Net Core 3.0 App
In this tutorial, we are going to cover Asp.Net Core 3.0 Automapper implementation using a very simple example. Automapper is a very popular Object-to-Object mapping library that can be used to map objects. So, using automapper, we can map one object to another object throughout our application with just a little bit configuration. So, first-of-all, we will create a new Asp.Net Core project in Visual Studio 2019 and then we will install AutoMapper and then we will configure AutoMapper in our project and then we will add model class and a Dto (Data Object Mapper) class and then we will map both (Model class and Dto) and then finally we will see the output.
[Read more…]Asp.Net Core 3.0 Web API Versioning best practices
In this tutorial, we are going to cover Asp Net Core 3.0 Web API Versioning best practices using Visual Studio 2019. We will see different ways to implement API versioning in Asp.Net Core 3.0 application like URL based versioning, Query string based versioning, and then header based versioning. In one of the previous tutorials, we have discussed how to create web API in Asp.Net Core 3.0 application and then we have also discussed Asp Net Core 3.0 Web API token based authentication using JWT in visual studio 2019. So, let’s see how to implement API Versioning in Asp.Net Core 3.0 web API application.
[Read more…]Entity Framework Core 3.0 Bulk Insert Update and Delete – Asp.Net Core 3.0
In this tutorial, we are going to cover Entity Framework Core (EF Core) bulk insert, update and delete options using Asp.Net Core 3.0 in Visual Studio 2019. We will use entity framework core Bulk extension to insert, update and delete multiple records. There are some other solutions to insert, update and delete multiple records in the fastest way, but using Bulk extension is the most significant way to insert, update, and delete multiple records.
[Read more…]Deploy React and Asp Net Core 3 App to Azure using VS2019
In this tutorial, we are going to cover how to deploy React and Asp.Net Core 3 application to Azure using Visual Studio 2019. So, first-of-all, will see how to create Azure App service using Visual Studio 2019, and then we will deploy our application to Azure App Service. In previous tutorial, we have discussed how to deploy React and Asp.Net Core 3.0 application to IIS (Internet Information Service) using Visual Studio 2019.
[Read more…]How to deploy React and Asp.Net Core 3 application to IIS
In this tutorial, we are going to learn how to deploy React and Asp Net Core 3 application to IIS ( Internet Information Service ) manager in step by step. In previous tutorial, we have discussed how to create ReactJs and Asp.Net Core app using Visual Studio 2017. So, first-of-all, we will install .Net Core runtime and then we will see how to enable IIS on windows 10 and then finally we will see how to deploy React and Asp Net Core 3 app to IIS.
[Read more…]How to Create an Angular 8 and Asp.Net Core 3 app using VS2019
In this tutorial, we are going to cover how to create an Angular 8 and Asp.Net Core 3 app using visual studio 2019. Now, there are many new features added to Angular 8. We can use Angular SPA template with Asp.Net Core 3.0. So, first-of-all, we will install all the dependencies, and then create a new project using Angular SPA template with Asp.Net Core 3.0 in Visual Studio 2019.
[Read more…]How to add SignalR to Asp.Net Core 3.0 app using Visual Studio 2019
In this tutorial, we are going to cover how to add signalr to Asp.Net Core 3.0 app using Visual Studio 2019. Signalr is basically an open source library that helps us to create real time web applications like voting system applications, gaming applications, dashboard monitoring systems, chat applications, social networks, travel alerts, notification alerts and etc.
[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…]