Updated RIA Services + MVVM Example

Url: http://wildermuth.com/downloads/RiaXBoxGames.zip

Silverlight Architecture

A few months I wrote a series of articles on using RIA Services in a structured MVVM application. The article series was more of a thinking-out-loud exercise than a tutorial, but it makes and interesting read. Here are the four parts:

Now that Visual Studio 2010 and Silverlight 4 have RTM'd.  I've updated the example to the latest bits.  You can get it here:

RIAXboxGames.zip 

 

Comments

Gravatar

Ronald Saturday, April 17, 2010

Thanks Shawn, I've learned so much from these series!

Gravatar

Braulio Monday, April 19, 2010

Nice to have a ready to compile sample :-).

Reference as architected app, reference for breaking changes on the RTW as well.

Gravatar

JasonBSteele Monday, April 19, 2010

Hi Sean,

Many thanks for this. Would it be possible to also list the pre-requisites?

I have installed these:
Blend 4 RC
Silverlight 4 Toolkit April 2010

But I still have broken references to Microsoft.Silverlight.Testing and Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.





Gravatar

Weidong Shen Tuesday, April 20, 2010

Shawn,

It seems to me that when you want to share resource files between the two projects that have RIA link, it is better to keep the default project namespaces, like "RiaXBoxGames.Data" and "RiaXBoxGames.Data.Web".

Thanks for your sample!

Gravatar

Shaggy Thursday, May 6, 2010

Hi Shawn,
thanks for the series. I used your project as a basis for mine, and used colin blairs posts on creating a n'tier app. I know have authentication as separate proj in the solution and it works well. Data is pulled out via RIA and MEF is used to link with view. Only problem is that the RIA validation has stopped working - now I keep getting unhandled errors, even though validation summary etc are in place.

Any ideas why this could happen?
thanks

Gravatar

Matjaz Thursday, May 27, 2010

Shawn, this series helps me a lot! Thanks!

Gravatar

Toby Friday, May 28, 2010

Shaun,
Thanks for this series. However, with the 2010/4.0 version, I have a lot of broken references, even though I have VS2010 Ultimate RTM and SL 4 SDK and SL Apr10 toolkit installed. I had to remove/re-add quite a few even though they were in the standard install locations. Like C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Bin\System.Windows.Controls.Toolkit.dll for example.
And in the RiaXBoxGames.Client project, you reference Microsoft.Expression.Interactions. Is that from the Expression blend 4 RC package?
[A ha! must be -> Updating <ExpressionBlendVersion> value from '3.1.11111.0' to '4.0.20408.0' in the upgrade_log!]
A readme/pre-reqs file or setup info would be helpful. Thanks!


Leave a Comment

*
*
*