You've been handed an ASP.NET Core application where the database schema frequently changes. Which feature of Entity Framework Core would be most useful to keep the database in sync with the application model?
- Code-First Migrations
- Model-First Approach
- Database-First Approach
- NoSQL Database
Code-First Migrations in Entity Framework Core allows you to automatically create and update the database schema based on changes to your application's model. This feature is ideal for scenarios where the database schema evolves frequently to match the application's needs.
Loading...
Related Quiz
- What keyword is used in the route template to define a variable segment?
- Which file in an ASP.NET Core project acts as the entry point of the application?
- What is the primary goal of unit testing in ASP.NET Core projects?
- When considering long-term scalability, which template should be avoided for large-scale applications due to its server-side rendering nature?
- When creating custom exception middleware in ASP.NET Core, which method should be overridden to handle the incoming HTTP request?