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…]Entity Framework Core 3.0 Cache Busting | Dotnet Detail
In this tutorial, we are going to cover different kinds of entity framework core cache busting techniques with simple examples. Actually, when we run a query in EF Core, the DbContext in it automatically caches the data that it retrieves from the database using query. In some cases it is helpful because you don’t need to hit database in every request. But there are some cases in which data changes outside the context and then in these cases the query retrieves stale data. Now, the question is how can we handle this situation using entity framework core? So, we will see how to bust cache in entity framework ( EF ) Core.
[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…]Entity Framework Core & Stored Procedure using Fluent API
In this tutorial, we are going to cover crud operations (create, read, update, and delete) using entity framework core & stored procedure with Fluent API. So, first-of-all, we will add a model class in our project and create a database using migrations and then we will create stored procedures for insert, update and delete using Fluent API. Then we will perform insert, update and delete operations using entity framework core.
[Read more…]- « Previous Page
- 1
- …
- 178
- 179
- 180
- 181
- 182
- …
- 186
- Next Page »