Validation

Validation
Reusable, Maintainable, and Extensible WCF Security

Lately I’ve been having a lot of fun architecting and developing a Silverlight project at work that uses WCF to communicate with a backend CMS system. One of the challenges however, was coming up with a reusable, maintainable, and extensible means of applying security to the WCF services. My solution just happens to be the topic of this post. Luckily, I stumbled upon a post by David Betz (Understanding WCF Services in Silverlight 2) in which he walks the reader through a thorough tutorial on the proper way of using WCF with Silverlight. If you haven’t already read Understanding WCF Services...

posted @ Thursday, October 22, 2009 10:34 PM | Feedback (11)

Modifying the DataAnnotationsModelBinder to enable seamless validation in ASP.NET MVC

ASP.NET MVC 2 promises to bring us a seamless client-side/server-side experience much like we currently have in WebForms. However, for those of us developing web apps in MVC 1 we’ve had to resort to rolling our own solution or using a patchwork of validation components. In this post I’ll briefly discuss modifications I made to the DataAnnotationsModelBinder so it would work with DataAnnotations, xVal, and jQuery.Validate. xVal If you’re not already familiar with xVal, I’d suggest checking out its Codeplex site and and reading this blog post. DataAnnotations The DataAnnotations namespace was introduced in .NET 3.5 SP1 and provides developers the means to declaratively...

posted @ Saturday, October 10, 2009 3:26 PM | Feedback (23)