Browse by Tags
All Tags »
.NET (RSS)
Every so often, someone posts a question about handling Faults in the MSDN WCF Forums ( http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=118&SiteID=1 ). The question follows the lines of “I get the whole FaultException<T>/FaultContractAttribute
Read More...
I was giving a demonstration today of versioning DataContracts. During the demo, I made a big mistake and couldn’t figure out where I had gone wrong. I wound up promising the folks in my class that I would diagnose the issue and explain to them the error
Read More...
I remember the joys of being a MFC/ATL developer in the 1990s. I could step through all the Microsoft code except for the system DLLs. Thanks to this visibility, I fixed my bugs faster, got an excellent view of how the framework underneath me worked,
Read More...
Courtesy of the ThinkTecture blogs, we have this post: http://blogs.thinktecture.com/buddhike/archive/2007/09/01/414926.aspx . Apparently, there is some confusion about how to get a single ChannelFactory instance to hit a single web service using many
Read More...
The Orcas setup for WCF misses adding a couple of items needed for WebScript and the WebHttpBinding, both of which are needed to configure and run JSON type Web services. The fix is to update the applicable config file. To make the fix apply across your
Read More...
Windows passport and otheis supposed to be some sort of wonderful replacement for Passport and other identity services. The problem is that not a lot of places have CardSpace enabled yet. As a result, many people who have CardSpace installed via .NET
Read More...
With System.Runtime.Serialization , you only need to be able to transform data to and from some ‘wire representation’ to an XML Infoset . Whether that thing looks like XML or not when printed doesn’t matter. The .NET 3.5 framework is going to ship with
Read More...
The WCF team posted a perf article comparing WCF against other mainstays of distributed computing: ASMX, .NET Remoting, Enterprise Services, and WSE. In all cases, if you are doing 'normal' stuff (real objects with interesting serialization), WCF is faster.
Read More...
I just had the pleasure of spending a week talking about Windows Communication Foundation. That week reopened my eyes to what an amazing thing WCF really is. It also opened my eyes to the set of new ideas developers have to wrap their heads around. One
Read More...
I was giving a talk the other night and one of the attendees came up with a great question: “How do I handle future versions of a DataContract with something that expects an older version?” This is a concern for anyone deploying a v1.0 Web service and
Read More...
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...
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...
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...
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...
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...