Questions tagged [wcf-ria-services]

Microsoft WCF RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms.

RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks such as data validation, authentication and roles by integrating with Silverlight components on the client and ASP.NET on the mid-tier.

Get Started with WCF RIA Services

1547 questions
32
votes
2 answers

How to use WCF RIA SERVICES with WPF application?

I want to use WCF RIA SERVICES in my WPF application. but WCF RIA SERVICES client only surport silverlight and ASP.NET now, how can I use it in WPF application?
hesion
  • 321
  • 1
  • 3
  • 4
24
votes
8 answers

How to Improve WCF Data Services Performance

I'm new to WCF Data Services so I've been playing. After some initial tests I am disappointed by the performance of my test data service. I realize that because a WCF DS is HTTP-based there is overhead inherent in the protocol but my tests are still…
Simon Gillbee
  • 3,932
  • 4
  • 35
  • 48
22
votes
5 answers

How do I choose between WCF, REST, POX and RIA services for a new Silverlight application

There a lot of different ways a Silverlight application can connect back to it’ server. Including WCF - Windows Communication Foundation REST (see also) ADO.NET Data Services (or is this just REST?) POX - Plain Old XML (E.g basic xml) RIA…
Ian Ringrose
  • 51,220
  • 55
  • 213
  • 317
20
votes
2 answers

RIA Services versus WCF services: what is a difference

There are a lot of information how to build Silverlight application using .NET RIA services, but it isn't clear what is unique thing in RIA that is absent in WCF? Here are few topics that are talking around this topic: [1], [2] But they doesn't give…
Budda
  • 18,015
  • 33
  • 124
  • 206
19
votes
10 answers

The "CreateRiaClientFilesTask" task failed unexpectedly

I've VS 2010 and recently installed WCF RIA Services V1.0. For testing I have created a new Silverligh Business project but now every now and then when I rebuild the solution I receive the following error: Does anybody know why I get…
mrtaikandi
  • 6,753
  • 16
  • 62
  • 93
19
votes
1 answer

RIA Services EntitySet does not support 'Edit' operation

Making my first steps in RIA Services (VS2010Beta2) and i encountered this problem: created an EF Model (no POCOs), generic repository on top of it and a RIA Service(hosted in an ASP.NET MVC application) and tried to get data from within the ASP.NET…
Savvas Sopiadis
  • 8,213
  • 10
  • 34
  • 53
17
votes
3 answers

RIA Services: How can I create custom authentication?

I am working with the Silverlight RIA Services and I want to create custom authentication. This appears to be the only thing that has virtually no documentation (I've read through the entire RIAServicesOverview.docx). Do you know of a way for me to…
Charles
  • 6,199
  • 6
  • 50
  • 66
15
votes
5 answers

Linq To Entities - how to filter on child entities

I have entities Group and User. the Group entity has Users property which is a list of Users. User has a property named IsEnabled. I want to write a linq query that returns a list of Groups, which only consists of Users whose IsEnabled is true. so…
Yeonho
  • 3,629
  • 4
  • 39
  • 61
15
votes
1 answer

MVVM-light + RIA Services best practices

I would like to start a collection of MVVM-light (w/ RIA Services) Best Practices. There are a number of items I have found to be helpful best practices or best approaches, but would like to hear from others using the MVVM-light toolkit and see…
Ryan from Denver
  • 871
  • 9
  • 16
15
votes
7 answers

RIA Services versus WCF Services

I'm rewriting an LOB application whose architecture is like this: Silverlight && Windows Mobile -> WCF -> Entity Framework -> Database. The mobile app was supposed to be able to do certain things as the silverlight app. What benefits would I get…
Shawn Mclean
  • 56,733
  • 95
  • 279
  • 406
14
votes
3 answers

Exception handling in RIA Service

As you know, it's recomended handle exceptions using FaultException with standard WCF service to hide exception details. That's fine but i'm having problem with WCF Ria service. I want to throw an exception from domain service and the client will…
Davita
  • 8,928
  • 14
  • 67
  • 119
14
votes
2 answers

Where does the navigation logic belong, View, ViewModel, or elsewhere?

I a button in a view, bound to an ICommand property of the ViewModel (actually it's RelayCommand from mvvv-light) If the user clicks on the button I want to navigate to a new view. Of course the NavigationService is part of the View not the…
Ralph Shillington
  • 20,718
  • 23
  • 91
  • 154
13
votes
3 answers

Silverlight, DataPager, RIA Services, and smart paging

I'm still trying to get my feet on the ground with Silverlight and RIA Services, and of course starting with some of the more "fun" stuff like grids and intelligent paging. I can connect to RIA Services (using a home-grown ORM, not L2S or EF), get…
Cylon Cat
  • 7,111
  • 2
  • 25
  • 33
12
votes
2 answers

Ria Services Passing Complex Object as parameter to a query domain service method

I'm experiencing some difficulties with a WCF RIA Services similar to the problem specified in this thread. The domainservice method I'm creating (a Query method) should take a complex object parameter. example domainservice method: public…
Stephane
  • 1,042
  • 7
  • 18
11
votes
2 answers

Is CQRS compatible with Entity Framework Self Tracking Enities / WCF RIA Services?

CQRS makes alot of sense. However it seems mutually exclusive to the approach of using an ORM that provides change tracking. If I have one "channel" for queries to get my objects as RO, then theres no changes to track. If I have another channel for…
Josh Reuben
  • 577
  • 3
  • 20
1
2 3
99 100