Tuesday, May 31, 2011
DevTeach: Expose and Consume WCF Data Services Session
Today I am giving a session on WCF Data Services at DevTeach. In the session, I cover the concepts of WCF Data Services including what it is for, how it works, OData protocol,, REST-style web services, and relations to other parts of the .NET communications stack. Then I spend most of the session walking through a demo building up a data service, showing how to query it from various clients, showing how to create a .NET client and query and update through it, as well as using interceptors and securing the service. The resulting demo code can be downloaded here: Demos.
Tuesday, May 24, 2011
Friday, May 20, 2011
DevTeach Sessions: Async, RIA Security, and WCF Data Services
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. SLV365 – Secure and Personalize Your Silverlight Apps with WCF RIA Services 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.
Wednesday, May 18, 2011
TechEd NA MID 311–WCF RIA Services–Ready for Business
I’m about to head off to do my talk on WCF RIA Services at TechEd and wanted to make the demo code available to the attendees ahead of time. In this talk, I cover the concepts and capabilities of WCF RIA Services. I talk about what it is good for, as well as some scenarios where you should not use it. I cover the features of querying, updating, and validating data, as well as securing your Silverlight clients with it. The demos I will do during the event can be downloaded here: Demos. Enjoy!
Tuesday, May 17, 2011
TechEd NA 2011–Tackle the Complexity of Async Calls in WPF and Silverlight
I just finished up my session on async calls at TechEd and wanted to share the demos with the attendees and anyone else who cares to take a look. In the talk I demoed working with the Dispatcher to get work put onto the UI thread at the appropriate time, but spent most of the talk working through a simple UI workflow example with a synchronous method, a Begin/End async method, an Async/Completed version, a Task Parallel Library (TPL) version, and a Async CTP (Task-based Async Pattern) approach. I finished off with some coverage of Reactive Extensions (Rx), showing an example of an auto-complete textbox that looks up customer data through async service calls. The demo code includes both a Silverlight and a WPF version of the app, but since TPL and the Async CTP stuff is not available in Silverlight yet but will be in a future version, the WPF code is the more complete. You can download the full sample code here: AsyncDemo.zip. Enjoy!
|








| May, 2013 (1) |
| April, 2013 (2) |
| March, 2013 (2) |
| February, 2013 (2) |
| January, 2013 (2) |
| December, 2012 (3) |
| November, 2012 (1) |
| October, 2012 (1) |
| August, 2012 (2) |
| June, 2012 (2) |
| May, 2012 (3) |
| April, 2012 (1) |
| March, 2012 (2) |
| February, 2012 (2) |
| January, 2012 (1) |
| November, 2011 (4) |
| October, 2011 (1) |
| September, 2011 (2) |
| August, 2011 (1) |
| July, 2011 (1) |
| May, 2011 (5) |
| March, 2011 (4) |
| February, 2011 (2) |
| January, 2011 (3) |
| November, 2010 (4) |
| October, 2010 (1) |
| September, 2010 (5) |
| August, 2010 (5) |
| July, 2010 (6) |
| June, 2010 (8) |
| May, 2010 (2) |
| April, 2010 (2) |
| January, 2010 (1) |
| December, 2009 (3) |
| November, 2009 (2) |
| October, 2009 (3) |
| September, 2009 (3) |
| August, 2009 (2) |
| July, 2009 (3) |
| May, 2009 (3) |
| April, 2009 (2) |
| March, 2009 (1) |
| February, 2009 (2) |
| January, 2009 (2) |
| December, 2008 (1) |
| November, 2008 (2) |
| October, 2008 (5) |
| September, 2008 (4) |
| August, 2008 (2) |
| July, 2008 (1) |
| June, 2008 (2) |
| May, 2008 (2) |
| April, 2008 (3) |
| February, 2008 (6) |
| January, 2008 (3) |
| December, 2007 (1) |
| November, 2007 (1) |
| October, 2007 (5) |
| September, 2007 (1) |
| July, 2007 (3) |
| June, 2007 (8) |
| April, 2007 (2) |
| March, 2007 (4) |
| February, 2007 (1) |
| December, 2006 (2) |
| November, 2006 (9) |
| October, 2006 (5) |
| September, 2006 (3) |
| August, 2006 (2) |
| July, 2006 (4) |
| June, 2006 (5) |
| May, 2006 (10) |
| April, 2006 (4) |
| March, 2006 (2) |
| February, 2006 (12) |
| January, 2006 (7) |
| December, 2005 (2) |
| November, 2005 (15) |
| October, 2005 (6) |
| September, 2005 (7) |
| August, 2005 (3) |
| July, 2005 (10) |
| June, 2005 (11) |
| May, 2005 (7) |
| April, 2005 (8) |
| March, 2005 (6) |
| February, 2005 (2) |
| January, 2005 (6) |
| December, 2004 (3) |
| November, 2004 (5) |
| October, 2004 (2) |
| September, 2004 (5) |
| August, 2004 (13) |
| July, 2004 (6) |
| June, 2004 (14) |
| May, 2004 (17) |
| April, 2004 (12) |
| March, 2004 (8) |
| February, 2004 (10) |
| January, 2004 (14) |
| December, 2003 (9) |
| November, 2003 (13) |
| October, 2003 (3) |
Sign In
|