Mimeo’s Initial Migration/Implementation of ASP.NET AJAX Completed

We just launched the first version of the site where we depend completely on ASP.NET AJAX to do all our script management. Here’s what we did in this initial phase: Added ScriptManager to our Master Page and ScriptManagerProxy to any content pages that required it Changed all static <script> tags to be ScriptReferences Changed all […]

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 […]

Providing custom context to your WCF service instance

In my last post about providing custom context I described a way that allowed you to scope the context to the operation/method level. This time I’m going to show you a way that will allow you to scope your context to the service instance level. As you may, or may not, know there are a few instancing modes for […]