Questions tagged [ria]

A Rich Internet Application (RIA) is a web application that has many of the characteristics of desktop applications. RIA here typically refers to the .NET RIA Services/WCF RIA Services framework.

838 questions
0
votes
2 answers

Duplicate 'System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute' attribute

I am using EntityFramework version 4.4, code first and I have created my data model in a separate project (MyApp.DataModel). Because I am building a Silverlight application, I am using a WCF RIA services. The code required by the ria services is in…
rbo
  • 11
  • 1
  • 3
0
votes
2 answers

Sharing a data model between Silverlight and WPF client

I am using EntityFramework Code First 5 and I have my data model. Example: [Table("Contract"]] public class Contract { ... [ForeignKey("SomeKey")] //[Include] public virtual BusinessPartner BP { ... } } The data model…
rbo
  • 11
  • 1
  • 3
0
votes
1 answer

Silverlight data refresh loop

I am sure that with as many dashboard apps out there, people have come across this issue. I have a SL app that needs to loop continuously, calling a RIA service to pull in data updates, with some minimal timer delay (e.g. 3 sec). It is an MVVM…
BowlerMonk
  • 21
  • 5
0
votes
2 answers

Custom named insert method in RIA Domain Service?

I have a few tables in SQL Server that I am using to log when a user logs into a Silverlight application. I have created an entity for each of those tables. One example is ApplicationUsageLog, where I log the ApplicationID, the Date, and the…
nosirrahcd
  • 1,467
  • 3
  • 18
  • 36
0
votes
1 answer

Is it compulsory for a split button to have a Em-Class, with an attribute, unSelectable=On?

I am writing this, with continuation to my previous posts... Where to click on this following object(button), for the values to be displayed in Selenium(Webdriver)? How to click in a specific part of a Button using Selenium, for the list of options…
Manikandan
  • 417
  • 4
  • 8
  • 18
0
votes
1 answer

Ria services: simple >>object<< properties/fields not appearing on the client side

I'm using Ria services, My POCO object has simple object properties/fields. But they are not appearing on the client side. Please help, My POCO: [EnableClientAccess] [DataContract] public class DataRow { [DataMember] [Key] public int RowId…
SalientBrain
  • 2,431
  • 16
  • 18
0
votes
2 answers

Authentication issue in jsonp ria services

I am using ria services with jsonp endpoint. When I call my method in service file it works fine in ie and firefox but sometimes works in chrome and sometimes I get "Cross domain javascript callback is not supported in authenticated services."…
serhads
  • 462
  • 2
  • 7
  • 22
0
votes
0 answers

Unit of Work and Repository in > EF 4.1

Do I still need UoW/Repository Pattern in EF 4.1. It seems that the interfaces that the DbDomainContext provides already gives me a UoW/Repository pattern. I've seen some blogs also that they don't like Repository pattern either nor UoW but still…
123 456 789 0
  • 10,565
  • 4
  • 43
  • 72
0
votes
1 answer

How to get the service context from an entity in RIA Services

I'm using RIA Services for Silverlight and I'm wondering if there's a way to get the service context an entity is attached to from the entity alone (on the client, ie with the RIA-Service domain context and entities!). This would help to implement…
John
  • 6,693
  • 3
  • 51
  • 90
0
votes
2 answers

Silverlight 4 with RIA - Binding joined table field to grid

I have 2 tables that has a 1-1 relationship I am attempting to use the .Include() for LINQ to try to pass a child table entity to a property so that I can bind a child table field to a grid, along with fields from the parent table. Originally it…
stevenjmyu
  • 926
  • 4
  • 16
  • 31
0
votes
1 answer

items collection empty when redisplaying childwindow

Having a weird problem that I've not been able to solve. I have a gridview that has a button to edit a list of roles for a user, which gets displayed in a child window. That window has a listbox bound to a ria query. Everything works fine the…
rocketbob
  • 73
  • 1
  • 8
0
votes
1 answer

button IsEnabled binding after asynchronous invoke call to server got completed

I tried to use InvokeOperation to get a boolean value from the DomainContext in my ViewModel. As calls to the server are asynchronous, including invokes. I need to wait for the invoke to complete (i.e. ctx.epidemicContext().Completed += [an event…
ravella
  • 116
  • 2
  • 10
0
votes
0 answers

Does silverlight plugins DateTime.Now may cause unreliable data or security problems?

Suppose that on your ProjectBus you created an entity class name is Person and here is our function does ; Person p=new Person(){Name=Dummy Smith,LastLoginDate=DateTime.Now,....}; personEntityService.Persons.Add(p); …
Davut Gürbüz
  • 5,526
  • 4
  • 47
  • 83
0
votes
1 answer

Where is the ria service config when WCF Ria Services Link is used?

we currently set WCF RIA Services Link from the Silverlight client, I currently looking for the config file to changes some wcf settings. Is that possible?
arcbound08
  • 107
  • 8
0
votes
1 answer

Silverlight freezes while loading DomainContext data

Problem: I'm working on a Silverlight application, and I'm loading lots of data into a DomainContext, i.e. from a Web Service. It starts off running a few different queries, with BusyIndicator displaying the current query, but when it gets to the…
Bjørn Vårdal
  • 174
  • 2
  • 11
1 2 3
55
56