鈽勶笍 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: https://www.patreon.com/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:
null
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
97 Comments