Nicholas Allen's Indigo Blog

Windows Communication Foundation From the Inside

November, 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

    Proxy Bypassing Behavior

    • 3 Comments
    The HTTP transport and binding element have three settings for controlling the proxy behavior. public bool BypassProxyOnLocal { get; set; } public Uri ProxyAddress { get; set; } public bool UseDefaultWebProxy { get; set; } UseDefaultWebProxy controls...
  • Nicholas Allen's Indigo Blog

    Format for Configuring HTTP and TCP Activation

    • 7 Comments
    IIS uses some inscrutable strings to configure the activatable bindings of a web site. Here's the minimum you need to interpret a binding and get started working with activation. Activation is controlled by the activationHost.config file. In the list...
  • Nicholas Allen's Indigo Blog

    Controlling the Synchronization Context

    • 4 Comments
    The synchronization context is invisible state that flows around making sure that the proper threading model is being used with requests. Windows Forms applications, for example, require that calls be made on a particular thread and the synchronization...
  • Nicholas Allen's Indigo Blog

    Mixing Message Contract Attributes

    • 6 Comments
    What's wrong with the following code? The error message when you try this is better than it used to be a few months ago. However, since you don't see the error until you try to run your service, I still see people making this mistake. [MessageContract...
  • Nicholas Allen's Indigo Blog

    Dangers of Application Domain Recycling

    • 1 Comments
    Secure calls to a hosted service are intermittently failing with the following error message: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. The inner exception...
  • Nicholas Allen's Indigo Blog

    Tuning Service Throttles

    • 1 Comments
    The first step in tuning a service is figuring out which throttles should be adjusted. The default throttle values for WCF are extremely conservative out of the box, meaning that you almost always will be tuning throttle values upwards. This also means...
  • Nicholas Allen's Indigo Blog

    Slight Style Change

    • 0 Comments
    During the server upgrade a while back, there was a settings change that caused wide content to get cut off rather than displaying scroll bars. There pretty frequently are some long lines in the code samples that won't fit on the average display. I guess...
  • Nicholas Allen's Indigo Blog

    Getting the Client's Password

    • 2 Comments
    I'm writing a middle-tier service that needs to act as the client. I can get the user name from the client credentials but the password isn't available. How do I get the client's password? Most reputable security systems never give the service access...
  • Nicholas Allen's Indigo Blog

    Light Week Coming Up

    • 0 Comments
    Due to the holidays, there will be no posts on Thursday or Friday of next week. There will be posts Monday through Wednesday, but I may not always be approving/responding to comments or answering email until the week after.
  • Nicholas Allen's Indigo Blog

    Building a Secure Composite Duplex

    • 2 Comments
    I'm getting this error message even though I have security enabled for my service: Unhandled Exception: System.InvalidOperationException: The response message must be protected. This is required by an operation of the contract ('ICalculator', 'http...
  • Nicholas Allen's Indigo Blog

    Modifying the Binding of a Service

    • 2 Comments
    It's occasionally useful to be able to replace the binding being used for an existing service host. For example, if the binding was loaded from configuration, you may then want to have your code examine the binding and modify some of the settings. This...
  • Nicholas Allen's Indigo Blog

    Splitting Up XML Text Nodes

    • 2 Comments
    Will the XML DOM I get from a message exactly match the XML DOM that was originally sent? This isn't a real question I've seen, but it's often hidden inside of another question. For example, there are people that extract content from an XML document...
  • Nicholas Allen's Indigo Blog

    How to Configure MaxItemsInObjectGraph

    • 1 Comments
    I've been told that I'm exceeding the maximum number of items that can be serialized or deserialized. Where is this MaxItemsInObjectGraph setting? I can't find it anywhere. MaxItemsInObjectGraph looks like a message encoder setting but you won't...
  • Nicholas Allen's Indigo Blog

    Handling Message Encoder Errors

    • 3 Comments
    This time it's two questions that have the same answer. What contract does the message encoder have for producing a message from ReadMessage? What should the transport do if the message encoder doesn't produce a message from the buffer you give...
  • Nicholas Allen's Indigo Blog

    Transacted WaitForMessage Illustrated

    • 0 Comments
    I didn't originally intend to draw out the picture corresponding to TryReceive and WaitForMessage in the presence of transactions . However, I had just upgraded Office 2007 to the final version and I wanted to make sure that everything was still working...
  • Nicholas Allen's Indigo Blog

    When to Wait for Messages

    • 6 Comments
    When you call receive on a channel, there is always a timeout that bounds that receive operation. There are actually three different kinds of receive on the standard input channel shape. The Receive method waits for a message to arrive up to the timeout...
  • Nicholas Allen's Indigo Blog

    Who's Talking About .Net 3.0 Shipping?

    • 1 Comments
    I was home sick yesterday, so after publishing the WCF RTM announcement , I decided to flip through and read everyone else on MSDN that published a similar announcement. Here's the list I came up with. The order is just the order I found them in. The...
  • Nicholas Allen's Indigo Blog

    V1 RTM Downloads

    • 5 Comments
    After a long wait, WCF V1 is now available! We will of course be shipping with Vista, but the online download is accessible now. Everyone should be upgrading from the beta and RC releases now. Remove any previously installed versions before attempting...
  • Nicholas Allen's Indigo Blog

    Dealing with SSL Certificate Validation Failures

    • 1 Comments
    Here's a quick list of things to try when debugging a non-functioning SSL server certificate. Has the certificate expired or been revoked? Does the MMC Certificate Manager say that the certificate is valid? Is the certificate in the...
  • Nicholas Allen's Indigo Blog

    Pull Not Push

    • 2 Comments
    There are two architectural models for moving messages through a system. Pull messaging models require the receiver to actively suck messages out of the pipeline in order to achieve flow. If the receiver is not willing to perform work, then there's nothing...
  • Nicholas Allen's Indigo Blog

    The Mixed Mode Addressing Picture

    • 1 Comments
    Once again I ended up with a picture laying around after writing yesterday's article on addressing . This picture covers all of the basic addressing cases that I discussed. Bidirectional TCP with anonymous addressing Request-reply HTTP with anonymous...
  • Nicholas Allen's Indigo Blog

    Mixed Mode Addressing

    • 5 Comments
    WCF has a variety of addressing controls for specifying where messages should be sent. For example, there's the To address of the logical endpoint, the Via address of the physical endpoint, the ReplyTo address of the endpoint where the response should...
  • Nicholas Allen's Indigo Blog

    Design Pattern for Building Channel Factories and Listeners

    • 3 Comments
    This is just a style convention that helps you avoid doing some thinking while writing custom channel classes. During the channel construction process, there's a flow of information from the binding (design time), through the channel factory and listener...
Page 1 of 1 (23 items)