Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

Browse by Tags

All Tags » WinFX (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 Wednesday, August 16, 2006 6:28 PM by AvnerK | 3 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 Friday, August 11, 2006 12:49 AM by AvnerK | with no comments

Filed under: ,

Aggregated Interface Implementation
I've been struggling around the aggregation used in WCF's Binding object model, as implemented in the GetProperty<T> method (see relevant discussions with Nicholas Allen from the WCF team here and here ), and I'm struck by how the need...

Posted Tuesday, August 08, 2006 9:01 AM by AvnerK | 4 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 Monday, August 07, 2006 10:24 AM by AvnerK | 3 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...

Posted Thursday, August 03, 2006 4:23 PM by AvnerK | 1 comment(s)

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 Wednesday, August 02, 2006 4:28 PM by AvnerK | 4 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 Wednesday, August 02, 2006 4:25 PM by AvnerK | 1 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 Wednesday, August 02, 2006 3:40 PM by AvnerK | 3 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...

Posted Monday, July 31, 2006 5:46 PM by AvnerK | 3 comment(s)

Filed under: , , ,

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 Monday, July 31, 2006 9:06 AM by AvnerK | 4 comment(s)

Filed under: , ,

More Posts Next page »