ria

IDataServiceMetadataProvider / ResourceType.... what for dynamic types with no CLR type?

Hello, I try to expose a database via ADO RIA for which we have only an ODBC based interface. The "database" is a server and new elements are developped all the time, so I would like the server to check metadata at start (using the odbc schema methods) and then expose what he finds via RIA services.... clients can the nregenerate when t...

Silverlight datagrid don't show any data with anonymous query RIA services

Hi all! I have an anonymous linq query that I bind to a datagrid, when I debug it brings alright the data but it doesn't show in the datagrid, I suspect that the request to RIA services isn't completed before I bound it to the datagrid. I could use the LoadOperation<>() Completed event. But it only works with Defined Entities so how can ...

Silverlight -RIA Services-This EntitySet of type <> does not support the 'Add' operation.

In Silverlight project I have this exception when I tried to Add a new object to a DataGrid when a button is clicked. In the DomainService class.. I know I have to implement the Add operation for the new Entity I'm putting, but how can I do that? I mean I did the class, the get method but how do I do the insert operation, I can't see m...

IDataServiceMetadataProvider - Entities dont show up in $metadata.

I am trying to write our own RIA services provider to expose data from a server that I access via ODBC. I follow th eguidelines set out at http://blogs.msdn.com/alexj/archive/2010/03/02/creating-a-data-service-provider-part-9-un-typed.aspx I have written our own IDataServiceMetadataProvider / IDataServiceQueryProvider pair and get no er...

RIA Service - without database?

Helo! I need to write a RIA service to call Java webservices from Silverlight 3.0 app. I'm testing how stuff works and in my Web app I have a MyData class which has 2 properties (int ID, string Text): namespace SilverlightApplication1.Web { public class MyData { [Key] public int ID { get; set; } public ...

Removing entity bug

hello, I am trying out the ria services and I am experiencing this problem that seems very strange to me. I am creating a new entity of type "House" and add it to context without saving the context so the id of the new entity is 0, after i remove this entity and add another new entity of type "House" again and again without saving the co...

WCF Ria Services Error : Load operation failed for query 'GetTranslationProgress'

Hello, I am using WCF Ria Services beta in my silverlight application. I have a long running task on the server which keeps writing its status to a database table. I have a "GetTranslationProgress" Ria Service Query method which queries the state to get the status. This query method is called continuously at a regular interval of 5 seco...

frameworks to support RIA/Web 2.0 technologies

are there any frameworks that can help an application support all/most of the RIA technologies like ajax, flex, javafx, siverlight? essentially a framework and/or tools to help build an application that can support client-side UI components built using RIA technologies. How does GWT fair in this respect? ...

Are WCF RIA services a good thing?

If multiple teams write Silverlight applications that access the same DB, there will be duplication between the generated services. Also, if developers customize the service with BL this is another duplication. Isn't it be better to expose a single reusable data service for the whole organization to share? Yes, it was possible to write ...

RIA Services: custom autorization

Here is a good example how to create custom autorization for RIA services: http://stackoverflow.com/questions/1195326/ria-services-how-can-i-create-custom-authentication In my case a silverlight-pages will be displayed as a part of HTML-content and user authorisation is already implemented on the server-side (ASP.NET Membership is not u...

How to mock a RIA service

Is there any ability to mock methods that are provided with RIA Services? I would like to test my Silverlight App without communication to the server side... I see a following approach: create a separate interface; add it to "base classes" for my RiaService; define each autogenerated RIA-method in this interface; insert dependency so...

Can't add Silverlight App with "Enable .NET RIA Services" to existing project

I can create new Silverlight App with ".NET RIA Services" enabled. But when I try to add Silverlight App into existing solution in the "New Silverlight Application" the "Enable .NET RIA Services" checkbox is disabled. Why? How can I add Silverlight App into existing solution? Thanks. P.S. Environment description: Win Vista x64, VS200...

Can't get up with RIA demo: part 2

Here is a topic: http://stackoverflow.com/questions/2507734/cant-get-up-with-ria-demo where I've described problem with getting access to DomainContext object on the client. That time problem was resolved himself (without any actions from my side, with Visual Studio restart). At the moment, I had the same problem on another PC (Vista x6...

RIA: how to get functionality, not a data

On the server side I have the following class: public class Customer { [Key] public int Id { get; set; } public string FirstName { get; set; } public string SecondName { get; set; } public string FullName { get { return string.Concat(FirstName, " ", SecondName); } } } The problem is that each field is calculated...

RIA: how to intercept the data

On the clien side I have the following assignement of objects list to a datagrid: var customerContext = new RiaTestCustomDomainContext(); CustomerGrid.ItemsSource = customerContext.Customers; customerContext.Load(customerContext.GetCustomersQuery()); It works good, but I woudl like to have the same list of obje...

Can I use RIA services from WPF?

Or do I need a Silverlight client? ...

How do I use OData with RIA services

When using RIA services, how do I specify I want to use OData instead of a proprietary format? ...

How has RIA technology evolved and what technology stack currently rules this domain?

I am new to RIA and have not been actively involved with this technology in my projects as we using server-side Java, but I want to gain some experience with RIA. My questions are: How has RIA technology evolved and in your opinion - What technology stack currently rules this domain? What are the recommended resources for learning R...

Prototype VS jQuery

Hi All guys! First of, thank's for your time; then i want go directly to the point by saying that, i don't want to open another "Yet Another Js VS Js" 3d , the web is almost busy of this! I want also make a premise, i have used both theese js frameworks and i love it and i know, that there are a lot of good js frameworks around, maybe...

wcf services or RIA services

Hi, We are in the middle of the development cycle of our new product. When we designed it about a year ago, we chose WCF Services->Silverlight combination. Some of those WCF services are also consumed by WPF, Win Forms and third party Java clients. I have been reading about RIA Services lately. My questions are What are the advantag...