RIA Services versus WCF Services

前端 未结 7 2068
臣服心动
臣服心动 2021-01-04 03:07

I\'m rewriting an LOB application whose architecture is like this:

Silverlight && Windows Mobile -> WCF -> Entity Framework -> Database.

7条回答
  •  忘掉有多难
    2021-01-04 03:16

    WCF RIA Services introduces several solutions for challenges you run into when using WCF from Silverlight. For instance, asynchronous loading of queries using the EntityQuery is much easier than the Begin..End solution offered by WCF. Also, RIA provides integrated change tracking from your client that allow to submit or reject multiple changes as one change set. RIA will bundle all these changes into one request, but from your Domain Service it behaves as it were individual calls. As a long time WCF developer I can tell you that that is a breeze.

提交回复
热议问题