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
1 answer

WCF RIA's HasChanges for EntityFramework

I'm currently converting some code over from Silverlight/WCF RIA Services to WPF/Entity Framework. The codebase made extensive use of the HasChanges property of the RIA Domain Context. The view would bind to this property to determine button states.…
Andrew Garrison
  • 6,977
  • 11
  • 50
  • 77
4
votes
1 answer

WCF RIAServices Querys that throw exceptions have caching problems

We have a problem with HTTP Response caching when using WCF RIA Services with Silverlight. Server side, we have a simple DomainService GET method with no caching specified, like this: [OutputCache(OutputCacheLocation.None)] public…
GarethOwen
  • 6,075
  • 5
  • 39
  • 56
4
votes
2 answers

Enterprise design pattern online learning resource

There are numerous resources/tutorials/samples available for OO design patterns like GoF. Are there any similar resources/tutorials/samples available online for enterprise design patterns. I went through Martin Fowler's website but it is not for…
Sandeep G B
  • 3,957
  • 4
  • 26
  • 43
4
votes
2 answers

Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it

I have followed this tutorial for building my chat application. When I try to add reference of my service I get the following error: Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to …
Taha
  • 1,086
  • 1
  • 10
  • 20
4
votes
4 answers

RIA Services exposing nested objects

I am having an issue exposing my nested object VIA WCF RIA Service. Example of business objects (not tied to DB) public class User { public string Name { get; set; } public Product Product { get; set; } } The user object will come to my…
Pawan
  • 293
  • 1
  • 3
  • 13
4
votes
1 answer

What's the difference between .shared, .metadata and .partial files in Silverlight RIA applications?

I have seen these 3 file types around, though not in the same application. What are they, what is the difference between them and are there any other special extensions to know about?
RichC
  • 45
  • 3
4
votes
2 answers

Resharper intellisense isn't working with generated file

I used the feature provided in the RIA Services Toolkit to automatically generated a service client to a WCF service when you build the project. The generated file is placed in ...\GeneratedWcfClientCode\ServiceReference.cs The project compiles and…
grimus
  • 3,175
  • 2
  • 18
  • 26
4
votes
1 answer

How can I get details about a Silverlight code generation exception?

I'm getting the following error now when I build my Silverlight Business Application: The code generator 'Microsoft.ServiceModel.DomainServices.Tools.CSharpCodeDomClientCodeGenerator' encountered a fatal exception and could not generate code…
Jordan
  • 9,642
  • 10
  • 71
  • 141
4
votes
3 answers

Trouble deploying WCF Ria Services app to IIS6 - EndpointNotFoundException The service Web-AuthenticationService.svc does not exist

We are trying to deploy a Silverlight + WCF RIA Services application to an IIS 6 web server. When the silverlight application starts in the browser I get an error. Using Fiddler, I can see the real error: EndpointNotFoundException The service…
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
4
votes
1 answer

Include() in EF4 using RIA Services Domain Service not loading!

I am having trouble returning multiple entities (eager loading) using the Include() method. I am trying to load the entites in a silverlight application using RIA services. The Data Model consists of the following relationships: Events.ID =…
4
votes
2 answers

Do I need to call my domain service's context.SaveChanges after adding a new entity?

I am building an application based on Ria Services. Amongst the default methods that were built by the Visual Studio Wizard, I can see the ones that should insert and persist new data. For example: public void InsertCustomer(Customer customer) …
Anthares
  • 1,041
  • 1
  • 13
  • 30
4
votes
2 answers

using Windows integrated authentication with SqlRoleProvider in silverlight application

I am working on web application that requires that users are put into roles and are given different permissions based on their roles. This can be easily done by using Forms Authentication and SqlRoleProvider. But, application will be used internally…
grabah
  • 165
  • 2
  • 16
4
votes
1 answer

Using WCF RIA Services SP1 how do I consume a stored procedure via an entity framework complex type?

I'm struggling with stored procedure use in SP1 of WCF RIA Services via Entity Framework 4 Complex Types. I found only a couple of helpful links here and here. Prior to SP1 I had to return a collection of Entities (not Complex Types). I was forced…
4
votes
2 answers

Is it possible to use Silverlight RiaServices without IIS?

I want to use silverlight as my windows service interface. For that, I'm using a custom web server to provide the xap file and it works fine. Now I want to use RiaServices, but of course I there is no IIS involved. Here is my…
andrecarlucci
  • 5,927
  • 7
  • 52
  • 58
4
votes
1 answer

Are WCF Data Services dead for Silverlight?

WCF RIA Services just got updated few days ago. WCF RIA services got complex objects, TT templating, etc. WCF RIA Services have (by default) fast and compact binary transport. WCF Data Services have bloated XML AtomPub format. Is Microsoft…
Lex Lavnikov
  • 1,239
  • 9
  • 18