Collection properties need a setter implementation when using DataContractSerializer

I was having a problem with serializing a FaultException that had a custom details class that was a collection. Today I figured out that, when using the DataContractSerializer, you need to make sure you provide a setter implementation even for your collection based properties. Once again, this is a departure from the way that the […]

I’ve hit a snag with TransportWithMessageCredential over plain HTTP

So a couple days ago I posted an entry about how to implement a custom transport that allows you to send message credentials over plain old HTTP. Unfortunately when I rolled this into the test environment where I had all the “real” infrastructure in place I ran into a new problem. It appears that the […]

Collection property serialization with DataContractSerializer takes us a step backwards?

Since I have to define my fault details with DataContractSerializer attributes for now (I hope it’s only for now anyway), I was looking at how to translate a property that was previously serialized by the XmlSerializer using XmlArrayAttribute and XmlArrayItemAttribute. Well, I figured out pretty quick there was no equivalent, found CollectionDataContractAttribute, but thought “noooo, […]

WCF Fault Detail serialization does not support XmlSerializerFormat?

Just found out WCF does not supporting XmlSerializerFormat for custom fault details (see note under Creating Strongly Typed Faults section here). Everything else in my contracts is defined using this approach and now I have to use DataContracts for my fault details? What’s up with that? Seems superbly  lame and inconsistent to me. Gonna have […]

How To: SSL Passthrough with WCF –or– TransportWithMessageCredential over plain HTTP

I asked a question in the forums a week or so ago about how one could go about getting username credentials to be passed through HTTP. The problem is that, out of the box, WCF will not allow you to specify message credentials without using a secure transport. This is probably a really smart move for Microsoft […]

My first week with Vista

So, this is my first week running Vista (RC1) on my primary machine. It’s a laptop that I use exclusively both at work and at home. The specs are:   Alienware M7700 3.8GHz Intel P4 w/HT 2GB RAM 100GB 7200RPM SATA HD (two NTFS partitions) nVidia GeForce 6800 Ultra Go (beta WDDM drivers) Realtek High Definition […]