locked
Why WCF RIA service created RRS feed

  • Question

  • User-389597101 posted

    Why WCF RIA service created for silverlight. Why can't we use WCF. What is the additional benefit WCF RIA service is giving?

    Sunday, January 22, 2017 5:51 PM

Answers

  • User753101303 posted

    Hi,

    If I remember it was mainly some additional tooling on top of WCF to ease client and server side integration (including sharing your own code on both sides if needed). It was also likely to better support and push SL at this time. Try perhaps https://msdn.microsoft.com/en-us/library/ee707344(v=vs.91).aspx for more details.

    Not sure if it does worth to investigate further. SL fades away so for new stuff it's perhaps best to just stay away from RIA services and SL...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 24, 2017 6:47 PM

All replies

  • User-2057865890 posted

    Hi Karang,

    WCF RIA Services simplifies the development of n-tier solutions for Rich Internet Applications (RIA), such as Silverlight applications.

    reference:

    https://msdn.microsoft.com/en-us/library/ee707344(v=vs.91).aspx

    http://www.c-sharpcorner.com/uploadfile/mahadesh/silverlight-5-wcf-ria-services-part-1/

    Best Regards,

    Chris

    Tuesday, January 24, 2017 10:07 AM
  • User-389597101 posted

    Hi Chris

    Thanks for the reply. But why WCF RIA service as we can call WCF service directly from the client side as well then why it was required to create another technology "WCF RIA service" on top of WCF framework.

    Let me consider an example in which I have three type of applications

    1. Console application
    2. Web application client i.e. browser
    3. Silverlight application

    Let us consider that the business logic and data access logic is written in WCF service. Let us consider the cases of all the 3 applications

    1. Console application can call the WCF service (A proxy is created on the client side)
    2. In web application, we can call WCF service using JavaScript (using ajax method)
    3. In silverlight application, we need to call business and data access logic using a new technology called WCF RIA service (which runs on top of WCF).

    Why case no 3 is different. Any particular reason?

    Tuesday, January 24, 2017 4:55 PM
  • User753101303 posted

    Hi,

    If I remember it was mainly some additional tooling on top of WCF to ease client and server side integration (including sharing your own code on both sides if needed). It was also likely to better support and push SL at this time. Try perhaps https://msdn.microsoft.com/en-us/library/ee707344(v=vs.91).aspx for more details.

    Not sure if it does worth to investigate further. SL fades away so for new stuff it's perhaps best to just stay away from RIA services and SL...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 24, 2017 6:47 PM