I use disposable email addresses pretty aggressively. When I need to give someone (specifically websites) an email address, I create an address specific to that site. This has allowed me to easily block those sites that send me spam (or sell my data). I am very disciplined about this and...
[Read More]
RIA Services Validation: Entity-Level Validation
In my last post, I went over some cross-field validation scenarios and provided some sample code, including a CompareValidatorAttribute. We’ve now covered single-field validation and cross-field validation, but there’s yet another level of validation supported by RIA Services—Entity-Level validation. As you’ll see in this post, entity-level validation is very similar...
[Read More]
RIA Services Validation: Cross-Field Validation
I frequently hear questions about how to perform cross-field validation in RIA Services. Before thoroughly covering this topic*, I wanted to be sure to go through some simple scenarios, show how to use CustomValidationAttribute, how to derive from ValidationAttribute, explain how validation rules are propagated to the client, and what...
[Read More]
Old Navy Marketing Idea–Encouraging Weight Loss
This is way off topic for my blog; it has nothing to do with technology. Feel free to turn around and go home now. But if you have ever hesitated to buy new clothes because you were planning to lose weight, you might want to stick around. I just submitted...
[Read More]
RIA Services Validation: Validation Triggers
My goal with this blog post series is to provide an end-to-end tour of how RIA Services validation works and how you can leverage its capabilities to build rich, responsive applications. A key factor for making the most of validation is fully understanding when and how RIA Services invokes your...
[Read More]