Posts Tagged ‘ValidationAspects’
ValidationAspects v2.1.0
ValidationAspects v2.1.0 has just been released and is available from codeplex. ValidationAspects provides State and Interception validation on .net Objects, Properties and Method Parameters. Validation can be declared via attributes and/or augmented/replaced with validation functions at runtime. Supports asp.net MVC, WPF, Silverlight, PostSharp, and Unity. This release is a mixed bag of minor usability enhancements, [...]
Filed under: Uncategorized | Leave a Comment
Tags: .net, ValidationAspects
ValidationAspects v2.0.1
ValidationAspects v2.0.1 has just been released and is available from codeplex. ValidationAspects provides State and Interception validation on .net Objects, Properties and Method Parameters. Validation can be declared via attributes and/or augmented/replaced with validation functions at runtime. Supports asp.net MVC, WPF, Silverlight, PostSharp, and Unity. This release fixes a few bugs and adds support for [...]
Filed under: Uncategorized | Leave a Comment
Tags: .net, Silverlight, ValidationAspects
ValidationAspects – where next?
This is a post for .net developers using VA, developers considering VA, and also developers not considering VA as the validation framework of their choice. VA (ValidationAspects) is an validation framework used to validate Objects, Properties and Method Parameters against coding contracts and business rules. Validation can be declared via attributes and/or augmented/replaced programmatically at [...]
Filed under: Uncategorized | 10 Comments
Tags: ValidationAspects
As ValidationAspects is gaining awareness in the .net community I have been asked several times questions regarding its use at a conceptual level, in particular the two modes of validation offered (State & Interception), and how VA (ValidationAspects) differs and overlaps with Code Contracts. I think the idea of what “Validation” is depends on your [...]
Filed under: Uncategorized | 2 Comments
Tags: .net, ValidationAspects
Earlier this week, Steve Sanderson contacted me regarding integrating ValidationAspects and xVal – a validation framework for asp.net MVC. I get asked quite frequently when ValidationAspects will provide MVC validation and I believe it’s a barrier to entry for new users, so I was more than happy to work with Steve on the integration. First [...]
Filed under: Uncategorized | 7 Comments
Tags: .net, MVC, ValidationAspects
ValidationAspects v1.7.0
ValidationAspects v1.7.0 has just been released and is available from codeplex. ValidationAspects is an AOP validation framework used to validate Objects, Properties and Method Parameters against coding contracts and business rules. Validation can be declared via attributes and/or augmented/replaced programmatically at runtime. It integrates with asp.net MVC and WPF. This is mainly a tidy-up release [...]
Filed under: Uncategorized | Leave a Comment
Tags: .net, ValidationAspects
Domain Model Validation + WPF
Recently I wrote some code to integrate ValidationAspects with WPF so that validation could be applied to my domain models and the WPF UI would notify the user of any invalid values when they attempt to modify the model. It was surprisingly easy ValidationAspects is an AOP validation framework used to validate Objects, Properties and [...]
Filed under: Uncategorized | 3 Comments
Tags: .net, PostSharp, ValidationAspects, WPF
OK, so not the snappiest title but hopefully it’s clear to you what I’m about to explain. No? A new feature went into v1.6.0 of ValidationAspects that enables you to register object validation against a method. This validation is then invoked prior to the method being invoked. It’s useful for scenarios such as when you [...]
Filed under: Uncategorized | Leave a Comment
Tags: .net, PostSharp, ValidationAspects
Introducing Validation Aspects
A little while ago I started work on a project using .net which had a non trivial requirement for Domain Models (Business Objects) to be validated. The level of validation to be applied to the model varied from simple code contracts (e.g. parameter is non null) to more complex business rules (e.g. customer has a [...]
Filed under: Uncategorized | 1 Comment
Tags: .net, PostSharp, ValidationAspects