Validating Classes using Data Annotations

We’ve been beefing up our validation routines recently as it became clear that we needed to add a lot more protection to our Validation Engines in our NetCore project. We use EFCore Code-First to generate our database in which we have a large number of Data Annotations such as: Our testers have started really gettingContinue reading “Validating Classes using Data Annotations”

Optional One to One Relationships in EFCore

My company is currently working on replacing our venerable WinForms application with a shinier ASP.Net MVC version and rather than just re-write everything as a slavish “lift and shift” approach, we’ve gone for the bolder approach of completely re-designing the whole thing from top to bottom. Cue buzzwords such as “Greenfield” and “Blue-sky thinking” etcContinue reading “Optional One to One Relationships in EFCore”