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
10
votes
3 answers

RIA Services vs ADO.NET Data Services

I'm currently in the process of creating a Silverlight 3 data driven application. To access the database, 2 common approaches are used: RIA Services and ADO.NET Data Services. Does anyone have any guidance on when/why to choose each approach? …
Cody C
  • 4,757
  • 3
  • 29
  • 36
10
votes
8 answers

What is .NET RIA Services?

Can someone explain it succinctly? Can it be used with non-Silverlight clients?
Brian
  • 5,826
  • 11
  • 60
  • 82
10
votes
1 answer

weird error with RIA Services "code generator encoutered a fatal exception"

This is the second time that I have this really weird problem with WCF RIA Services! the sad thing is that I had to solve the problem twice, going through the different hoops again :(, even though I've left a note to myself pointing to the solution…
AbdouMoumen
  • 3,814
  • 1
  • 19
  • 28
10
votes
1 answer

Custom DataAnnotations with RIA Services

This is a word of warning more than a question, if you are using RIAServices with Custom ValidatorAttributes. Here is the Senario, I was creating a custom DataAnnotation that would validate a property based on whether or not a possible series of…
Agies
  • 1,105
  • 8
  • 12
9
votes
2 answers

Why does this database connection fail when "Application Name=application" is in the connection string?

We're writing a multi-tenanted Silverlight application. The user logs in using Windows Forms authentication and we pull the connection string for that user from a table. The string was of the form: Data Source=1.2.3.4; Initial Catalog=database;…
ChrisF
  • 134,786
  • 31
  • 255
  • 325
8
votes
1 answer

Silverlight RIA Services - How To Best Handle Client Auth Session Timeout?

I built an app with Silverlight4, RIA Services, and I'm using ASP.NET Membership for authentication/authorization. My web.config has this:
8
votes
2 answers

Combining .NET RIA Services and MVVM in Silverlight 3.0

When using .NET RIA Services and MVVM in Silverlight 3.0 is there a difference between the Metadata type from RIA Services and the ViewModel from the MVVM pattern? Are these the same thing or should they be keep separate? The metadata type is a…
Robert Kozak
  • 2,043
  • 17
  • 33
8
votes
1 answer

Windows Workflow, WCF Ria services & Silverlight Example

I'm looking for an example of using Windows Workflow as a server-side 'business logic' layer, with WCF RIA services handling the communication to and from a Silverlight UI. Been googling for examples, but can't seem to find any. If anyone can…
JJalenak
  • 123
  • 8
8
votes
1 answer

WCF / WCF Data Services / WCF RIA Services

Not to add another SO post regarding the different WCF stacks, but I want to make sure I'm heading in the right direction before I waste more development time... My scenario - Our company has a number of web apps that all access the same series of…
Steve
  • 81
  • 3
8
votes
1 answer

Convert Silverlight APP to HTML5 SPA – tools and technologies

My team is working on a strategy to convert our cloud based Silverlight app to HTML5 app. Although we have been working on formulating a strategy to find best possible set of tools, technologies, and methodologies to convert our App to HTML, I am…
8
votes
1 answer

When to use WCF data services and when not?

For which applications or development scenarios the usage of WCF Data Services makes sense and when other technolgies are the better choice (for example WCF RIA Services, ADO Entity Framework, classical ADO.NET, simple services or whatever) ?
Kottan
  • 4,944
  • 9
  • 41
  • 67
8
votes
2 answers

How much business logic belongs in RIA services layer?

I have been experimenting recently with Silverlight, RIA Services, and Entity Framework using .NET 4.0. I'm trying to figure out if that stack makes sense for use in any of my upcoming projects. It certainly seems like these technologies can be…
8
votes
4 answers

Silverlight 4 WCF RIA Services and MVVM is not as simple

[Disclaimer: I'm ASP.NET MVC Developer] Hi, I'm looking for some best practices with implementing MVVM pattern with WCF RIA in Silverlight 4. I'm not looking to use MEF of IoC for locating my ViewModels. What I would like to know is how to apply…
Tomasz Jaskuλa
  • 15,723
  • 5
  • 46
  • 73
8
votes
3 answers

How does the "is" keyword work?

More specifically, why does this work: foreach (ChangeSetEntry changeRow in changeSet.ChangeSetEntries) if (changeRow is RouteStage) { ... } but this not? ChangeSetEntry changeRow = changeSet.ChangeSetEntries[0]; if (changeRow is…
john_cat
  • 354
  • 2
  • 8
8
votes
10 answers

WCF RIA Service deployment issue

I have a very simple sample silverlight application. I added a domain service to it with an entity model that has one entity. The client app simply loads all rows in the entity at startup. When I run this on my development box, it works as expected.…
Dragan
  • 171
  • 1
  • 1
  • 7