Deborah's Developer MindScape






         Tips and Techniques for Web and .NET developers.

Archive for May, 2011

May 14, 2011

Tech Ed 2011: Source Code for My Talk

Filed under: ASP.NET RIA Services,General,Silverlight @ 2:00 pm

I am presenting "Microsoft Silverlight, WCF RIA Services, and Your Business Objects" at the Tech Ed 2011 conference in Atlanta on May 18, 2011. You can get the code for my talk from my company’s Web site. Look for the Tech Ed 2011 entry. If you are at Tech Ed, come by and say hi. […]

May 4, 2011

Silverlight/WCF RIA Validation: Metadata Class

Filed under: ASP.NET RIA Services,C#,Silverlight @ 1:05 am

Data annotation attributes are a great way to add single property validation to your Silverlight/WCF RIA application. But what if you don’t want to inject attributes all over your business classes? The purpose of a metadata class is to have a place for all of these attributes external from the business class. NOTE: This post […]

May 3, 2011

Silverlight Validation: Resource File

Filed under: ASP.NET RIA Services,C#,Silverlight @ 2:04 am

Resource files are a great way to manage strings, especially if you need to support multiple languages. This post demonstrates how to use a resource file with the validation attributes used by Silverlight and WCF RIA Services. NOTE: This post is part of a set of validation posts which starts here and it uses the […]

May 1, 2011

Silverlight/WCF RIA Single Property Validation

Filed under: ASP.NET RIA Services,C#,Silverlight @ 9:01 pm

When you identify the validation scenarios for your application, you will find that some only require basic single property validation. Examples: Ensure that a first name is entered. Ensure that the first name is not longer than 20 characters Ensure that the age is between 16 and 120. Ensure that the email address is valid. […]

Silverlight MVVM, WCF RIA Services Simple Sample Application

Filed under: ASP.NET RIA Services,C#,Silverlight @ 5:52 pm

This post provides a simple Silverlight MVVM, WCF RIA Services sample application that is used to demonstrate validation techniques. The sample application is provided in this separate post so it can be readily used with any of the presented validation techniques. NOTE: This post defines a sample application that is used in the validation scenarios […]

Silverlight MVVM, RIA, and Validation

Filed under: ASP.NET RIA Services,C#,Silverlight,VB.NET @ 5:43 pm

One of the biggest challenges of implementing validation in Silverlight is finding the appropriate technique based on your architecture and goals. There are lots of choices and lots of examples, but not all examples work in all scenarios. Plus many examples demonstrate techniques that are no longer necessary or valid in the current version of […]

© 2023 Deborah's Developer MindScape   Provided by WPMU DEV -The WordPress Experts   Hosted by Microsoft MVPs