Kyle McClellan

Making Software Easier

  • Kyle McClellan

    Silverlight ComboBox Sample for RIA Services

    • 94 Comments
    I’ve been intending to write a sample using the ComboBox for a while. The more familiar you get with Silverlight, the more you realize the ComboBox causes all sorts of problems. I have mixed feelings about the proliferation of posts I’ve seen on this...
  • Kyle McClellan

    Introducing An MVVM-Friendly DomainDataSource: The DomainCollectionView

    • 68 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

    How to change the request timeout for WCF RIA Services

    • 14 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

    MVVM Pattern for RIA Services

    • 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

    Silverlight Authorization Sample

    • 19 Comments
    There have been a lot of questions recently about how to write authorization-enabled UI in Silverlight. We’ve always floated suggestions from the RIA Services team, but never put something concrete together. I decided to take some of those ideas and run...
  • Kyle McClellan

    Collection Binding Options in WCF RIA Services SP1

    • 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

    Authorization Sample 101

    • 59 Comments
    This is an introduction to the Authorization Sample for RIA Services . Authorization is implemented using attached properties. This means you can mark nearly everything in your xaml files with Authorization properties. In most cases, elements will be...
  • Kyle McClellan

    DomainCollectionView Updates for Mix ‘11

    • 25 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 ASP.NET Membership in Silverlight

    • 16 Comments
    The Authentication support in RIA Services uses ASP.NET Membership, Roles, and Profile support by default. While this provides a lot of power, flexibility, and interoperability, it may also leave you wondering “How do I use ASP.NET Membership in Silverlight...
  • Kyle McClellan

    RIA Services Authentication Out-Of-Browser

    • 27 Comments
    RIA Services does not support Out-Of-Browser (OOB) Forms authentication using the Client networking stack out of the box. The Client stack is often recommend for OOB scenarios as it provides a greater level of control over requests. The reason authentication...
  • Kyle McClellan

    Silverlight ComboBox Frequently Asked Questions

    • 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

    Using the Visual Studio Async CTP with RIA Services

    • 15 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

    Unit Testing a WCF RIA DomainService: Part 2, The Repository Pattern

    • 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

    I want my Silverlight app to look like the Zune client (part 2)

    • 7 Comments
    Ever since Deepesh posted this awesome article a couple months back, we’ve wanted to give you a template for creating a Silverlight Business Application that looks the Zune client. We started with the Cosmopolitan Theme , applied the tweaks he listed...
  • Kyle McClellan

    Unit Testing a WCF RIA DomainService: Part 3, The DomainServiceTestHost

    • 14 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 1, The IDomainServiceFactory

    • 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

    Authorization Sample 305 – Permission-Based Authorization for Silverlight

    • 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

    RIA Services and Windows Azure Table Storage

    • 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

    Silverlight TV: RIA Services Q & A

    • 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

    RIA Services using https

    • 4 Comments
    Support for https has been part of WCF RIA Services for a while now, but most of the early posts we did have been lost. In celebration of the V1 release, I’m resurrecting a guide on using https. In short, you have two options using https. On one hand...
  • Kyle McClellan

    Improved binding support in EntitySet and EntityCollection

    • 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

    Authorization Sample 301

    • 7 Comments
    In Authorization Sample 201 , I touched on some of the extensibility options for custom authorization. These include applying custom rules or setting target properties for custom bindings in xaml. I avoided the bigger picture, however, by neglecting to...
  • Kyle McClellan

    Writing a Custom CollectionViewLoader for the DomainCollectionView and MVVM

    • 8 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

    Mocking RIA Services Authentication and Authorization

    • 2 Comments
    I’m about to embark on a series of Silverlight Authorization-related posts using a shared sample project. I use this base project as a template to share functionality and visual consistency to my sample applications. Most of the template is pretty straightforward...
  • Kyle McClellan

    Authorization Sample 304 – MVVM Authorization for Silverlight

    • 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) 12