The Better Way to Configure Entity Framework Core

Published: 19 August 2022
on channel: Milan Jovanović
51,525
1.8k

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

The way most people configure Entity Framework (EF) leaves little room for flexibility. In this video, I will show you how you can set up EF so that you can provide different configurations based on environment variables. This setup will give you much greater control over your deployment process.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Subscribe for more:
https://www.youtube.com/c/MilanJovano...

Chapters
0:00 Introduction
0:06 What we're working with
1:48 Expanding EF configuration
3:14 The better way to configure EF
4:20 Options pattern
7:50 EF configuration with Options pattern
9:55 Outro


Watch video The Better Way to Configure Entity Framework Core online, duration hours minute second in high quality that is uploaded to the channel Milan Jovanović 19 August 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 51,525 times and liked it 1.8 thousand visitors.