Search code examples
asp.net-mvcsilverlightasp.net-web-apiwcf-ria-services

Silverlight/RIA Services and ASP .NET MVC/WebAPI


I did some research around but I have some doubts still about following topic...

I have Silverlight/RIA Services project that needs to have ASP.NET MVC look as well as WebAPI for some different clients.

So my question is following

Can we use somehow RIA Services with ASP.NET MVC 5?

And if not what is a painless way to represent all existing logic in ASP.NET MVC?

Thank you!


Solution

  • Ria services have nothing to do with look and feel.

    A Silverlight app or a non plugin, which uses RIA services can be hosted in a web page created using ASP.Net.


    Can we use somehow RIA Services with ASP.NET MVC 5?

    Yes.

    RIA services which could be used by an asp.net backend would not gain the benefit of RIA services because changes made in the backend end are not generated forward to an application such as a Silverlight plugin. It just becomes another way of accessing data.