Asp.net core video 59:
SQL Server Configuration with entity framework core:
In this video,we stored the connection string appsettings.json configuration file and read connection string from appsettings.json file by using IConfiguration service GetConnectionString()
method ,provided as a parameter to UseSqlServer() extension method in Startup.cs class, in order to configure our application specific DbContext class to use Microsoft SQL Server as the database.
We used AddDbContextPool() method in ConfigureServices() method in Startup.cs file to register our application specific DbContext class with the ASP.NET Core dependency injection system.