ria

Consuming RIA services without a silverlight project

Hi All, We have a silverlight project that uses RIA services. There is some code that I want to share between that project and a web service. I have to leave the code where it is now, i.e. I cannot share the code. What I thought would be good is for the web service to call the RIA service. It will be sitting on the same server. I went...

What are the pitfalls of using .NET RIA Services in Silverlight?

Silverlight can use WCF, Web Services, REST based services, .NET RIA Services, but it seems like Silverlight and .NET RIA Services are preferred most. I want to know if there are any common issues [which can be a show stopper if one goes ahead with this combo] that you have seen in practical implementation of SL with .NET RIA Services. ...

I Can't add or remove using ria services in my SL4 project

Hi .. I built this SL4 project .. and it was working perfectly, after while I re-opened the project and pressed F5 to try it again. After I add new item in Data Form, filling the required field and doing "SubmitChanged()" I get "Code : 4004 error message" . I'm using Entity Framework + RIA services, I used EF profiler to see if the Li...

RIA Authentication from a Web Services project

Hi All, I have a silverlight app using RIA services. I want to reuse the RIA services component and call it from another web service. The web service and the RIA services component will be on the same server. I have got quite far along, my web service project has a 'service reference' to the RIA services project which is all good. But ...

My DTO object is NOT being saved in the database via the data context why?

hi, i am working on a project and we are using MVVM and Wcf ria services. because of the headache posed by foreign keys whose description must be displyed in grids on UI, i had to resort to using dtos that do the work of joining queries from different tables and returning the descriptions. now the problem is tha when i want to save and...

How to read xml file from a relative path in RIA Service?

Hi, I am trying to read an XML file in RIA Service and I am getting the following error. Load operation failed for query 'GetSummaryList'. Could not find a part of the path 'C:\WINDOWS\SYSTEM32\CoreResources\SumaryListDS.xml'. I am using Silverlight 4 which is using RIA service. I am trying to read the SumaryListDS.xml located in the ...

RIA DomainService Local SQL OK, Remote SQL Not Found.

I am using a DomainService with .NET4, EF4. It is working from my local SQL Server, when I change the connection string to the remote SQL server which has the same schema and data in it, shallow queries run normally. When a query which contains .Include("child_table_name") in the ObjectQuery and [IncludeAttribute] on the entity property...

Trouble updating one to many relationships when using ria services with nhibernate.

I am working on a silverlight application and I am using RIA data services and nHibernate. Currently, I have an entity with a one to many relationship to another entity. public class Employer { [Key] public virtual int Id { get; set; } public virtual string Name { get; set; } } public class Person { [Key] public ...

Validating new rows in Silverlight DataGrid

We're using RIA Services / Silverlight 4, and I'm binding a datagrid to something like Context.Foo. I can see validation errors appearing in the datagrid's validation summary when users try to enter empty strings into mandatory fields and so forth, life is good. However when I add a new item by calling something like Context.Foo.Add(ne...

RIA technology choice

I'm a .NET silverlight developer. After last project i want to have a rest from this tech and want to learn something new. My next project will be an app for managing workflow of a company.This app will need printing support, export to office formats, document management, maybe authorization\authentication. Can you suggest what technolog...

how to keep login in

I am using this class to login to my ria service from a form in Silverlight: System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationService However, every time I login with option to persist my login status, it doesn't persist anything and I will loss my status after a IE refresh, and my service doesn't allow me t...

RIA services: How to navigate from frontend to backend service method ?

I've got a call to a RIA services method in my frontend. Is it possible to navigate to the corresponding method in the service ? Using "F12 goto definition" or something similiar ? When I press F12, Visual Studio only navigates to the generated stub method in my frontend (*.Web.g.cs file) but that's not what I need. Maybe it's possible...

Which way is the best way: Career decision.

Which way is the best way: RIA via Silverlight, RIA via Flash\Flex, Ruby\Python, Mobile App Dev(wp7\android), GameDev? Thx ...

Update data with RIA Services over SOAP

Hi There, I have an SL Application which uses RIA and Domain services for data access. I have modified this to work on SOAP so any other applications can use the service. On a Windows client I can query data without a problem. But I need to make some update and inserts. As you may know all insert, update, delete methods are not visibl...

RIA Services and the generic Repository pattern

Hi, I'm working on a Silverlight project that uses RIA Services. My question is that I can use generic repository pattern with RIA Services on the client side? What is the best practice how I should organize the RIA Services method on the cilent side? l. ...

RIA service using CustomValidation and resource error message

How to put a resource (multiple languages in client) message into a CustomValidation? Example: using any of ValidationAttribute, let'say StringLength, I simple use ErrorMessageResourceName and ErrorMessageResourceType, but it did not work for CustomValidation. Simple Code: public class UserInfo { [Required] public string Name { get...

Ria Services return 'The remote server returned an error: NotFound.' only when out of browser.

I have a silverlight appliction using ria services. It works fine in the browser; however, when the application runs out of browser, I am getting the infamous "The remote server returned an error: NotFound." It occurs in a view model. I have a domain context and when the view model loads, I load three queries. _domainContext.Load<Pers...

Hosting non RIA Service from RIA Service website

We're using Silverlight 4 and Ria Services, but we also need to expose a regular WCF service to the client, ideally from the same Ria services website. I suspect this is because of DomainServiceHttpModule or due to the fact that the service is expecting binary coming back from the client instead of a SOAP message. Has anyone had any su...

ExtJS or SmartClient?

Hi, I would like your opinion about these two frameworks. I like a lot the features of ExtJS, but recently I saw SmartClient and it seems to be great too, and free (its Client side features) for commercial projects. I tried a little of SmartClient and it seems to be easier than ExtJS, and it has a better documentation tnan ExtJS. BUT.....