Loading
1 post about dotnet ef migrations add by 1 contributor.
Know dotnet ef migrations add? Share what you know with developers who are learning it.
See code examples in this article: Let's imagine you have a solution with many projects including a web application with the name "MiniService", which contains appsettings.json and a library project with DbContext and Migrations with any name f.e. "MiniService.Data". You most likely want to use the exact connection string in the appsettings.json used by the web app. May be different cases when you will need to run migrations from the command line, for example, there is no 'Package Manager Console' in VS for Mac.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article