Kyle McClellan

Making Software Easier

Browse by Tags

Tagged Content List
  • Blog Post: Unit Testing a WCF RIA DomainService: Part 3, The DomainServiceTestHost

    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 use the Repository Pattern. Now that all the groundwork...
  • Blog Post: Unit Testing a WCF RIA DomainService: Part 2, The Repository Pattern

    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, I will use this post to discuss factoring out the...
  • Blog Post: Unit Testing a WCF RIA DomainService: Part 1, The IDomainServiceFactory

    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 to start a three-part series on how to test the...
  • Blog Post: WCF RIA Services in Windows Azure AppFabric June CTP

    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 maintenance of applications in the cloud. We’ve...
  • Blog Post: Writing a Custom CollectionViewLoader for the DomainCollectionView and MVVM

    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 source related to each other . In this post, I’ll...
  • Blog Post: Survey: How Do You Use the DomainService Wizard?

    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 split it into separate files. Later, when I update...
  • Blog Post: MVVM Pattern for RIA Services

    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 RIA client. However, there were a number of great...
  • Blog Post: DomainCollectionView Updates for Mix ‘11

    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 introducing it . For the sake of brevity in this...
  • Blog Post: Using RIA Services with ComboBoxes and Enums

    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 describes two specific traps I fell into. It...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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, but you...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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 able to sort out the...
  • Blog Post: 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 of the scenarios where...
  • Blog Post: 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...
  • Blog Post: Improved binding support in EntitySet and EntityCollection

    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 interface when used as the ItemsSource...
  • Blog Post: WCF RIA Services V1.0 SP1 Beta Released

    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 Jeff’s Blog Later this week I will be looking...
  • Blog Post: My Thoughts on an MVVM-friendly DomainDataSource

    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 composition that occurs is hidden behind a wall...
  • Blog Post: What is an MVVM-friendly DomainDataSource?

    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 what are the most valuable changes that will satisfy...
  • Blog Post: Authorization Sample 305 – Permission-Based Authorization for Silverlight

    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 and write permissions . Permissions The first challenge...
  • Blog Post: Authorization Sample 304 – MVVM Authorization for Silverlight

    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 pattern . For this form, I created a simple view...
Page 1 of 2 (42 items) 12