Collection Binding Options in WCF RIA Services SP1

One of the most common tasks when developing a RIA Services application binding to a collection of data. There are some declarative options that include binding directly to your DomainContext or DomainDataSource. These options are great for spinning up applications quickly, but don’t translate well to view model patterns. For that reason, I thought it’d…


Introducing An MVVM-Friendly DomainDataSource: The DomainCollectionView

[This sample references out-of-date API. This newer post discusses the updates made for the V1 SP2 Preview and shows how to implement filtering.] There’ve been plenty of talk about an MVVM-friendly DomainDataSource. I’m pretty sure it means completely different things to different people. I even took a stab at defining it a while back. What…


Windows Azure Table Storage LINQ Support

Windows Azure Table storage has minimal support for LINQ queries. They support a few key operations, but a majority of the operators are unsupported. For RIA developers used to Entity Framework development, this is a significant difference. I wanted to put together this short post to draw your attention to this link. When you use…


Windows Azure Table PartitionKey Options for TableDomainServices

There are three primary strategies when it comes to partitioning entities across Windows Azure Table Storage. You can: Put everything in the same partition Put everything in different partitions Put things in two or more specific partitions A full discussion of these options can be found in the Table Storage whitepaper, but I’ll take some…


Azure Table Storage Associations with RIA Services

For this post, I’ll assume you read my intro to Windows Azure Table Storage. If not, take a second to read it. This time around I’m skipping past the contextualizing. In my first entry, I showed how to get a simple entity all the way from Table Storage to Silverlight. It was a necessary step,…


Silverlight TV: RIA Services Q & A

John and I went through four questions we see frequently on the WCF RIA Services forum. Here’s our episode and some notes to go along with it. Silverlight TV: Episode 52 How do I investigate exceptions thrown from my DomainContext? If you’ve been using RIA, you’ve undoubtedly seen this exception before. Load operation failed for…


How to change the request timeout for WCF RIA Services

My teammate, Jason Cooke, put together this great article on changing the timeout in RIA Services. Hope you find it helpful. Change Timeouts for WCF RIA Services WCF RIA Services specifies default timeouts for its endpoints, so you can be sure that all requests complete in a reasonable time, either with success, or a timeout…


Using the Visual Studio Async CTP with RIA Services

I’ve been excited about this CTP for quite a while now and it’s great to finally have a chance to play with it. Way back in early RIA days we had a number of conversations with the TPL (Task Parallel Library) folks to see if we could use Task<T> with RIA. We were never quite…


Silverlight ComboBox Frequently Asked Questions

I’ve wanted to do a follow up to my original ComboBox post for a while now. I answered a number of the questions throughout the comments, but I thought I’d gather all the answers up and add some nice code samples. Hope this helps. How do I use a ComboBox in a DataForm? For most…


RIA Services and Windows Azure Table Storage

We worked right up to the deadline, but I’m happy to say we got a preview of RIA support for Windows Azure Table Storage into the October Toolkit release (that coincides with the SP1 Beta release). You could integrate with table storage previously, but our goal was to make using it as simple as possible….