Nicholas Allen's Indigo Blog

Windows Communication Foundation From the Inside

August, 2006

Blog - About

About

Dr. Allen is a Program Manager at Microsoft working on Windows Communication Foundation, Windows Workflow Foundation, Silverlight, and other projects for the .NET Framework.

All material is provided "AS IS" with no warranties, and confer no rights. The opinions expressed are those of the individual authors, and do not reflect the views of Microsoft. Material may be added or removed without notice.

By posting a comment you grant me a non-exclusive, royalty-free license to do whatever I like with the comment, including giving these rights to another party. Ownership of a comment remains with the author.

I do not edit comments but I may ignore or delete them for any reason without warning.

  • Nicholas Allen's Indigo Blog

    Secure MEX Endpoints

    • 1 Comments
    In the previous articles about MEX endpoints , I always used the MetadataExchangeBindings class to create the binding for the MEX endpoint. Is it possible to use other bindings with your MEX endpoints? For example, some people want to secure their metadata...
  • Nicholas Allen's Indigo Blog

    Configuring an Operation to Impersonate

    • 3 Comments
    Today's post is a supplement for those people annoyed that Using Impersonation with Transport Security doesn't actually explain how to use impersonation. Most of the questions that I've seen for this topic come from people that already know how Windows...
  • Nicholas Allen's Indigo Blog

    Using Composite Duplex

    • 4 Comments
    The CompositeDuplex channel is one of the two shape-changing channels that we've included in the product for V1 (the other shape-changing channel is the OneWay channel that I've talked about in passing). CompositeDuplex is actually a concept rather than...
  • Nicholas Allen's Indigo Blog

    Cancelling Streams

    • 2 Comments
    A frequently asked question I see is whether it's possible to cancel a streamed operation. The simple answer is that gracefully shutting down a streamed operation requires some work and planning at design time. It's always possible to rudely shut down...
  • Nicholas Allen's Indigo Blog

    Why is the RequestContext Null?

    • 1 Comments
    Today's post somehow ended up getting bumped to Sunday. All is well now. Sorry for the late start. In the request/reply model, the RequestContext object is the link between the request that comes in and the reply that goes out. When the server...
  • Nicholas Allen's Indigo Blog

    WCF and WF Webcasts in September

    • 0 Comments
    During the month of September, there is going to be a series of webcasts targeting financial services developers. It looks like a few of the talks in the series would be of interest to distributed application developers. I'm assuming that all of the talks...
  • Nicholas Allen's Indigo Blog

    An Unanticipated Addendum for Certain MEX Scenarios

    • 5 Comments
    I wrote the article on MEX endpoints about a month ago after someone asked the question on one of our internal mailing lists. I wrote the NetTcp Port Sharing sample about a month ago as well. Late at night I needed to test that the MEX endpoint code compiled...
  • Nicholas Allen's Indigo Blog

    Manually Adding MEX Endpoints

    • 5 Comments
    One of the changes in a recent version was that MEX endpoints no longer get added to your service host by default. Instead, you either need to supply the ServiceMetadataBehavior or supply the ServiceMetadataBehavior and manually add your favorite type...
  • Nicholas Allen's Indigo Blog

    ReplyMangler Channel

    • 2 Comments
    To finish up the series on one-way HTTP requests , I promised to supply a custom channel that fixes the scenario of using the POX message encoder together with one-way requests. This is primarily a code post since most of the interesting discussion is...
  • Nicholas Allen's Indigo Blog

    Making One-Way HTTP Requests, Part 3

    • 3 Comments
    We've been looking at the mystery of why one-way messages stop working when you turn on the POX message encoder . The clues to solving this mystery are that: The service does not change its behavior at all when the message encoder is changed. ...
  • Nicholas Allen's Indigo Blog

    Making One-Way HTTP Requests, Part 2

    • 6 Comments
    The article yesterday left off by stating that while the test program works fine with the messaging defaults, things break when we switch to the POX message encoder. Today and tomorrow, we'll look at what goes wrong, why, and how to fix it. To switch...
  • Nicholas Allen's Indigo Blog

    Making One-Way HTTP Requests, Part 1

    • 7 Comments
    I promised yesterday that we would start using the HttpListener test program to look at some HTTP requests. I'm going to start by creating a fictional IPing service and a simple custom binding over HTTP. The test listener from yesterday was very basic...
  • Nicholas Allen's Indigo Blog

    Using HTTP in System.Net

    • 3 Comments
    I think that the HttpWebRequest class for making HTTP requests in System.Net is fairly well understood but not that many people seem to make use of the HttpListener class for receiving requests. I use HttpListener when I need to see what WCF is doing...
  • Nicholas Allen's Indigo Blog

    Introducing CommunicationState

    • 3 Comments
    It's hard to believe that I introduced the ICommunicationObject state machine six months ago but never got around to talking about the CommunicationState enumeration that actually describes the states. Let's fix that today. I'll specifically talk about...
  • Nicholas Allen's Indigo Blog

    My Blogging Dirty Dozen

    • 3 Comments
    One of the problems with spending so much time writing is that I now rarely have enough time to dedicate to reading. A few months ago I tried as an experiment to strictly limit the number of blogs that I was subscribed to. The list changes month-by-month...
  • Nicholas Allen's Indigo Blog

    More Binding Polymorphism

    • 2 Comments
    Last week I wrote about a generic method for getting the reader quotas from a binding . binding.GetProperty<XmlDictionaryReaderQuotas>(parameters); This looks fine and it works for reading the quota values, but it doesn't work if you try to set...
  • Nicholas Allen's Indigo Blog

    Net.Tcp Port Sharing Sample, Part 3

    • 3 Comments
    I'm presenting a small sample I wrote to demonstrate the port sharing feature. The third part is the test client and example usage. I'm looking for feedback to help make the sample better. Right now, the sample configures the endpoints in code rather...
  • Nicholas Allen's Indigo Blog

    Net.Tcp Port Sharing Sample, Part 2

    • 3 Comments
    I'm presenting a small sample I wrote to demonstrate the port sharing feature. The second part is the server application. I'm looking for feedback to help make the sample better. Right now, the sample configures the endpoints in code rather than configuration...
  • Nicholas Allen's Indigo Blog

    Net.Tcp Port Sharing Sample, Part 1

    • 5 Comments
    For the next few days I'm going to present a small sample I wrote to demonstrate the port sharing feature. The first part presents background information about the feature. I'm looking for feedback to help make the sample better. Right now, the sample...
  • Nicholas Allen's Indigo Blog

    Binding Polymorphism

    • 8 Comments
    A few days ago, Avner Kashtan asked why the design-time elements of the channel stack don't have a common object hierarchy for configuration settings (thereby making it difficult to change settings without knowing what transport you're using). The answer...
  • Nicholas Allen's Indigo Blog

    Introducing MessageState

    • 3 Comments
    I've mentioned that messages have a definite lifecycle without ever mentioning what the lifecycle represents. The MessageState enumeration reflects the different stages that a message goes through. public enum MessageState { Created = 0, Read = 1...
  • Nicholas Allen's Indigo Blog

    A Moment of Silence

    • 0 Comments
    Today I spent some time reflecting on the proliferation of crummy date formats in network protocols. The particular plague was the HTTP/1.1 specification, which includes not one but two date formats that are obsolete yet required to be supported. There...
  • Nicholas Allen's Indigo Blog

    Advanced Encryption Standard

    • 3 Comments
    The last cipher I'm going to talk about is the Advanced Encryption Standard (AES). With this, we'll have covered about half of the important algorithms needed for a transport security implementation, such as SSL. AES started out as a contest to replace...
Page 1 of 1 (23 items)