I’m performing a free webinar today for DevelopMentor: Turbocharge Silverlight Development w/WCF RIA Services. It’s taking place today, Wed April 20, 2011, at 3 pm pst, 11 pm bst. Here’s the description:
Writing a full-fledged Rich Internet Application presents a number of
daunting challenges: forced n-tier, async, latency, validation, concurrency,
and authentication. WCF RIA Services simplifies and streamlines the process
with support for query composability, change-tracking and batch updates,
attributes for presentation and data validation, shared code and async
support. In this seminar Tony will pull back the curtain to show you how
RIA Services performs its magic, and he’ll provide tools and techniques to
reduce the time and effort required to build Silverlight business
applications.
You can download the slides and demos here: http://bit.ly/ria-webinar.
You can download the screencast recording for offline viewing on your pc or mobile device.





The slides have a footer with Silverlight 2.0 in them and 2007/2008 – these really aren’t SL 2 slides are they? What version is this geared towards, SL4, SL5?
Hi Jason, The footer is old – should be SL4. That’s the version this applies to.
Cheers,
Tony
Pingback: Validation with Simple MVVM Toolkit | Tony Sneed's Blog
Hey Tony,
I wonder if you could point me to some examples of RIA services which Add records with more than one related record. Every example I find has one main table and a static lookup table. I need to add records into the local data context which will have to save parent first and then related child. And, how would this be done if you are adding multiple records before invoking save changes. The parents would all have zero Ids and the children would all be unrelated. The way I have done this in the past with web forms is to give the record sets temporary keys.
RIA Services does change tracking on the client in order to handle batch changes. All you have to do is add the parent and child records using the Domain Context, then save the changes. RIA will flag the records as Added and send them all over to the service in one trip, where they will be persisted in the correct order within a single transaction. If the primary keys are identity columns, the values inserted by the database will be propagated back to the client. It all just works.
I’m not sure if I can find a sample of doing this, but it should be pretty easy to pull off. Let me know if you need help and I’ll see if I can’t put something together.
Cheers,
Tony
Thanks for the reply, Tony. Sorry to bother you with this, but I can’t find examples. So I am following it through and I have a detail record to add which has an associated record, an Incident and the IncidentHistory. (In the final application I will have several more related tables.) I will have a detail view on which I will present to the user elements of both records for input. In the IncidentDetailViewModel, then I will need to instantiate the view model passing both new records in. How then do I do the constructor? The ViewModelDetailBase passes in only one new record type.
ie.
public class IncidentDetailViewModel : ViewModelDetailBase
Of course I may just be missing the key point.
I think we got it now, Tony. Thanks.
Pingback: WCF RIA Services | UserGroup.tv