<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using MetadataType attribute with ASP.NET MVC xVal Validation Framework</title>
	<atom:link href="http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/</link>
	<description>Graham O&#039;Neale – Deep In .NET Development: ASP.NET, MVC, jQuery, WPF, WCF, Silverlight</description>
	<lastBuildDate>Wed, 28 Sep 2011 23:00:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Joshua</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-36053</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Mon, 08 Aug 2011 23:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-36053</guid>
		<description>Too much duplicated work, it seems more like a workaround than solution... if one of the Booking column changes in LINQ2SQL it won&#039;t even raise warning and compile fine while your validation will be broken.</description>
		<content:encoded><![CDATA[<p>Too much duplicated work, it seems more like a workaround than solution&#8230; if one of the Booking column changes in LINQ2SQL it won&#8217;t even raise warning and compile fine while your validation will be broken.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET MVC Validation Refresh: Best Techniques &#38; Frameworks &#124; {Programming} &#38; Life</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-33295</link>
		<dc:creator>ASP.NET MVC Validation Refresh: Best Techniques &#38; Frameworks &#124; {Programming} &#38; Life</dc:creator>
		<pubDate>Tue, 05 Jul 2011 23:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-33295</guid>
		<description>[...] LINQ to SQL and wish to declare your validation rules via .NET Data Annotations attributes? If so, click here.  (This outlines how to get this working so L2S re-generation doesn&#8217;t interfere with your [...]</description>
		<content:encoded><![CDATA[<p>[...] LINQ to SQL and wish to declare your validation rules via .NET Data Annotations attributes? If so, click here.  (This outlines how to get this working so L2S re-generation doesn&#8217;t interfere with your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Specifying ASP.NET MVC attributes for auto-generated data models - Question Lounge</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-18403</link>
		<dc:creator>Specifying ASP.NET MVC attributes for auto-generated data models - Question Lounge</dc:creator>
		<pubDate>Tue, 28 Dec 2010 18:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-18403</guid>
		<description>[...] and client validation in ASP.NET MVC 2 &#8211; the mine seems to be a duplicate of the onehttp://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework... &#8211; promises the most for me  [...]</description>
		<content:encoded><![CDATA[<p>[...] and client validation in ASP.NET MVC 2 &#8211; the mine seems to be a duplicate of the onehttp://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework&#8230; &#8211; promises the most for me  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unknown</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-8750</link>
		<dc:creator>unknown</dc:creator>
		<pubDate>Mon, 26 Apr 2010 11:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-8750</guid>
		<description>looks good but does not work for me, no errors are ever returned , validation always passed even when rules are not being met

I suspect the error is in the DataAnnotationsValidationRunner class, any help would be appreciated, I have followed exactly the steps in the demo</description>
		<content:encoded><![CDATA[<p>looks good but does not work for me, no errors are ever returned , validation always passed even when rules are not being met</p>
<p>I suspect the error is in the DataAnnotationsValidationRunner class, any help would be appreciated, I have followed exactly the steps in the demo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-8641</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 23 Apr 2010 11:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-8641</guid>
		<description>thanks for great post.

could you include a sample for editing? I have a problem with the model binder when editing an existing entity where the form fields are prefixed.</description>
		<content:encoded><![CDATA[<p>thanks for great post.</p>
<p>could you include a sample for editing? I have a problem with the model binder when editing an existing entity where the form fields are prefixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-8403</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Thu, 15 Apr 2010 08:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-8403</guid>
		<description>This post is very useful.
Thank you very much!</description>
		<content:encoded><![CDATA[<p>This post is very useful.<br />
Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP .Net MVC &#8211; Validation &#171; packtHub</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-6489</link>
		<dc:creator>ASP .Net MVC &#8211; Validation &#171; packtHub</dc:creator>
		<pubDate>Sun, 14 Feb 2010 18:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-6489</guid>
		<description>[...] a comment &#187;  jquery validation xVal Framework DataAnnotations IDataErrorInfo Buddy Classes Method Enterprise Library Validation Application Block &#8211; Integrating Enterprise Library Validation [...]</description>
		<content:encoded><![CDATA[<p>[...] a comment &raquo;  jquery validation xVal Framework DataAnnotations IDataErrorInfo Buddy Classes Method Enterprise Library Validation Application Block &#8211; Integrating Enterprise Library Validation [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bertin Laurent</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-3785</link>
		<dc:creator>Bertin Laurent</dc:creator>
		<pubDate>Mon, 09 Nov 2009 19:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-3785</guid>
		<description>Hi

i just have one small question as i don´t find the solution...

when using Datatype.Date, it waits a date format yyyy-mm-dd... is there a possible way to ask him to look another one or do i have to create a custom rule ?

Thanks for the article</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>i just have one small question as i don´t find the solution&#8230;</p>
<p>when using Datatype.Date, it waits a date format yyyy-mm-dd&#8230; is there a possible way to ask him to look another one or do i have to create a custom rule ?</p>
<p>Thanks for the article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-1647</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Mon, 17 Aug 2009 05:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-1647</guid>
		<description>I haven&#039;t tried to implement metadata yet, but have been able to use LINQ2SQL as a repository interface implementation with each class also implementing interfaces used by the repository. Just create a file with a different name than the LINQ2SQL data context file and use partial classes. They don&#039;t go away with rebuilds of the data context. Just have to outsmart the compiler. I return IMyInterface and IEnumerable from the repository methods. The Cast method on datasets returned by LINQ select allows mapping out to the interface type.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tried to implement metadata yet, but have been able to use LINQ2SQL as a repository interface implementation with each class also implementing interfaces used by the repository. Just create a file with a different name than the LINQ2SQL data context file and use partial classes. They don&#8217;t go away with rebuilds of the data context. Just have to outsmart the compiler. I return IMyInterface and IEnumerable from the repository methods. The Cast method on datasets returned by LINQ select allows mapping out to the interface type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MPiccinato</title>
		<link>http://goneale.com/2009/03/04/using-metadatatype-attribute-with-aspnet-mvc-xval-validation-framework/comment-page-1/#comment-758</link>
		<dc:creator>MPiccinato</dc:creator>
		<pubDate>Thu, 09 Jul 2009 16:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=409#comment-758</guid>
		<description>Is there a way to get a Validation Runner which uses reflection to check types from the database?  

So that say I have a varchar(50), if the string is over that length I can get an error to say &quot;Your string is too long&quot;.</description>
		<content:encoded><![CDATA[<p>Is there a way to get a Validation Runner which uses reflection to check types from the database?  </p>
<p>So that say I have a varchar(50), if the string is over that length I can get an error to say &#8220;Your string is too long&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

