Welcome to MSDN Blogs Sign in | Join | Help

March 2007 - Posts

Setting the Message Via

Can I write a point-to-point router service by setting the Via property for outgoing messages? Like most things, this is going to depend on the specific behavior of the transport channel you're using, but in general the answer is no. The transport channel

SSL and System Time

A few days ago I decided to upgrade my home machine from 1 GB of RAM to 2 GB. I've been running Vista at home since last summer and it occasionally gets cranky when it runs out of memory. After the usual problems of fiddling with hardware, everything

Writing Channel Manager Essentials

Once you've obtained a channel manager from the binding element, you have the first object that is usable for network communication. Although the two kinds of channel managers, channel factories and channel listeners, share many of the same methods, the

Writing Binding Element Essentials

We're back to the channel development series for another pair of days. When I left off, I promised to talk a bit about writing binding elements and channel managers. Today's article is about writing binding elements and tomorrow's article is about writing

Where You're Reading

I know that 80% of you read this blog using RSS and just about 70% of what's left are coming here because some cold, calculating search engine algorithm has told you that this just HAS to be the information that you're looking for. However, every once
Posted by Nicholas Allen | 1 Comments
Filed under:

Preventing Anonymous Access

How do I prevent clients from accessing my service anonymously? I've changed the settings in IIS from Anonymous Access to Integrated Windows Authentication. However, now I'm getting the error message: "Security settings for this service require 'Anonymous'

Responding to GetProperty

I've created a custom implementation of GetProperty for my binding but now I'm getting errors when I go to use the channels. Why is the validation for these channels failing? This is an implementation problem that I've talked about in the past. There

Channel Managers

Last time, we left off the channel construction process at the end of the design stage. During the design stage, everything is still in an unmolded and configurable state. At the end of the design stage, the construction process flips from a configuration

Gone Missing?

Today's post seems to have gone missing from the posting system. I'll see if I can locate what happened to it and reinsert it back into the post queue for tomorrow. At some point I should probably invest in creating a more reliable auto-poster.
Posted by Nicholas Allen | 0 Comments
Filed under:

Channel Bindings

We're back to the channel development tour for another pair of articles. Today's article is the first of four in this segment on channel construction. The first half of the segment is background and the second half of the segment talks about code. In

Mapping to a VDir

When I run my non-HTTP service in IIS, I get an error message that the protocol is not supported. How do I add non-HTTP support to my VDir? This is a two step process because the web site controls the list of available protocols while the application
Posted by Nicholas Allen | 5 Comments
Filed under: , ,

Looking for SQL Service Broker Users

Are you someone that's interested in using Service Broker together with WCF? If so, would you like to answer a few questions? I went surveying for SSB users at a Microsoft MVP event last night, but now is your chance to participate as well. I got to talk
Posted by Nicholas Allen | 4 Comments
Filed under: ,

Getting the Client Identity

How does my service know the identity of one of the connecting clients? I'm going to focus this answer on obtaining a Windows identity since it's easier to write if I've just picked a single kind of identity. You can use whatever identity mechanism you
Posted by Nicholas Allen | 2 Comments
Filed under: , ,

Channel Writing Checklist (Optional)

Let's fill in some of the spaces around yesterday's checklist with a list of additional features for a custom channel. Nothing that's been added to this list is required to actually send or receive messages. By doing the things listed here, you can enable

Channel Writing Checklist (Required)

This pair of articles marks the checkpoint between the "big picture" introductory segments and the segments where we actually start getting down into the code. The transition is going to be gradual so there's still some philosophy left, particular around

Extracting Content Types

What is the content type of the message returned by a service? The idea of a content MIME type is very popular in HTTP programming, both for communicating the format of the data and the text encoding inside that format. However, content types are not
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Channel Shapes

I was looking through the archives the other day and found that the original article on channel shapes is actually still accurate despite having come out a year ago. It's interesting to step forward in time and watch as things become more and more like

Message Flow Interception Points

We've been looking at the flow of messages ( Part 1 and Part 2 ), but have never stopped along the way to look at the extensibility points where you can plug in your own code. Being a highly-extensible framework, WCF has piles and piles of these extensibility
Posted by Nicholas Allen | 4 Comments
Filed under: ,

The Pool is Full

What does the trace message "The pool of the native MSMQ messages is full. This may affect performance." mean? Is this a problem? I've seen some people on the WCF forums ask if this message is related to their MSMQ problems. It almost certainly is something
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Flow of Messages, Part 2

Continuing from last time, we were looking at the flow of a message during a service call. We left off at the point where the service client had just dropped a message off to the network. Today, we're going to follow that message up through the completion
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Flow of Messages, Part 1

In the channel development series so far, we've just been looking at channels. I've already mentioned that you should consider using other extensibility points instead of channels when that's cost-effective. However, it has so far been left a mystery
Posted by Nicholas Allen | 2 Comments
Filed under: ,

March CTP Released

The latest CTP is available for the Visual Studio "Orcas" release . There are a lot of new features in this CTP across the .NET Framework, but I don't recommend that WCF developers make the jump quite yet. There are some issues with CLR generics and a
Posted by Nicholas Allen | 1 Comments
Filed under: ,
 
Page view tracker