Welcome to Catalyst Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET   (RSS)
Exceptions, Faults, and IErrorHandler
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...
DataContract Serialization and Inheritance 'gotchas'
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...
Back to the good old days?
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...
Understanding sync vs. async on a WCF Sender
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...
Using JSON with Orcas Beta 1-- Fixing Config
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...
CardSpace experience
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...
JSON and System.Runtime.Serialization (and System.ServiceModel.Web)
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...
Windows Communication Foundation (WCF) Performance numbers are out.
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...
WCF: URIs, URLs, and URNs (oh my!)
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...
Being ready for the next version: XmlSerializer, DataContract, IExtensibleDataObject
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...
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...
More Posts Next page »