Nicholas Allen's Indigo Blog

Windows Communication Foundation From the Inside

January, 2007

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

    Amplified Flooding Attacks

    • 2 Comments
    Today's article is about a classic flooding attack that relies on a receiver who isn't careful about where it sends responses. The whole article is about this next picture, so if you don't have images then you're going to miss out. The...
  • Nicholas Allen's Indigo Blog

    Queue Scalability

    • 4 Comments
    I'm building an always-on service that gets its messages from a front-end queue. How do I design this service to be scalable? There are two directions to go in when talking about scalability. There's scaling up, handling more messages while continuing...
  • Nicholas Allen's Indigo Blog

    Using XML Serialization with WCF

    • 3 Comments
    How do I switch the serializer being used to process messages to the old XmlSerializer? WCF supports both the newer data contract style of message description as well as the older XmlSerializer style of message description used by ASP.NET. The...
  • Nicholas Allen's Indigo Blog

    Disabling Security Timestamps

    • 2 Comments
    I'm using the WSHttp binding for message security with a non-WCF system. The other system doesn't have a complete security implementation, and in particular it doesn't know how to process message timestamps. How can I disable verification of the security...
  • Nicholas Allen's Indigo Blog

    Errors Without Context

    • 1 Comments
    I don't know how many people use the code I post, but I frequently stumble across peculiar or interesting behavior while trying to get the snippets working. If the behavior relates to the topic I'm trying to explain, then it goes in the article. If the...
  • Nicholas Allen's Indigo Blog

    Modifying HTTP Error Codes, Part 2

    • 2 Comments
    Let's pick up where we left off last time with the question… How do I modify the HTTP status code that gets sent back with a fault? It's clear that we need to plug into the fault generation process somehow, but in past articles we've only seen...
  • Nicholas Allen's Indigo Blog

    Modifying HTTP Error Codes, Part 1

    • 2 Comments
    Back to errors and faults for a bit with this two part series on modifying the HTTP status code used for fault messages. First, we'll need some background. What happens at the HTTP level when a web service encounters a problem? That's a good question...
  • Nicholas Allen's Indigo Blog

    Keeping Traces Up to Date

    • 2 Comments
    I've enabled tracing in my application, but I don't see entries in the trace log show up until I restart IIS. How can I get trace entries to appear right away? Like many other output files, traces are buffered to reduce the number of times that...
  • Nicholas Allen's Indigo Blog

    Are Your Message Headers Still Unsecure?

    • 1 Comments
    Due to some server problems, the MSDN RSS and Atom feeds weren't getting updated Thursday or Friday. If your reader can't find the posts on securing custom message headers, then here are some direct links that you can use. Securing Custom Headers...
  • Nicholas Allen's Indigo Blog

    Securing Custom Headers, Version 2

    • 4 Comments
    Last time we were looking at the problem of securing a dynamically generated message header . We saw one solution to that problem, which was to add a behavior that updated the protection level for the desired message part. That solution is quite simple...
  • Nicholas Allen's Indigo Blog

    Securing Custom Headers, Version 1

    • 5 Comments
    I'm securing messages using SOAP security but I also have some message headers that are generated dynamically at runtime. How do I protect the generated message headers as well? If you've used SOAP security, then you've probably done it by decorating...
  • Nicholas Allen's Indigo Blog

    Faking Channel Security

    • 5 Comments
    I occasionally see people asking how they can fake the security capabilities of a binding. These questions often start off with "I'm getting an error message that a message's required protection level is not being met". Now, I'm not precisely sure why...
  • Nicholas Allen's Indigo Blog

    Restarting a Failed Service

    • 4 Comments
    I have an application hosted inside a Windows service that needs to be continuously running. Occasionally the application service host will fail and I have to restart the service. How can I automatically restart a failed service host? You may not...
  • Nicholas Allen's Indigo Blog

    Customizing a Metadata Resolver

    • 2 Comments
    I'm trying to use a metadata resolver but the metadata endpoint requires a custom binding. How do I override the binding used by MetadataResolver? The overloads on MetadataResolver are pretty strange, but you can pick any of the ones that take...
  • Nicholas Allen's Indigo Blog

    Replacing an Existing ASMX Service with WCF

    • 6 Comments
    I have an existing ASMX service that I'm replacing with a WCF service. The replacement service works, but some of the clients point to a page with a service.asmx address. IIS gives me an error if I name my WCF service service.asmx. How do I get this to...
  • Nicholas Allen's Indigo Blog

    Serialization of Client Calls

    • 1 Comments
    I'm making multiple calls to a service and all of the other calls sit waiting until the first call completes. How do I make the service process multiple calls at the same time? If a service doesn't accept multiple, simultaneous calls from your...
  • Nicholas Allen's Indigo Blog

    MSMQ: Net vs Integration

    • 4 Comments
    Why are there two MSMQ bindings? This is an easy question to answer: there are two bindings for MSMQ because they do different things. Go ahead and take a look at each of the bindings. The NetMsmqBinding looks like a normal binding with an MSMQ...
  • Nicholas Allen's Indigo Blog

    Manual Addressing

    • 4 Comments
    How can a client application control the To address of an outgoing message? I don't want to create a new proxy for every connection. This is one of those topics that I could have sworn that I wrote about but can't find any evidence of it online. Actually...
  • Nicholas Allen's Indigo Blog

    Hosting on Machines with Multiple Addresses

    • 4 Comments
    I have a machine with multiple network cards. How do I control which networks my service listens on? The answer to this question is going to be specific to the transport that you're using. I'll cover the HTTP and TCP transports that WCF ships with...
  • Nicholas Allen's Indigo Blog

    Designing New Faults

    • 5 Comments
    The last piece of this eleven part series on fault messages covers advice for channel authors that need to define their own set of faults. Everything here assumes that you're writing a protocol channel, that you have interesting failure cases that...
  • Nicholas Allen's Indigo Blog

    Faults and HTTP

    • 2 Comments
    I left HTTP error codes out of yesterday's post on zen faults because they're representative of a distinct class of out-of-band fault messages. Out-of-band faults map fault information to a transport-specific mechanism that carries the data outside of...
  • Nicholas Allen's Indigo Blog

    Zen Faults

    • 3 Comments
    I've been talking about fault messages for a while now, specifically the kind that are sent around as the body contents of a SOAP message. However, some of the most important faults are reported without sending a message at all. In that case, we have...
  • Nicholas Allen's Indigo Blog

    2006 Year in Review

    • 3 Comments
    I started this blog back in February hoping to produce a daily post throughout the entire month. I had about twenty topic ideas ready and I had no idea what I was going to do when those ran out. The long-term goal was to reach 100,000 visitors a month...
Page 1 of 1 (23 items)