Silverlight TV

Silverlight TV 74: What's New in RIA Services

Download this episode

Download Video

Description

In this episode, Deepesh Mohnani of the WCF RIA Services team discusses all of the new features introduced since the initial RIA Services release. These include expanded localization support, improved MVVM support, Windows Azure table storage, datetimeoffset, operation tag, jQuery client, and more. Deepesh dives deep into how to use custom code generation, complex types, and shared entities. He also hints at possible EF Code First support in the near future.

Relevant links:

Follow us on Twitter @SilverlightTV or on the web at http://silverlight.tv

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • sgtz

      Pity you guys didn't release this POCO stuff last month.  You could have saved me a large workaround. Never mind.  Still, this is very handy.  I need to come back to this.  Glad to see the constant stream of improvements comming out.

      Could you say a little about serialization and the efficiency of using POCO over RIA Services?  What's going on in terms of the TCP/IP packets?  I like the features (security, attributes, validation), but would like to get a feel for what the trade-offs are.

      The comparison is slightly unfair, but lets say we used custom .ashx handlers instead.  What is the overhead assuming we use the same serialization method underneath?

    • Mark

      Odd. This doesn't play for me in FF 4 or IE 8. I've watched these videos before.

    • bill

      This video seems to work for me only in mid quality
      wmv.

    • devsainii

      It's video quality is not much good as they said.

       

    • Shimi Weitzhandler

      I am badly waiting for RIA support on 4.1 model-first (LinqToEntitiesDomainContext<TContext> where TContext : DbContext - is's not supported yet).

      Also, you shouldn't have to decorate your POCOs with the nasty Key attributes, the goal is to have generated POCOs that RIA processes and decorates automatically for the client (perhaps via DomainDescriptionProvider).

      Anther thing I couldn't come along is how to share interface implementations over the wire, please vote for it.

      My wet dream is model-first only, and this should generate database (should have more options), server entities, auto-decorated client DTOs that implement interfaces generated from POCOs (undecorated at all) + full MVVM support (i.e. relaxed while very extesible data manipulation controls for the VMs that can be (or not) exposed to the Views)

    • Fabio

      The Silverlight video's quality is a shame!
      Please get it better!

    • daveoggy

      The T4 process as described in this video doesn't work. Have some settings or extra steps been glossed over? Is there somewhere I can find a more comprehensive example?

    • deepeshm
    • daveoggy

      Thanks Deepesh. The detailed example was written in December 2010 so I assume against the older toolkit? Has anything changed since then in the April release?

      Edit: To answer my own question it seems that the <RiaClientCodeGeneratorName> tag in the project file is no longer required.

      It also looks like the step missing from the video above is the creation of this class:

          [DomainServiceClientCodeGenerator("MyCustomGenerator", "C#")]
          class MyCSharpClientCodeGenerator : CSharpClientCodeGenerator
          {
              protected override DomainContextGenerator DomainContextGenerator
              {
                  get
                  {
                      return new MyDomainContextGenerator();
                  }
              }
          }

      Was this just forgotten or is this requirement also supposed to have been removed?

    • Lori

      Hi Deepesh,
      Loved this demo but tough to see the code. Do you have the code to download so we can open it and follow along better?
      Thanks!

    • deepeshm

      @Lori - i will clean up the code and put it up in a different location. Are you looking for a particular sample? Maybe i could send that to you earlier.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.