WPF Series -7- ViewModel Validation using DataAnnotations

As we often use Data Annotations for basic validation purposes in context of C#/.NET applications (i.e. required, max length, …), we searched for a solution that allows using Data Annotations in WPF ViewModels for client side validation. Fortunately we found such a solution, which I would like to describe in this blog post. Implement IDataErrorInfo […]

LightSwitch and NonSQL Data Structures with Server Side Validation

LS-JSON-TypeValidation3

When working with LightSwitch (HTML Client or not) you define your entity sets via the Designer and set their relations. As the whole database schema is automatically created and maintained for you by the LightSwitch runtime you have relatively little control over how to handle changes once you have to alter your entity sets. In […]