New Post: ASP.NET Web API
Hi I personally don't have plans to add support for Web API, but I'll happily accept pull requests if someone wants to add support. Jeremy
View ArticleCreated Issue: Support Protected Parameterless Constructors in Test Helper...
Instead of using Activator.CreateInstance<T>() it would be nice to have an option to use the ShouldHaveValidationErrorFor and ShouldNotHaveValidationErrorFor methods with objects that have...
View ArticleNew Post: Windows Phone 7 Required Field Validation
I am new to Windows Phone 7 development. I want to know the standard way of validating the windows phone 7 forms as well as required field validatiors for form fields using fluent validations. Please...
View ArticleNew Post: Windows Phone 7 Required Field Validation
I'm afraid FluentValidation is not supported on WP7. Jeremy
View ArticleNew Post: I want to translates message into simplified Chinese
please contact me or leave a message.
View ArticleNew Post: I want to translates message into simplified Chinese
Hi If you'd like to translate the default messages please feel free to submit them via a pull request. Thanks Jeremy
View ArticleNew Post: Help with chaining custom validator
Howdy! I'm trying to setup a fluent validator extension although I think I'm overlooking something... I have my simple class and validator setup in a aspx.cs: public class HistoricalBilling { public...
View ArticleNew Post: Help with chaining custom validator
From a quick glance this all looks fine. Are you sure you've got all the relevant namespaces imported?
View ArticleNew Post: Help with chaining custom validator
Hey Jeremy, Within the aspx.cs file that contains the simple HistoricalBilling class and validator I have the following: using System; using System.Collections.Generic; using System.Linq; using...
View ArticleNew Post: Help with chaining custom validator
Have you tried importing the WebReporting namespace? Jeremy Skinner Sent from my iPhone
View ArticleNew Post: Help with chaining custom validator
Yep :( Just as a test I've created a new blank simple web app (dropbox link for project: https://www.dropbox.com/s/7ol5j5ikg0rx4ie/FluentTest.zip) full code behind looks like: namespace FluentTest {...
View ArticleNew Post: Help with chaining custom validator
Your extension method hasn't been defined properly in the sample project. - The ValidationExtensions class must be static - The EnsureValidDate8601 method must be static - The extension method must...
View ArticleNew Post: Validate a collection against eachother
Is it possible to validate that each Person in People has doesn't have the same First and Last name? public class Person { public string First { get; set; } public string Last { get; set; } } public...
View ArticleNew Post: Validate a collection against eachother
Best thing to do would be to group the people by name and then count how many people are in each group. If there is more than 1 in the group, then they have the same name. Something like this should...
View ArticleReviewed: 3.3 (Jul 08, 2012)
Rated 5 Stars (out of 5) - Fills in a stark void in .NET 4 with WPF/MVVM. Now you can validate your models in your view model and in related libraries. My data models are EF code first POCOs and this...
View ArticleNew Post: Reusable validator
I'm investiging this method and the unit test runs. But when i use the validator in a MVC3 application, the System.Web.Mvc throw an invalid operation exception (Validation type names in unobtrusive...
View ArticleNew Post: ModelStat.IsValid vs FluentValidator.IsValid
Jeremy, Ok, i've understood ... But when i'm using in the mvc application, i written RuleFor (m => m.Password).NotNull().EnsureValidPassword ... (Two NotNull() method is called) Many thanks Jérôme
View ArticleNew Post: Reusable validator
Jeremy, Sorry guys ... But when i'm using in the mvc application, i written RuleFor (m => m.Password).NotNull().EnsureValidPassword ... (Two NotNull() method is called) Its solved now ! Many thanks...
View Article