The .NET RIA Services are described as an n-tier framework for Silverlight. I have been wondering what the relation is between this framework and the Model-View-ViewModel pattern. Are they in conflict or can you see the potential for synergic combination?
...
When using .NET RIA Services and MVVM in Silverlight 3.0 is there a difference between the Metadata type from RIA Services and the ViewModel from the MVVM pattern? Are these the same thing or should they be keep separate?
The metadata type is a sealed internal class to the partial Entity class. There doesn't seem to be a proper separati...
In .NET RIA Services you can write code on the server with a suffix of .shared.cs or .shared.vb and it will be available for you on the client.
My question is why would I want this?
Assuming that I use a DomainModel with proper business objects and a ViewModel wouldn't all the code I would need reside in those classes? This looks like ...
Where is the best place to put business rules in an RIA Silverlight application?
I thought the Domain Service would be a good spot except it seems to only share Data to the client tier. I don't think the ViewModel is a good idea since we should have Business Rules in the server tier.
In shared code? *.shared.cs?
Where do you put your ...
I'm considering creating a WPF front end for a Silverlight application. Since Silverlight generally has the smaller subset of functionality this should be possible, but I'm not sure the best way to approach the problem. From the outset, let me say that I'm currently running the app out of browser but it lacks functionality like capturi...
Can someone explain it succinctly? Can it be used with non-Silverlight clients?
...
I have an RIA Service that returns image data (Byte[]) and caption of image (String) from SQL Server.
The data part can sometimes be a few MB's so it can take quite a while to load.
I would like to load the bytes independently of the caption (which loads very fast).
Is there a way to do this without having to create a second image con...
I'm getting this error trying to run my Build thru TeamBuild in TeamExplorer on Visual Studio 2008.
On the Build Machine I installed VS SP1, Team Explorer, Silverlight 3 tools, and RIA Services.
I can compile no problem with Visual Studio on my machine and directly on the Build Machine. But I still cant compile on thru TeamBuild becaus...
I'm currently in the process of creating a Silverlight 3 data driven application. To access the database, 2 common approaches are used: RIA Services and ADO.NET Data Services. Does anyone have any guidance on when/why to choose each approach? Here is what I've gathered from my research / experience. Any thoughts?
ADO.NET seems to be...
This question is an extension of another question, but I think it warrants its own thread. See See Silverlight Question
I have a stored procedure (SQL 2005) that returns a dynamic data set (different columns/schema) each time it is called.
I want to consume this in Silverlight 3.0 so I need to somehow wire this up using Entity Framew...
I would like to submit a collection of entities one at a time.
There are 2 reasons for this:
- I'm uploading a lot of data and submitting more than one change exceeds the http limit for these transfers. (i don't want to change this limit)
- I want to see the progress of each item getting submitted.
Example: Suppose I have an album and ...
Say I have two classes and have a requirement that the primary key property must be named "Id" (example: Book and Publisher). The requirement is because I'm working with our companies code generated objects and can't change the way they are generated. These classes have a a foreign key between them: Book to Publisher and is a one to one ...
I have this working and getting data. However, everytime I page it calls the GetAllWebExceptions, which gets all of the web exceptions records from the database. How should paging be implemented? I've only seen examples with EntityFrameworks. Does anyone have a good example using the data source with POCO or is that still to come?
<Gri...
I am starting a new Silverlight 3 RIA application. Historically when doing my web development I have a solution with the following project structure.
Core - Generic and misc stuff.
Model - Domain model in nHibernate
Services - Business logic, services and repositories
Web - Web using MVC
With my new project in Silverlight RIA it by d...
I have a simple datagrid example with silverlight 3, and am populating it with the .NET ria services using a DomainDataSource along with a DataPager declaratively (nothing in the code-behind), and am experiencing this problem:
The LoadSize is 30, and the Page size is 15, and when the page is loaded, the 1st and 2nd page appear correctly...
Hello Everyone,
I have an XBap system designed as a 3-layer application. The XBap client consumes the logic through a WCF Service using netTcpBinding.
For easy of databinding and to be able to re use data validation built-in my business objects, I choosed to reference the business objects library from the xBap client instead of generat...
Hello,
I'm working on a Silverlight 3 app with RIA Services. I've got the app running but for some reason it's only reading data, not committing changes.
Most of the online examples I've seen use Linq2Entities; we're using Linq2SQL (our data model is pretty good as-is without abstraction.)
Here's a snippet of the Service:
[EnableCli...
Ok I'm having a crisis of conscience right now.
I am having no luck in trying to abstract out RIA Services from our Silverlight application so we can do proper unit testing.
At this point we have a views and view models, and DomainContext is the Model. No matter how much we tried we cannot find anyway to abstract the DomainContext or t...
We're investigating using RIA Services (July 09 Preview) to expose parts of an existing EF model. We've added a Domain Service class to our web application and specified the EF model to use and selected a few of the entities we wish to make available via the domain service (some have editing enabled, most do not).
We build and everythi...
Hello,
I am working with the Silverlight RIA Services and I want to create custom authentication. This appears to be the only thing that has virtually no documentation (I've read through the entire RIAServicesOverview.docx).
Do you know of a way for me to create a customer authentication service? I don't want to use the default ASP.N...