MaxMessageSize changed by svcUtil

I have a service who's app.config defines MaxMessageSize on a particular transport as a large value. The app.config generated by svcUtil changed that to 65768 (or something like that). I finally realized the problem and manually changed this. Is this just a little bug or something I shouldn't just overlook and overwrite

Answer this question

MaxMessageSize changed by svcUtil

  • Fdooch

    how perfectly logical! Thanks Yasser.
  • koaybl

    Hi Julie
    MaxMessageSize is a local-only setting and clients don't have to have the same setting as the service so it is not reflected in the service's metadata. Therefore the config generated by svcutil has a default value that the client user can change if desired.

  • MaxMessageSize changed by svcUtil