.net-ria-services

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()) { oldItem = (from i in db.Infos where i.Id == TheId ...

.Net RIA Services: Javascript callback forces full reload of the application

Hi, I've successfully implemented a Javascript call from Silverlight (i'm calling a java applet). When the user finishes using the applet, I'd like to send the data back to Silverlight; so I've created a callback function: [ScriptableMember] public void DoCallback(string svalue) { MessageBox.Show(s, "Value from Appl...

How to tell what name RIA Services/EF Model uses for Associations?

Hi, I'm working on a C#.NET 3.5 WCF RIA Services app and having an issue with my Entity Framework model. My entity Foo is mapped to a DB table and has a primary key called FooId. My Bar is mapped to a DB view. I've selectively designed this view to generate a composite key in the EF using two of the columns (by making sure they were non...

VS2010 RC: Add new domain service class wizard entities list is empty

Greetings! I am going through Brad Abrams' SL4 + RIA Services series. Right now I am here: http://blogs.msdn.com/brada/archive/2010/03/15/silverlight-4-ria-services-ready-for-business-exposing-data-from-entity-framework.aspx. When I get to the "add domain service" step and the wizard asks you what entities you want to expose, the list ...

Which is the most suitable method for Data Access in Silverlight 3?

We are planning to move to Silverlight 3 for application development because we want to take advantage of more flexible UIs and easier deployment. We have previously used Winforms with ADO.Net and SQL Server for data driven applications. I've briefly looked at some of the options for data access with silverlight such as Entity Framework...

.Net RIA Services missing datacontext

After adding a domain service class, there are no datacontext classes for me to select from! What can I do to remedy this? ...

JSON endpoint with .NET RIA Domainservice

I have created a RIA-service and added a JSON endpoint following this tutorial: http://www.c-sharpcorner.com/UploadFile/pchandraker/1320/. When testing it in the browser, hitting http://localhost:52878/Project-Web-DomainService.svc/json/GetProjects returns nothing. When inspecting the request in Firebug, neither the response headers o...

Example for using WCF RIA Services with Prism?

Is there a current and good example how to use WCF RIA Services together with Prism? There's a lot of information about each topic. But at the moment I can't see how to put everything together into a "real world" LOB application. ...

.NET Ria Services protocol support

The .NET Ria Services are working only with the HTTP binding ? What about TCP or namedpipes ? ...