The Magical Input Queue Of T (aka InputQueue<T>)

This post explains an essential class for asynchronous programming that lurks in the depths of the WCF samples: InputQueue<T>. If you need to write efficient server-side apps, you should consider reading through this and add InputQueue<T> to your arsenal.  Let me start with: This blog post is 4 years late. Sorry! – and with that…


Programming WCF Services, Third Edition

Juval Löwy’s very successful WCF book is now available in its third edition – and Juval asked me to update the foreword this time around. It’s been over three years since I wrote the foreword to the first edition and thus it was time for an update since WCF has moved on quite a bit…


XML-RPC with WCF (Updated)

XML-RPC for WCF Download here I had updated my WCF XML-RPC stack for PDC’08 but never got around to post it (either too busy or too lazy when not busy). The updated source code is attached to this post. Contrary to the code that I’ve posted a while back, the new XML-RPC implementation is no…


Sin, Sin, Sin: How to do Simple, Webby, and Completely Insecure ASP.NET Membership Authentication and Role Authorization with WCF

We’re all sinners. Lots of the authentication mechanisms on the Web are not even “best effort”, but rather just cleartext transmissions of usernames and passwords that are easily intercepted and not secure at all. We’re security sinners by using them and even more so by allowing this. However, the reality is that there’s very likely more authentication…



UPDATE: The code has been updated. Ignore this post and go here. I’m writing lots of code lately. I’ve rejoined the dasBlog community and I’m busy writing a prototype for the .NET Framework 3.5 version of dasBlog (we just released the 2.0 version, see One of the goals of the prototype, which we’ll eventually merge into the…


Webcast Today….

In the ongoing MSDN Architecture Webcast Series with broad coverage of all things WCF (see the “Next Generation: .NET Framework 3.0 and Vista” section for archived and upcoming content), I am on today (8AM PST, 11AM EST, 17:00 CET), live from my kitchen table in Germany, with a remix of my “RSS, REST, POX, Sites-as-Services” talks from MIX06…


WCF Goes To Hollywood.

Cool. I hadn’t even seen this demo until now, even though we already have it for a while. Our technical evangelist Craig McMurtry posted the “Digital Fortress” demo, which is an implementation of the computer systems that play major roles in Dan Brown’s novel “Digital Fortress”. There are several reasons why I find this demo interesting and pretty amusing. First…


MSDN TV: WCF Bindings.

[Note to self: Schedule the video taping session early in a bound-to-be-stressful week, not 2 hours before you need to leave for the airport on Friday.] MSDN TV has a new episode featuring yours truly speaking about WCF bindings (and what they cause in the channel stack).


Code-Name WinFX vs .NET Framework 3.0

I was sad when “Indigo” and “Avalon” went away. It’d be great if we’d have a pool of cool legal-approved code-names for which we own the trademark rights and which we could stick to. Think Delphi or Safari. “Indigo” was cool insofar as it was very handy to refer to the technology set, but was removed far enough from the specifics…


XML is the assembly language of Web 2.0

I’ve been quoted as to have said so at TechEd and I’ll happily repeat it: “XML is the assembly language of Web 2.0”, even though some (and likely some more) disagree. James Speer writes “Besides, Assembly Language is hard, XML isn’t.” , which I have to disagree with. True, throwing together some angle brackets isn’t the hardest thing…