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 with this sample…

11

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 model with the…

0

Authorization Sample 303 – Metadata-Aware Authorization

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 that responds to metadata on the object. I started with a simple type with AuthorizationAttributes…

0

Authorization Sample 302 – Site Map Navigation

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 a Site Map in Silverlight. I wanted to stay fairly close to the design David Poll used in…

1

Mocking RIA Services Authentication and Authorization

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. I have a MasterPage that imports (using MEF) a few different things for each…

2

RIA Services and Windows Live ID

There is a new Authentication Sample that shows how to use RIA Services with Windows Live ID (WLID). It’s a little more complex than the others, so I thought it was worth discussing some of the interesting features. First, the sample opens another window to prompt for WLID credentials. In some scenarios, it might be…

1

RIA Services Authentication Out-Of-Browser

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 does not work on the Client networking stack is that it handles cookies differently than…

27

Using ASP.NET Membership in Silverlight

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?” The answer (and I hope it doesn’t surprise you) is “Write a RIA Services DomainService.” I…

16