Tag Archives: WCF

WCF Routing

As a little experiment I’ve been playing with a WCF router. Basically a router will accept any request on a certain binding and forward the request to the real service. There are quite some examples available on the internet but … Continue reading

Posted in WCF | Tagged , | 1 Comment

Use your WCF proxies in a safe way

In a lot of WCF examples you’ll see that the proxy is called in a using statement, this is actually not the best or safest way to call your proxy. When you write using (ServiceProxy proxy = new ServiceProxy()) { … Continue reading

Posted in WCF | Tagged , | Leave a comment

Tracing WCF messages

When you need to see the actual WCF message that gets over the wire you could use tools such as TcpTrace but this won’t work immediatly. The security of WCF doesn’t allow communication when the "To" header of the message … Continue reading

Posted in WCF | Tagged , | Leave a comment

MaxItemsInObjectGraph and keeping references when serializing in WCF

Yesterday when I was implementing a new WCF service I encountered a problem that the response of the service contained too much items ("System.Runtime.Serialization.SerializationException : Maximum number of items that can be serialized or deserialized in an object graph is … Continue reading

Posted in WCF | Tagged , | 3 Comments