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
0
votes
1 answer

end-to-end RIA-like client/server patterns? non-Entity Framework contexts?

I have posted this same question in the msdn forums, but nothing yet .. http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/60cf36d1-c11a-4d8a-9446-f1d299db1222 I'm working on a project that is an MVC app that will be sourced data via a WCF…
JoeBrockhaus
  • 2,745
  • 2
  • 40
  • 64
0
votes
1 answer

Which kind of VS project to use for WCF-Service hosted on internal Server

I need urgent help and have many questions. I will start by asking what kind of Ms-Vs project should i use (Wcf-Application or Wcf-library) to create a wcf-service, which will be hosted on a local server in my company and will be consumed by a…
Asmaa Edress
  • 153
  • 5
  • 14
0
votes
1 answer

How to pass validation for exception at SL client side?

Suppose I have an entity Person(id, dept, EmailAddress,DOB, ...), when model created with EF, then create a metadata class for this class to put validation rule on server side like: [CustomValidation(typeof(MyValidator), "DOBValidator")] public…
KentZhou
  • 24,805
  • 41
  • 134
  • 200
0
votes
3 answers

How to architect graphically-intensive Silverlight app using MVVM?

I'd like to create a Silverlight app using WCF Ria Services and the MVVM design pattern. The main page of the app will consist of a "shell" and a large number (10s or 100s) of objects of different look (shape/size/properties) linked to each other…
Trex
  • 145
  • 1
  • 13
0
votes
1 answer

Querying WCF Services with OData Params in POST instead of GET

We call wcf svcs (not ours) and we're using gets for searching a product database. Example: http://foo.com/SearchProducts.svc?$skip=0$take=10$includeTotalCount=true We were passing the Odata parameters to page the results of the SearchProducts svc.…
Jake Dempsey
  • 6,264
  • 1
  • 30
  • 25
0
votes
1 answer

Crystal Reports with RIA Services

I am new with Silverlight and I can get the data from my database into a grid using Domain Service in my Silverlight app. But I want to take the data that has been 'filled' by the Domain Service in to a Crystal Report Viewer in a ASP.NET Web Page as…
lbrahim
  • 3,710
  • 12
  • 57
  • 95
0
votes
1 answer

RIA Services - Update during Insert

Problem: during Insert-operation of entity_A I want to update a property on a specific entity_B and update the changes. I do this as follows: public void InsertEntity_A(Entity_A entity_A) { // fetch entity_B and change a property Entity_B…
okieh
  • 617
  • 6
  • 17
0
votes
1 answer

WCF Ria Service between Silverlight Client and Business Logic?

I have an issue very similar to this one. There is an existing software (Data & business layer) running on a server and I want to add a Silverlight GUI client to it. Communication works through WCF services at the moment, but I would like to use WCF…
Phasma
  • 232
  • 2
  • 16
0
votes
1 answer

Ria Services Entity with "Custom" Key

This is for a RIA Services application: We have an entity A that looks like: ID int (PK, identity) Code string The Code consists of a two character prefix AB, a second two character prefix CD then a four digit integer. When the entity is added…
nosirrahcd
  • 1,467
  • 3
  • 18
  • 36
0
votes
1 answer

How do I add a Domain Services class to a Silverlight app or RIA Services library?

I have tried several guides I find online, and nothing seems to work. I am trying to follow this guide, Setting up a new Silverlight 4 Project with WCF RIA Services, but when I try and add a Domain Services class to the RIA x.Web project, I get an…
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
1 answer

How not to use a magic string with IsInRole in Silverlight RIA?

I have extended the UserBase class in System.ServiceModel.DomainServices.Server.ApplicationServices in my Silverlight RIA, and yes people still use Silverlight, and I was wondering what the best practice would be regarding…
0
votes
1 answer

Trouble passing XML text to RIA Services from my client

I am trying to pass the following XML text to RIA services in a query operation that returns a queryable sequence of entities in response:
Jordan
  • 9,642
  • 10
  • 71
  • 141
0
votes
1 answer

How to Load items in comobox inside a datagrid Silverlight?

App: Silvelight 4 Business app template + RIA services + C#. I combined the aspnet membership db into my database. I'm able to register user, login and logout. I need to be able to assign users roles from the application/client-side UI. There are 3…
Searching
  • 2,269
  • 1
  • 17
  • 28
0
votes
1 answer

WCF RIA Changeset Submit Order. Why is it inserting child entity before parent entity?

Here's my problem : I'am using Silverlight+ WCF RIA + EntityFramework and domain datasource. I'am inserting on the client side a parent entity and then a child entity (a parent can have many children) like this : Parent p = new Parent(); …
Ben
  • 247
  • 1
  • 3
  • 15
0
votes
2 answers

AutoIncrement on SubmitChanges in RIA Services

I am using RIA Services with Entity Framework in Silverlight 5. i have a following Foo table; Fooid FooName FooCode FooRef Fooid is an auto-increment number - works like a charm on save ... FooName is set in ViewModel - works fine on save…
Thr3e
  • 358
  • 1
  • 6
  • 22
1 2 3
99
100