In my training classes, students often can easily understand the benefits of validation attributes in their MVC Core application’s Model classes, as far as their use on individual model properties (Examples in this article are using MVC Core 3.1.1 on Visual Studio 2019) What you buy yourself here is client-side validation, as long as you […]
You are browsing archives for
Category: Entity Framework
EF Code First – Unraveling the Mystery
WHAT IT IS: Entity Framework’s Code First strategy has some beautiful syntactic sugar, but how it creates and manages Model classes isn’t always intuitive to find. WHY WE CARE: EF Code First can be a time-saving strategy when your database schema is still in flux at the beginning of a project’s life cycle. HOW IT […]