Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

Browse by Tags

All Tags » WCF (RSS)
Code Generation, SharedContracts and The Sneaky Bug
A short discussion ensued today on the topic of Code Generation tools like CodeSmith. Like Unit Testing, code generation is a topic that some people swear by and some reject out of hand. I'm sure this is mostly a question of getting used to the concept...
Posted: Aug 16 2006, 06:28 PM by AvnerK | with 4 comment(s)
Filed under: , ,
Creating CustomBindings programatically
I had another revelation earlier, when going over Nicholas Allen's explanation of the GetProperty<T> method and BindingContexts: The Binding objects supplied by the WCF framework are only a wrapper. They have no logic in them. They mean nothing...
Posted: Aug 11 2006, 12:49 AM by AvnerK | with 2 comment(s)
Filed under: ,
WCF: Navigating the Binding maze
A few days ago I ranted a bit about the Binding object model in WCF and how restrictive it feels when I want to imperatively describe my service bindings without being tied down to a specific transport. If I want to disable security or set the maximum...
Posted: Aug 07 2006, 10:24 AM by AvnerK | with 4 comment(s)
Filed under: ,
WCF Serialization Part 2d: A Solution, a Conclusion and a Contribution
This is the last part of my continuing saga of serializing dictionaries over WCF and beyond. Quick recap: While WCF allows me to serialize an IDictionary easily, trying to serialize that dictionary later for other uses fails - specifically, caching it...
WCF Serialization Part 2c: Hacking the NameValueCollection (unsuccesfully)
As we mentioned here and here , I've been struggling to get the NameValueCollection object to pass through WCF serialization. Please read the first two posts first for some context. In the previous episodes, we saw that we can't get WCF to serialize...
Posted: Aug 02 2006, 04:28 PM by AvnerK | with 6 comment(s)
Filed under: ,
WCF Serialization Part 2b: WCF Collection Serialization
As we mentioned here , I'm currently struggling with getting WCF to serialize my NameValueCollection object on a service operation. The previous post goes over the general details, while here I'll dive a bit deeper. It's recommended to read...
Posted: Aug 02 2006, 04:25 PM by AvnerK | with 7 comment(s)
Filed under: ,
WCF Serialization Part 2a: NameValueCollection Denied!
As we all know , IDictionaries aren't serializable. This is has been a cause of much concern and consternation throughout the years. Throughout these trying times, however, we had one shining beacon in the night - the NameValueCollection in the System...
Posted: Aug 02 2006, 03:40 PM by AvnerK | with 4 comment(s)
Filed under: ,
WCF Serialization part 1: Interfaces, Base classes and the NetDataContractFormatSerializer
One of WCF's goals is interoperability with standard protocol stacks, like WSE or other WS-* implementations. This led, I am told, to the design of WCF's default object serializer - the DataContractFormatSerializer. This handy little engine serializes...
WCF and Non-polymorphic bindings
I've been using WCF for the past few months and on the whole, I think the programming model works. I'm getting to really like the extensibility model and the whole deal seems to click rather well. One place where I feel it's a bit broken,...
Posted: Jul 31 2006, 09:06 AM by AvnerK | with 7 comment(s)
Filed under: , ,
My Singleton is disappearing!
WCF's Instance Context model allows me to specify my service's instantiation behavior - I can get a new instance for every call, have WCF manage a session for me and keep an instance per session, or just get lazy and have my service instantiated as a...
Posted: Jun 19 2006, 05:29 PM by AvnerK | with no comments
Filed under: , ,
More Posts Next page »