I have been working on validation with the ASP.NET MVC BETA 2. Some of the reading that I have done is very critical of the buddy class approach because it isn t DRY (Don t Repeat Yourself) and because it puts the buddy class in the model layer and not in the web layer. I understand these arguments and through lots of searching I found an old reference to the MVC Toolkit 3.5 Preview 1.
Inside the toolkit is an XmlMetadataProvider. It is fairly basic but easy enough to extend. This would put the meta data for the model into an XML file with the web project and it seems that it would solve the issues raised by others with the Buddy Classes.
Does anyone have any thoughts or feedback on this toolkit approach? Have you used it? Do you know where I can get a more up to date example?