Asp.Net core tutorial: DbContext is the backbone of the entity framework core. In this video, you will learn how to setup db context class in entity framework core for an asp.net core web application.
We will also learn how to set the database connection string in entity framework core. There are two ways to configure the entity framework core.
We can configure db connection string:
- by overriding OnConfiguring() method in our dbcontext class.
- in ConfigureServices() method in Startup class
#dbcontext #WebGentle #Nitish
Join this channel to get access to perks:
https://www.youtube.com/channel/UC2Us1KkV7BMm5Rp6tV6tTxg/join
GitHub Repo: https://github.com/webgentle/aspnet-core-mvc
Subscribe WebGentle: https://goo.gl/PJr1pN
Visit Our Website: https://webgentle.com
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
For business inquiry contact: [email protected]
Follow us on
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Facebook - https://bit.ly/36yZuQN
Linkedin - https://bit.ly/2N6Onqk
Twitter - https://bit.ly/2uv04AP
Popular free courses from WebGentle
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Jira tutorial – http://bit.ly/jiratutorial
Asp.Net Core Tutorial: http://bit.ly/aspnetcorebynitish
Azure DevOps tutorial - http://bit.ly/azuredevopsbynitish
.NET Core 3.0 fundamentals - http://bit.ly/dotnetcore3
MVC5 tutorial - http://bit.ly/mvcbynitish
LINQ Tutorial - http://bit.ly/linqbynitish
Non generic collection in c# - http://bit.ly/nongenericcollectionbynitish