Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3985376
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:52:59+00:00 2026-05-20T05:52:59+00:00

I have a few services hosted on a server. One service transfers a ZIP

  • 0

I have a few services hosted on a server. One service transfers a ZIP file to the client ~2kB. Another one transmits an xml representation of a DataSet ~ 10kB. The others just transfer small amounts data ~<1kB. The file transfer service and the data set service will potentially grow in size in the future.

Will it harm anything if I just use one binding for all 3 of these services with this one binding using MTOM encoding? Is WCF/MTOM smart enough to know when to optimize?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:53:00+00:00Added an answer on May 20, 2026 at 5:53 am

    If MTOM is enabled, WCF won’t use it unless the message being sent is over a certain size. So yes, you can enable it without impacting small messages. I haven’t found documentation that says just what that size is.

    It’s worth noting that MTOM only applies to binary data (ie: byte array). If you’re returning a class that gets XML serialized instead, MTOM is unlikely to help you. In my experience even returning an array of 1000 of some custom class is still sent as XML text. So for what you’re returning I’m not sure you’ll gain anything. Marc Gravell’s answer talks about how to get around that by turning the DataSet into a byte array.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few windwos services. They get xml column from Sql server manipulate
I have a few JAX-WS web services hosted on the same server. They use
My web service hosted on Play! framework. I have few image files uploaded from
I have WPF client consuming WCF service hosted in IIS. For authentication I am
I have a few specific questions about web services (SOAP over HTTP): A client
I have a few Windows Services written in C# that I have setup to
I have a Windows service(C#), that sprawns few child native processes (C++). I'd like
I have simple win service, that executes few tasks periodically. How should I pass
Here is the problem: I have a WCF service and a few sites connecting
I have to consume a .NET hosted web service from a Java application. Interoperability

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.