Created attachment 4829 [details]
Using Xamarin.Android 4.8.
I'd like to swap out the default DataContractSerializationOperationBehavior with a custom class which overrides the CreateSerializer virtual methods to create a custom serializer. Swapping out the behavior before the proxy is opened works fine, but my CreateSerializer methods are never called and the standard DataContractSerializer is always used. Is there a way around this?
I want a custom serializer to work around this problem. http://forums.xamarin.com/discussion/7609/datacontractserializer-does-not-us (Filed as bug 14611)
Most of the time, WCF-related bugs are in the WCF layer, and not Android specific.
Please simplify the testcase to remove any Android dependencies so that WCF devs can more easily fix the bug.