Skip to content

Tag Archives: validation

Automatically Infer MVC Validation Rules Based on LINQ to SQL Schema – Sweet!

27-Aug-10

Hey gang, just a quickie today. I have been working recently on setting up server side and client side model validation “by the book” in ASP.NET MVC 2 complete with data annotations and the first question that hit me when I was declaring attributes on my LINQ to SQL partial classes to determine model validation [...]

ASP.NET MVC Validation Refresh: Best Techniques & Frameworks

25-Jun-09

UPDATE 6/Jul/2011: This post is now depreciated. Now that ASP.NET MVC 3 supports Unobtrusive AJAX & Validation with the jQuery Validation plugin with support for both EF 3.5/4.0+ and Linq To Sql OUT OF THE BOX! I wouldn’t bother with anything else! Great validation is now built-in. For a full tutorial of implementing client and [...]

Using MetadataType attribute with ASP.NET MVC xVal Validation Framework

04-Mar-09

Well some updates to my old article on ASP.NET MVC Validation today. The bad news, I had to drop “Solution B” which was to allow you to define validation rules on a metadata type “buddy” class of your model, in cases where you may be using something like LINQ2SQL and are unable to make changes [...]

ASP.NET MVC Validation – The Definitive Guide (in my eyes)

19-Jan-09

Please see my newer article here.

My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...