I recently hosted a live stream with badass-as-a-service Chris Klug, titled “Stop using Entity Framework Core as a DTO Provider!”. It’s worth a watch, and it gave me, a long-time Entity Framework user, a lot to think about and reevaluate in my workflows. That said, regardless of whether you agree with Chris’ style, he showed a masterclass of tool usage and an understanding that’s easy to admire. In our live stream, one new trick (to me, at least) stood out as something every Entity Framework Core user should know about.
In this post, we’ll explore one strategy to appease the dotnet ef
CLI tools regarding design-time configuration and
how it opens up a world of possibilities when dealing with database migrations.