Convention over configuration lets framework-defined names and structures determine behavior by default, so application code can stay focused on its domain model. EF Core supports plain C# entity classes without requiring a framework base class or mapping attributes. It discovers database mappings from conventions and allows explicit customization when the defaults do not fit. section 12.2.2
EF Core discovers keys and relationships
A Recipe class with a RecipeId property follows EF Core's primary-key convention. An Ingredient class with IngredientId and RecipeId, together with Recipe.Ingredients, lets EF Core infer a foreign-key relationship in which one recipe has many ingredients. No mapping attributes appear in the model. section 12.2.2
The same preference appears when choosing ASP.NET Core API styles. Web API controllers rely on MVC conventions, reflection, controller discovery, and a complex filter pipeline. Minimal APIs offer a simpler, more explicit approach, so convention preference becomes one factor in the choice alongside performance, filtering, and content negotiation. section 20.6

