In this tutorial, we are going to discuss Azure Key Vault secrets using Asp.Net Core 3.1 web application. Azure Key Vault is a tool where we can store and access secrets. The purpose of Key Vault is to store sensitive information like API keys, Authenticated Token Keys, Database Connection strings and etc. This is the best cloud-based solution for Azure web Apps.
[Read more…]User Secrets in Asp.Net Core 3.1
In this tutorial, we are going to cover user secrets in Asp.Net Core 3.1 web application using visual studio code. First, we will understand what is secret manager in asp.net core and then we will implement all the user secrets options (E.g. set, remove, list, clear) in Asp.Net Core 3.1 web API application in step by step.
[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…]CQRS and Mediator Patterns in Asp.Net Core 3.1
In this tutorial, we are going to cover the CQRS(Command Query Responsibility Segregation) pattern in Asp.Net Core 3.1 web api application. We will see how to implement CQRS in a very basic CRUD application using the MediatR library. MediatR library is an open source implementation of mediator pattern for .NET Applications.
[Read more…]How to integrate React and Asp.Net Core 3.1 app using VS Code
In this tutorial, we are going to cover how to integrate React with Asp.Net Core 3.1 using Entity Framework Core in visual studio code. We will use SQLite database in this project. So, first-of-all, we will install all the dependencies that we need in this project and then we will see how to setup a project using React and Asp.Net Core 3.1 and Entity Framework Core.
[Read more…]How to integrate Vue and Asp.Net Core 3.1 app using VS Code
In this tutorial, we are going to cover how to integrate Vue.js and Asp.Net Core 3.1 application using Entity Framework Core in Visual Studio Code. We will use PostgreSql database in this tutorial. So, we are going to build a SPA (Single Page Application).
[Read more…]Document Viewer in Asp.Net Core 3.0 Application
In this tutorial, we are going to cover how to implement Document Viewer in Asp.Net Core 3.0 application using visual studio 2019. There are many file viewer libraries for .NET Framework. But now in this tutorial, we will use GroupDocs.Viewer to preview files in different formats like pdf, docs, excel, power point, outlook, visio, and many others in Asp.Net Core 3.0 application. And if you want to read more features about GroupDocc.Viewer, then you can read here.
[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 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…]- « Previous Page
- 1
- 2
- 3
- 4
- 5
- …
- 10
- Next Page »