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…]Define one to many relationship in Entity Framework Code First
In this tutorial, we are going to learn how to define one to many relationship in entity framework code first approach between two entities (domain classes) using entity framework 6. First-of-all, we will create two entities (domain classes) Employee.cs and Company.cs and then we will see different types to define a relation between two entities using by following conventions and then we will define by using fluent API configurations.
[Read more…]How to create a .NET Core 3.0 trimmed self-contained single executable app using VS Code
In this tutorial, we are going to learn how to create a Asp.NET Core 3.0 trimmed self-contained app using visual studio code. In this way we can share our application without installing .NET SDK on the target machine. So, first-of-all, we will create an Asp.Net Core 3.0 app, then we will publish it as self-contained app and then we will see how to reduce the files using PublishSingleFile flag and then we will see how to reduce the size of executable using PublishTrimmed flag which is a new feature of .NET Core 3.0 Preview 6.
[Read more…]Continuous Integration and Continuous Deployment in DevOps using Visual Studio 2019
In this tutorial, we are going to cover a simple example of continuous integration and deployment in devops using Visual Studio 2019. It provides us a great help for creating a better project with a lower maintenance cost and higher customer satisfaction. This is very important for every application. So, first-of-all, we will see how to create a project in Azure DevOps, then we will see how to create a new Git repository and clone it locally, and then we will see how to integrate it with Visual Studio 2019, and then we will see how to create a commit using Visual Studio 2019, and then we will see how to create a new branch, and then we will see how to merge changes and resolve conflicts, and then finally we will see how to build pipeline.
[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…]- « Previous Page
- 1
- 2
- 3
- 4
- 5
- 6
- …
- 10
- Next Page »