-
Notifications
You must be signed in to change notification settings - Fork 0
LukeForder/T32-Collection-As-List
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
When using a ChannelFactory to generate WCF channels, the channel will back properties as collection interfaces (IList, ICollection etc) will arrays resulting in a NotSupportedException when attempting to add items to the collection. By creating a custom implementation of IClientMessageFormatter we gain access to the deserialized replies through the DeserializeReply method. Here By working through the reply object graph a object grag Wrapping the standard Message Formatter with a custom implementation of IClientMessageFormatter and altering the DeserializeReply to check the deserialized replies for properties of type
About
A WCF message formatter for ensuring that objects returned by a request typed as a collection interface are backed by a list implementation not an array
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published