Database Configuration

Learn to configure a database with your application for development purposes.

Configuring database context

Install EF Core SQL Server

To install EntityFramework Core SQL Server, go to the package manager. To access the package manager, click on Tools > NuGet Package Manager > Package Manager Console. At the bottom, a console would appear. Type in the following command in the console.

Install-Package Microsoft.EntityFrameworkCore.SqlServer
...