Welcome to Catalyst Blogs Sign in | Join | Help

January 2007 - Posts

Nullable enums and serialization with WCF/System.Runtime.Serialization
I ran into an interesting question in the WCF forums today. A user asked what a WCF service would see when expecting an enum that has valid values 1 and 2 and when the service saw a Nullable enum. Assuming some enum with valid values 1 & 2: enum TheEnum Read More...
Development Debugging tip for Tracing with WCF applications
When writing a WCF application, I almost always enable tracing, just to see what is going on inside my application. It’s one of my favorite features in WCF (and I’m not just saying this because I spent 18 months of my life making it work the way it does!). Read More...
WPF and Petzold
Recently, I've been motivated to learn WPF. I've tried running through the existing walkthroughs and using tools like Cider and Expression Blend, but I'm not getting a lot of joy out of this. Recently, MSDN began running some articles from Charles Petzold Read More...
WCF—Creating the Simplest, Working BindingElement, part 6.
The System.ServiceModel.Channels.ChannelBase/IChannel A channel actually handles manipulating the Messages that pass through the channel stack. A channel is notified on the normal ICommunicationObject events (Open | Close | Abort). Depending on the channel Read More...
WCF—Creating the Simplest, Working BindingElement, part 5.
The System.ServiceModel.Channels.ChannelFactoryBase/IChannelFactory A ChannelFactory, as defined by IChannelFactory and implemented in the abstract base class ChannelFactoryBase, creates IChannel objects for consumption by entities that initiate conversations. Read More...
WCF—Creating the Simplest, Working BindingElement, part 4.
The System.ServiceModel.Channels.IChannelListener/ChannelListenerBase Every ServiceHost needs to have a way to listen for other endpoints to request connections. When one calls ServiceHost.Open(), the listening is able to begin thanks to an implementation Read More...
WCF—Creating the Simplest, Working BindingElement, part 3.
The System.ServiceModel.Channels.BindingElement A System.ServiceModel.Channels.BindingElement-derived type has these responsibilities: · Given a BindingContext, indicate if the BindingElement can build a given IChannelFactory or IChannelListener. This Read More...
WCF—Creating the Simplest, Working BindingElement, part 2.
In my last post , I gave you a quick overview of what the ServiceModel channel stack looks like and when you might want to extend it. In this post, we are going to look into how to put our own code into that stack. To do this, we have to go over some Read More...
WCF—Creating the Simplest, Working BindingElement, part 1.
WCF listens for messages using a stack of BindingElements. The bottom of the stack always contains the BindingElement that holds the machinery to speak to the wire (HTTP/S, MSMQ, TCP/IP, etc.). At the top of the stack is another BindingElement, typically Read More...
Solid State Disk Drives
Perhaps I'm a bit too much of a geek at times, but there is a new technology that has me really excited: solid state disk drives. I remember reading that these things would be hitting big time with very large sizes. According to the Register, Sandisk Read More...
Virtual PC 2007, Wireless, and Windows Server 2003
One of the chief complaints I've heard (and experienced!) of the Microsoft virtualization technology is that it just doesn't work well. I've been running Virtual PC 2007 on Vista for the past 6 weeks. My impression is that the guest OS is running about Read More...