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
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Kyle McClellan
Silverlight ComboBox Sample for RIA Services
Posted
over 3 years ago
by
kylemc
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
Authorization Sample 101
Posted
over 3 years ago
by
kylemc
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
Introducing An MVVM-Friendly DomainDataSource: The DomainCollectionView
Posted
over 3 years ago
by
kylemc
58
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
Collection Binding Options in WCF RIA Services SP1
Posted
over 3 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
RIA Services and Windows Azure Table Storage
Posted
over 3 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
RIA Services Authentication Out-Of-Browser
Posted
over 3 years ago
by
kylemc
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
DomainCollectionView Updates for Mix ‘11
Posted
over 2 years ago
by
kylemc
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
Silverlight ComboBox Frequently Asked Questions
Posted
over 3 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
Survey: How Do You Use the DomainService Wizard?
Posted
over 2 years 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
Silverlight Authorization Sample
Posted
over 3 years ago
by
kylemc
17
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
Authorization Sample 201
Posted
over 3 years ago
by
kylemc
17
Comments
The attached properties described in Authorization 101 will get you going. It may even be a long time before you need more. If you find yourself chafing at the limits, though, then this section is for you. It works through some of first customization...
Kyle McClellan
Using ASP.NET Membership in Silverlight
Posted
over 3 years ago
by
kylemc
15
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
Using the Visual Studio Async CTP with RIA Services
Posted
over 3 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
Unit Testing a WCF RIA DomainService: Part 3, The DomainServiceTestHost
Posted
over 2 years ago
by
kylemc
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
MVVM Pattern for RIA Services
Posted
over 2 years 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
Improved binding support in EntitySet and EntityCollection
Posted
over 3 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
How to change the request timeout for WCF RIA Services
Posted
over 3 years ago
by
kylemc
13
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
Authorization Sample 305 – Permission-Based Authorization for Silverlight
Posted
over 3 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
Writing a Custom CollectionViewLoader for the DomainCollectionView and MVVM
Posted
over 2 years ago
by
kylemc
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
Using RIA Services with ComboBoxes and Enums
Posted
over 2 years 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
Azure Table Storage Associations with RIA Services
Posted
over 3 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
Authorization Sample 301
Posted
over 3 years ago
by
kylemc
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
I want my Silverlight app to look like the Zune client (part 2)
Posted
over 3 years ago
by
kylemc
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
RIA and Windows Azure
Posted
over 3 years ago
by
kylemc
6
Comments
Earlier this week it was announced that Windows Azure now supports .NET 4. I figured a few of you would want to know how you could write a RIA Services application that ran on the cloud, so I thought I’d put something simple together to get you started...
Kyle McClellan
What is an MVVM-friendly DomainDataSource?
Posted
over 3 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...
Page 1 of 2 (43 items)
1
2