Ask a questionAsk a question
 

AnswerHow to specify custom encoder in web.config

  • Saturday, November 07, 2009 4:10 PMDaveBrask Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I wrote a custom encoder and called it MixedBindingEelement.  My current config looks like this:
    <bindingElementExtensions><add name="MixedEncoding" type="MixedBindingEelement, MixedEncoder, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /></bindingElementExtensions>

    and this:
    <wsHttpBinding><binding name="AttachmentServiceSoapBinding" maxReceivedMessageSize="67108864" messageEncoding="Mtom"><readerQuotas maxArrayLength="67108864" /></binding></wsHttpBinding>

    How to I tell it to use the custom encoder?

    Thanks,

    Dave

     

Answers

All Replies