September 2011 Blog Posts

RIA Services updates for //build

At //build, Dinesh Kulkarni from our team gave a presentation alongside Asad Khan from the OData team.  They showed RIA/JS consuming both a RIA Services DomainService as well as an OData feed from Azure.  Dinesh also showed RIA/JS working in the browser, in a Win8 Metro Style app, and on an iPhone using PhoneGap.  You can watch their talk on Channel 9. To coincide with their talk, the RIA Services team published updates for RIA/JS: Updated RIAServices.jQuery NuGet package New RIAServices.jQuery.Sample NuGet package WCF RIA Services Toolkit...

posted @ Friday, September 16, 2011 6:07 PM | Feedback (4)

RIA Services Validation: Available on GitHub

I’ve gotten quite a few requests for the source code behind the RIA Services Validation blog post series.  I am pleased to announce that the code is now published on GitHub. http://github.com/jeffhandley/RIAServicesValidation Within that repository, you’ll find: RudeValidation.Web/Models – Server-side model classes RudeValidation.Web/Validators – Custom validators including CompareValidator, ConditionallyRequired, and DateValidator RudeValidation/Views – Sample screens showing the validation in action RudeValidation/ViewModels - Where you’ll find the sample ViewModel as well as the very simple ViewModelBase If you’re not familiar...

posted @ Tuesday, September 6, 2011 11:50 PM | Feedback (2)

RIA Services Validation: ViewModel Validation with Entity Rules

For those of you familiar with the ViewModel (or MVVM) pattern, you are likely also familiar with a typical pain point regarding validation: you often need to duplicate your entity validation metadata onto your ViewModel classes.  This can lead to burdensome dual maintenance of your validation rules, and it can seem very frustrating that with the server to client metadata propagation that RIA Services offers, your ViewModel classes are left dangling out there for you to manage yourself.  In this post, I’ll illustrate a utility I created that allows a ViewModel to assume validation metadata from model classes or properties,...

posted @ Tuesday, September 6, 2011 11:31 PM | Feedback (5)

Business Application Project Login / Registration Disables Everything

There is a known issue with WCF RIA Services V1.0 SP2 RC’s Business Application project template.  The issue only surfaces in Silverlight 5, and there’s an easy way to fix it.  We determined the root cause of this issue after it was too late to fix it in time for the RC release, but the correction is in place for the RTW (final) release of SP2. This bug surfaces after you create a new project after installing RIA Services SP2, using the Business Application project template, and then an end user registers or logs in.  After completing the registration/login...

posted @ Saturday, September 3, 2011 3:42 PM | Feedback (5)

WCF RIA Services V1.0 SP2 RC

On September 1, 2011, Silverlight 5 RC was released.  As always, RIA Services is included in the Tools for Silverlight, and that release included our V1.0 SP2 RC build.  And also as always, we published a standalone installer for RIA Services.  You can find it on the download center.  The silverlight.net/getstarted/riaservices page will get updated soon to include the link to this build. This release is one more step toward closing down our SP2 release, and we fixed a number of bugs since SP1.  Some notable differences between SP1 and SP2 are: DateTimeOffset is supported...

posted @ Friday, September 2, 2011 6:25 PM | Feedback (11)