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
4
votes
0 answers

Modifying Request Validation for Lightswitch WCF RIA Services

I have a VS2010 Lightswitch application which uses a number of services which I've developed in a separate DLL and added to the application as WCF RIA Services. My problem is that some of these service calls include string parameters that can…
Emmanuel
  • 3,475
  • 6
  • 29
  • 45
4
votes
2 answers

RIA Services Server Side Exception Handling

I am trying to find out a way to handle unhandled exceptions at server side. I want control over exception handling at Domain Service level so that when any operation is called then I can log the exception and wrap it in some beautiful words to send…
Gaurave Sehgal
  • 119
  • 3
  • 11
4
votes
2 answers

Silverlight 5 WCF Ria Services 404 Error on IIS 5

I've developed .an application using Silverlight and WCF Ria Services. The application must be host on windows XP machine that uses IIS 5. Due the information i found on web I did deploy application without any problems. But now when my application…
Unforgiven
  • 1,999
  • 5
  • 19
  • 18
4
votes
1 answer

Entity Framework: "The member in the conceptual model is not present in the OSpace"

I'm using RIA Services July CTP in a Silverlight app and when I change the name of a navigation property I get the following error: Error 119 The Member 'TestUsers' in the conceptual model type 'MyModel.UserGroup' is not present in the OSpace …
James Cadd
  • 12,136
  • 30
  • 85
  • 134
4
votes
1 answer

Run RIA service on non UI thread

I am trying to make RIA service calls from non UI thread. I made calls with opening new thread and with background workers, but for both cases callback is running on UI thread. Is it possible to execute callback on callers thread, not UI? Thanks
4
votes
1 answer

Proper handling of DomainOperationException

In my Silverlight application I want properly handle different server errors. I created handler for DomainOperationException but there I want to get more specific information about root cause of a problem and provide more clear messages for user. …
Anatolii Gabuza
  • 6,184
  • 2
  • 36
  • 54
4
votes
3 answers

Visual studio sp1 error: RiaServices.msi is unavailable

I'm have been trying to install the sp1 for visual studio 2010. I have first downloaded vm_web and Silverlight4_Tools, both of which seemed to install fine. I tried to open VS2010 and got the error, Only some of the Microsoft Visual Studio 2010…
3
votes
1 answer

Error: The following exception occurred creating the MEF composition container

I have RIA Services application And I got this warning The following exception occurred creating the MEF composition container: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. …
NoWar
  • 36,338
  • 80
  • 323
  • 498
3
votes
1 answer

Is it possible to use RIA Services and EntityFramework.Migrations together in a project?

On NuGet there are packages: EntityFramework.Migrations EF 4.3.1 EF 4.1 RIA Services, which depends on EF < 4.2. EntityFramework.Migrations doesn't work, because it is now included in EF 4.3+ I'm using Code First approach, so I need the…
Tomasz Pluskiewicz
  • 3,622
  • 1
  • 19
  • 42
3
votes
1 answer

WCF DataService with Entity Framework: TimeSpan support

I am trying to create a WCF Data Service over an Entity Framework Object context that exposes a number of System.TimeSpan properties. However, when I try to access the service, I get the following error: 'The property 'ScheduledDepartureTime' on…
Martin Robins
  • 6,033
  • 10
  • 58
  • 95
3
votes
1 answer

RIA Services Invoke Operation return Complex Type with Entity properties

Look at this complex type, which is basically a DTO that wraps some entities. I don't need to track these entities or use the for updating or any of that stuff, I just want to send them down to the client. The stuff at the top are non-entities just…
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
3
votes
2 answers

Why can't I project a `TimeSpan` across RIA using `TimeSpan.FromMinutes`?

I have combined RIA Services with Entity Framework using POCO's. It's all worked wonderfully (way better than LINQ to SQL). The problem that I have is with the following segment of code: [Query] public IQueryable GetMyEntities() { …
Jordan
  • 9,642
  • 10
  • 71
  • 141
3
votes
3 answers

Creating a WPF front end for a Silverlight 3.0 application

I'm considering creating a WPF front end for a Silverlight application. Since Silverlight generally has the smaller subset of functionality this should be possible, but I'm not sure the best way to approach the problem. From the outset, let me say…
James Cadd
  • 12,136
  • 30
  • 85
  • 134
3
votes
2 answers

Where is the best place to put Business Rules in a Silverlight MVVM RIA Services application?

Where is the best place to put business rules in an RIA Silverlight application? I thought the Domain Service would be a good spot except it seems to only share Data to the client tier. I don't think the ViewModel is a good idea since we should have…
Robert Kozak
  • 2,043
  • 17
  • 33
3
votes
2 answers

WCF Data Service vs WCF RIA Service

I need to evaluate SOA architecture between WCF Data Services vs WCF RIA Services. Following are some of my parameters: Multiple Client (HTML5/iOS/Android/Windows 8 Metro/Windows Phone 7) Disconnected and offline operation Validation…
Ankush Gupta
  • 205
  • 5
  • 14