Welcome to MSDN Blogs Sign in | Join | Help

December 2006 - Posts

Consuming Faults, Part 2

Picking up from last time, we were going to look at consuming exceptions to possibly produce a fault message. The same machinery is used here as for the reverse conversion process . Exceptions go through an instance of FaultConverter, you can create your
Posted by Nicholas Allen | 7 Comments
Filed under: , ,

News in the World of SOAP

After a long period of dormancy, several documents related to the SOAP 1.2 standard appeared shortly before Christmas. The first four of these documents are a second edition of the SOAP 1.2 specification that incorporate all of the errata found in previous
Posted by Nicholas Allen | 0 Comments
Filed under:

Consuming Faults, Part 1

The next two episodes are about consuming fault messages and exceptions. Day one covers consuming fault messages and possibly producing an exception. Day two covers consuming exceptions and possibly producing a fault message. Both directions work by going
Posted by Nicholas Allen | 3 Comments
Filed under: , ,

A Historical, Awkwardly Named Fault

The second most distinguished fault, with almost as many special cases and discussion as the MustUnderstand fault I talked about last week, ended up not making it into the product. Some form of the fault is still in there of course, but it lost its mouthful
Posted by Nicholas Allen | 3 Comments
Filed under: , ,

Google API Flap: Who Cares?

I watched the story about the Google SOAP Search API develop this week with some amusement because it seemed like the discussion instantly turned into one about religion rather than technology. There's plenty of technology being slung around of course,
Posted by Nicholas Allen | 1 Comments
Filed under:

Another Light Week

There are no topics planned for December 25th, December 26th, or January 1st unless, by popular demand, you'd like to hear about my technique for perfectly extracting cranberry sauce from a can. Otherwise, you'll have to go and read some of the older
Posted by Nicholas Allen | 2 Comments
Filed under:

The Most Distinguished Fault

There is one fault that distinguishes itself from all the rest by the level of support built in for it throughout the platform. This fault has its own attribute, its own behavior, works with any transport or protocol, is one of the few faults handled
Posted by Nicholas Allen | 4 Comments
Filed under: , ,

Tagging Glossary

Announcements- Notice that something new related to WCF has come out (primarily product releases). Answers- Articles based on questions that I've gotten or that explain how to solve a specific problem. Bindings- Articles about writing or using bindings,
Posted by Nicholas Allen | 2 Comments
Filed under:

Creating Faults, Part 3

A fault code is an opaque string that classifies an error. The fault code string doesn't have to be meaningful, it could be "X", but having short yet meaningful strings can aid the debugging experience. The real meaning is in the fault reason that we
Posted by Nicholas Allen | 4 Comments
Filed under: , ,

Blogging in the Dark?

A large windstorm knocked out power to much of the Seattle area late Thursday night. Most of the city is back up although about half of the surrounding suburbs were still dark as of Sunday afternoon. The posting machine had no power at all on Friday,
Posted by Nicholas Allen | 0 Comments
Filed under:

Creating Faults, Part 2

Let's carry on with some discussion of the FaultCode and FaultReason classes. I was planning to do these two types together but I decided to do them as separate articles and make each of them a bit more detailed. I'll start with FaultReason as it's the
Posted by Nicholas Allen | 5 Comments
Filed under: , ,

Creating Faults, Part 1

I promised to start going over the object model for faults today, and I've split that coverage into two parts. The first part highlights the MessageFault class and creating fault messages (yes, it's a bit confusing that those are separate things). The
Posted by Nicholas Allen | 5 Comments
Filed under: , ,

Basics of Failure

A WCF message exchange session consists of three types of messages. Application messages are defined by the service contract and are what most people think of when they use the word message. Infrastructure messages are used to support the protocols of
Posted by Nicholas Allen | 3 Comments
Filed under: , ,

Unprotected Metadata

The idea of metadata is to provide a description of your service such that someone, with no other information about you or your service, can come along and build a client. If the metadata has sufficient detail, then the client and service can intelligibly
Posted by Nicholas Allen | 1 Comments
Filed under: ,

A Quick Diversion

One of the things I've been meaning to do since the reader poll is to organize all of the past posts into some kind of a table of contents. While I haven't quite figured out how to do that yet, I've started working on a few things now to help the organization
Posted by Nicholas Allen | 0 Comments
Filed under:

ListenUriBindingElement

The story from yesterday: there is an important setting for composite duplex that is only settable through the binding context. Unfortunately, proxy clients automatically create and use their own binding context so there is no convenient time to poke

Manually Injecting a ListenUri

The ListenUri is a three-part setting on the BindingContext that gives the server-side address of a connection. The ListenUri has a base and a relative address, plus a mode switch. The mode switch controls whether the uri should be used as-is or whether

Incompatible Addressing with Reliable Messaging

This was a bug that we found a few weeks before V1 shipped but it was not deemed severe enough to fix at the time. I know that one customer has hit this while experimenting and it's pretty easy to understand what's going wrong once you hear the details.

Overriding the Default Configuration File

How do I override the default configuration file? There's a number of different answers to this question depending on what you really intend to do with the configuration. Most of the time, the answer is a little harder than you would expect unless you've
Posted by Nicholas Allen | 6 Comments
Filed under: , ,

Registration of Base Addesses

HTTP namespace sharing allows you to build different pieces of your web site using different technologies. For instance, some parts of your content may be static pages or ASP.NET pages while other parts of your content may be web services. It would be
Posted by Nicholas Allen | 1 Comments
Filed under: , ,
 
Page view tracker