Sign In
Kyle McClellan
Making Software Easier
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
AppFabric
ASP.NET
Authentication
Authorization
Azure
CollectionView
ComboBox
DomainDataSource
MVVM
PDC10
Silverlight
Testing
Timeouts
WCF RIA Services
Archive
Archives
August 2011
(3)
June 2011
(1)
May 2011
(2)
April 2011
(2)
January 2011
(1)
December 2010
(2)
November 2010
(8)
October 2010
(2)
September 2010
(2)
August 2010
(5)
July 2010
(2)
June 2010
(4)
May 2010
(7)
April 2010
(2)
MSDN Blogs
>
Kyle McClellan
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Kyle McClellan
Unit Testing a WCF RIA DomainService: Part 3, The DomainServiceTestHost
Posted
5 months ago
by
kylemc
8
Comments
In this thrilling conclusion to my series on unit testing, I’ll show you how to use the DomainServiceTestHost to test your DomainServices. In parts one and two I showed you how to extract external dependencies using the IDomainServiceFactory and how to...
Kyle McClellan
Unit Testing a WCF RIA DomainService: Part 2, The Repository Pattern
Posted
5 months ago
by
kylemc
4
Comments
This is part two in a series I’m writing about how to unit test your DomainServices. In part one, I discuss how you could use an IDomainServiceFactory to factor external dependencies out of your code. Continuing along the same lines of thinking...
Kyle McClellan
Unit Testing a WCF RIA DomainService: Part 1, The IDomainServiceFactory
Posted
5 months ago
by
kylemc
2
Comments
I’ve always been a proponent of driving product quality through unit testing. Regardless of the specific testing methodology, I enjoy the confidence a rich suite of tests can bring to product and application development. For WCF RIA developers, I wanted...
Kyle McClellan
WCF RIA Services in Windows Azure AppFabric June CTP
Posted
7 months ago
by
kylemc
2
Comments
If you’ve been using RIA in the cloud or are considering it, it is definitely worth your time to take a look at the Windows Azure AppFabric June CTP . The CTP is an early look at a platform that is positioned to simplify the development, deployment, and...
Kyle McClellan
Writing a Custom CollectionViewLoader for the DomainCollectionView and MVVM
Posted
9 months ago
by
kylemc
6
Comments
The question I’ve been fielding most lately is how to write a custom CollectionViewLoader . Once you see it done, it’s a pretty simple task. Without an example it’s hard to know where to start. In a previous post, I discussed how the view, loader, and...
Kyle McClellan
Survey: How Do You Use the DomainService Wizard?
Posted
9 months ago
by
kylemc
18
Comments
I need to ask a favor of all my regular readers out there (*crickets*). I often hear stories along the lines of “I use the DomainService Wizard to generate my DomainService. Then I make tiny changes to the generated code or metadata and may move it or...
Kyle McClellan
MVVM Pattern for RIA Services
Posted
9 months ago
by
kylemc
13
Comments
At the Silverlight Firestarter ‘10 , John Papa did a great talk on MVVM Patterns for Silverlight and WP7 that featured WCF RIA Services as the data layer. For that talk, I helped him streamline the service layer abstraction to correctly work with the...
Kyle McClellan
DomainCollectionView Updates for Mix ‘11
Posted
9 months ago
by
kylemc
24
Comments
To correspond to the new RIA Services build we’ve released at Mix, I’ve made some updates to the DomainCollectionView . I updated select API, fixed a few bugs, and updated the sample as well. If you’re not familiar with the DCV , here’s my original post...
Kyle McClellan
Using RIA Services with ComboBoxes and Enums
Posted
over 1 year ago
by
kylemc
8
Comments
The other day someone asked me how to get a ComboBox working with enums and validation. It turned out to be more tricky than I had anticipated ( there’s a common theme here… ) so I figured I’d put together a quick post on it. Stumbling Points This section...
Kyle McClellan
Collection Binding Options in WCF RIA Services SP1
Posted
over 2 years ago
by
kylemc
31
Comments
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...
Kyle McClellan
Introducing An MVVM-Friendly DomainDataSource: The DomainCollectionView
Posted
over 2 years ago
by
kylemc
56
Comments
[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...
Kyle McClellan
Windows Azure Table Storage LINQ Support
Posted
over 2 years ago
by
kylemc
0
Comments
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...
Kyle McClellan
Windows Azure Table PartitionKey Options for TableDomainServices
Posted
over 2 years ago
by
kylemc
1
Comments
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...
Kyle McClellan
Azure Table Storage Associations with RIA Services
Posted
over 2 years ago
by
kylemc
7
Comments
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...
Kyle McClellan
Silverlight TV: RIA Services Q & A
Posted
over 2 years ago
by
kylemc
3
Comments
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...
Kyle McClellan
How to change the request timeout for WCF RIA Services
Posted
over 2 years ago
by
kylemc
9
Comments
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...
Kyle McClellan
Using the Visual Studio Async CTP with RIA Services
Posted
over 2 years ago
by
kylemc
14
Comments
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>...
Kyle McClellan
Silverlight ComboBox Frequently Asked Questions
Posted
over 2 years ago
by
kylemc
22
Comments
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...
Kyle McClellan
RIA Services and Windows Azure Table Storage
Posted
over 2 years ago
by
kylemc
27
Comments
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...
Kyle McClellan
Improved binding support in EntitySet and EntityCollection
Posted
over 2 years ago
by
kylemc
13
Comments
For our WCF RIA Services V1.0 SP1 Beta release we were finally able to improve binding support for EntitySets and EntityCollections . In our V1 release, EntitySet and EntityCollection did not support adding and removing entities through the IEditableCollectionView...
Kyle McClellan
WCF RIA Services V1.0 SP1 Beta Released
Posted
over 2 years ago
by
kylemc
3
Comments
WCF RIA Services V1.0 SP1 Beta along with WCF RIA Services October toolkit are now both available and ready to go live. You can download them from http://silverlight.net/riaservices . Check out these blogs for all the details. Deepesh’s Blog Tomek’s Blog...
Kyle McClellan
My Thoughts on an MVVM-friendly DomainDataSource
Posted
over 2 years ago
by
kylemc
4
Comments
The DomainDataSource (DDS) could be a great example of an aggregate component . It has a simple public API and does a lot of awesome things at the flip of a switch. The only problem with the thought is there’s little-to-no aggregation going on. All the...
Kyle McClellan
What is an MVVM-friendly DomainDataSource?
Posted
over 2 years ago
by
kylemc
5
Comments
The second most requested feature on our WCF RIA Services Wish List is an MVVM-friendly DomainDataSource . The neat part about this request is that it means many different things to many different people. The challenge in addressing it is to figure out...
Kyle McClellan
Authorization Sample 305 – Permission-Based Authorization for Silverlight
Posted
over 2 years ago
by
kylemc
11
Comments
In Authorization Sample 301 I explained the ins-and-outs of the authorization sample and offered a few hints as to how it could be used. In this post, I will show a specific example where I show how to extend the authorization library to support read...
Kyle McClellan
Authorization Sample 304 – MVVM Authorization for Silverlight
Posted
over 2 years ago
by
kylemc
0
Comments
In Authorization Sample 301 I explained the ins-and-outs of the authorization sample and offered a few hints as to how it could be used. In this post, I will show a specific example where I put together an authorized form using the Model-View-ViewModel...
Page 1 of 2 (43 items)
1
2