Brian Noyes' Blog

DevTeach Sessions: Async, RIA Security, and WCF Data Services

20 May 2011

I’ve just uploaded my materials for my upcoming DevTeach sessions and I’m really looking forward to the conference. DevTeach is a great conference, and Montreal is a beautiful city to visit in the spring.

This year I am giving three talks. The abstracts are below for those. Keep an eye on my blog the week of the event if you want to get your hands on the demos for the sessions. If you are planning to attend, you can check out the schedule here so you can try to fit these in.

NET323 – Expose and Consume WCF Data Services

WCF Data Services is a framework built on top of WCF that allows you to easily expose collections of data via the OData protocol for ad-hoc query from clients as well as for data updating scenarios. In this session, you’ll learn how to define and host WCF Data Services, how to consume them from .NET clients, how to secure access to the data, and how to perform data updates through the services with validation and business logic in the call chain. You’ll learn a little bit about the OData protocol along the way and how these same services can be consumed by any platform since they are based on open standards.

One of the appealing features of WCF RIA Services is that you can easily secure calls to your services using standard browser-based security mechanisms including Windows and Forms authentication. You can use RIA Services declarative security model in your domain services to authenticate and authorize access to them, as well as to establish a security context in the Silverlight client that can be used for authorization and personalization. These features can be used from WCF RIA Services even if you do not use any other aspects of WCF RIA Services and just call other WCF services as part of your application. Additionally, the WCF RIA Services security can be integrated with other WCF services in the same host for a single unified security model. This session will walk you through how to leverage these features of WCF RIA Services.

SLV368 – Tackle the Complexity of Async Calls in Silverlight and WPF clients
Whenever doing blocking tasks, particularly service calls in a Silverlight or WPF client, you will need to make those calls asynchronously. While async calls have been around for a long time in .NET, the patterns for addressing them have been changing and improving. This session will cover several common patterns for addressing async calls in client applications, including new and emerging approaches to async patterns including Reactive Extensions that let you treat asynchronous execution like a LINQ collection and the Task-based Async pattern and keywords coming for the C# and VB languages. This session will take the mystery and confusion out of what happens when and how to keep your code clean and safe in an inherently asynchronous client world.