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

WCF-RIA Services Client OutputCache - not working in IE with localhost

We are using the WCF-RIA Services in our project. On part is a search which will trigger a RIA request on the server. For this request we have enabled the Client output cache using this attribute: [OutputCache(OutputCacheLocation.Client, duration:…
stefan.s
  • 3,489
  • 2
  • 30
  • 44
5
votes
1 answer

Select ListBox item only on Click or Enter key in Silverlight

When I populate a ListBox with RIA Services, an item is automatically selected. This triggers the SelectionChanged event. If I move the selection up or down with the arrow keys, the event also gets triggered. I don't want this. I want the user to…
Shawn Mclean
  • 56,733
  • 95
  • 279
  • 406
5
votes
2 answers

How to force RIA Services to include a sub-entity in one Query method but not another

Here's the scenario: I've got an association between "Groups" and "Users, represented by a "UserGroupAssignment" object. public class UserGroupAssignment { [Key] public virtual long Id { get; set; } [Association("UserAssignmentToUser",…
Rammesses
  • 410
  • 5
  • 12
5
votes
2 answers

Use EF4 DbContext with Domain Service

I built my data access layer with the new code first stuff from Entity Framework 4, with a class derived from DbContext and various DbSet members. Now I'm expanding to Silverlight and want to use WCF RIA services to access the DB. Do I have to…
Thomas
  • 3,348
  • 4
  • 35
  • 49
5
votes
2 answers

Silverlight with RIA services on IIS 10.0 results in 404 error

Trying to migrate an existing working Silverlight application with WCF RIA services from IIS 6.0 to IIS 10.0 on Windows Server 2016 but the application fails returning 404 errors. When I install Visual Studio on the server and try running the…
Dennis R
  • 3,195
  • 1
  • 19
  • 24
5
votes
2 answers

Where is System.ServiceModel.DomainServices.EntityFramework DLL?

I'm trying to use RIA services, I installed Silverlight 4 and Silverlight 4 Tools/SDK, but I cannot setup a LINQToEntitiesDomainService because I can't find this namespace/assembly: System.ServiceModel.DomainServices.EntityFramework. Where does…
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
5
votes
2 answers

Visual Studio 2015 Silverlight Ria Services project references

I just installed Visual Studio 2015 Professional, and it installed correctly. But starting to work on a Silverlight project, I had a problem with the RIA Services proxy project in my solution (the silverlight project that references the RIA servies…
h_djebli
  • 2,569
  • 2
  • 16
  • 15
5
votes
1 answer

Customize a WCF RIA Services Endpoint

Is it possible to customize the parameters of a WCF RIA Services endpoint? Specifically, I would like to create a custom binding for the endpoint and increase the maxReceivedMessageSize to allow sending the contents of a file that is a few megabytes…
Andrew Garrison
  • 6,977
  • 11
  • 50
  • 77
5
votes
4 answers

Difference Between WCF Service, WCF RIA Services, and WCF Data Service

What is the difference between WCF Service, WCF RIA Services and WCF Data Services?
Asim Sajjad
  • 2,526
  • 10
  • 36
  • 73
5
votes
1 answer

DomainContext sometimes still HasChanges after SubmitChanges completes

I have a very simple server model that includes a parent entity with a [Composition] list of child entities. In my client, I have 2 functions. One function removes all the child entities from the parent and the other removes all and also edits a…
joshuapoehls
  • 32,695
  • 11
  • 50
  • 61
5
votes
3 answers

Best resources to learn WCF RIA Services

What books, videos, articles are you looking at to learn how to use the newly released [WCF RIA Services][1] for Silverlight?
Andrew Garrison
  • 6,977
  • 11
  • 50
  • 77
5
votes
1 answer

partial entity loading and management in silverlight / wcf ria

I have a Silverlight 4 app which pulls entities down from a database using WCF RIA services. These data objects are fairly simple, just a few fields but one of those fields contains binary data of an arbitrarily size. The application needs access to…
Dan Wray
  • 689
  • 1
  • 5
  • 17
5
votes
1 answer

Ria Services vs WCF Dataservices

My Team are evaluation to a bigger Business portal. (Invoicing, Bookkeeping, Salaries.....) We are all used to work with DDD, O/R mappers with NHibernate as our first choice. We have chosen to work with CompositeWPF to keep modularity between all…
NPehrsson
  • 1,548
  • 18
  • 26
5
votes
5 answers

What is the equivalent of LINQ-to-SQL for Silverlight?

I have a WPF application that uses LINQ-to-SQL on a local .MDF file. This solution is simple, easy, and effective, i.e. I set up my model once, then read/write data anywhere via LINQ: using (var db = Datasource.GetContext()) { …
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
5
votes
1 answer

What are the key features/benefits of RIA Services?

I am currently researching .NET RIA Services however I am having trouble finding a definitive list of the benefits of RIA services compared to plain WCF to Silverlight, or event a list of the key components that make up RIA Services. I also find it…
SciFi
  • 449
  • 2
  • 10