Silverlight TV 18: WCF RIA Services Validation

Download

Right click “Save as…”

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Note: These selections will fall back to the next best format depending upon browser capability.

Close

Just prior to MIX10, Nikhil Kothari appears on the show to demonstrate some of the key advantages around validation when using WCF RIA Services. He demonstrates how to use a Domain Service to expose your domain model and how to create a custom service method to further filter your data server side. Nikhil also shows how the Domain Services generates validation rules using the database attributes such as required fields or maximum string lengths. Other topics Nikhil covers:

  • Domain service generated services and validation
  • Custom service methods
  • Adding your own validation attributes
  • Creating custom validation methods for server and client
  • Creating cross property validation in an entity
  • Creating server only validation that may be called asynchronously from the client
  • Showing validation errors to the user

Relevant links:

Follow us on Twitter @SilverlightTV 

Tags:

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.