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 834869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:44:17+00:00 2026-05-15T04:44:17+00:00

We have a Win CE 6.0 device that is required to consume services that

  • 0

We have a Win CE 6.0 device that is required to consume services that will be provided using WCF. We are attempting to reduce bandwidth usage as much as possible and with a simple test we have found that using UDP instead of HTTP saved significant data usage.

I understand there are limitations regarding WCF on .NET Compact Framework 3.5 devices and was curious what people thought would be the appropriate way forward. Would it make sense to develop a custom UDP binding, and would that work for both sides?

Any feedback would be appreciated. Thanks.

  • 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-15T04:44:17+00:00Added an answer on May 15, 2026 at 4:44 am

    While http does have some overhead, if this is becoming a significant part of your data usage, then I would suspect that your API is too “chatty”, and maybe fewer messages (each carrying more payload) should be considered.

    The next point would be; how can we reduce the bandwidth for a given amount of payload? Compression is an option, but can be a problem on some platforms. Another is to use a serialization format that is inherently dense and efficient to process (in terms of CPU cycles, since you are using low-power devices). For that purpose, something like “protocol buffers” would be ideal.

    protobuf-net is a CF-compatible implementation of protocol buffers for .NET; the CF build doesn’t have all the nice WCF features (because CF doesn’t support them), but it can work very effectively.

    Additionally, if you do go http, then MTOM should be considered, as this reduces the encoding overhead of binary data (i.e. what protobuf-net would use).

    Moving to UDP can be an option, but I would try something like http + protobuf-net + MTOM first (combined with a less “chatty” API), and see how it stacks up.

    I should also note that the current (downloadable) version of protobuf-net has some “kinks” with CF; it works, but it isn’t as fast etc as it could be (due to limitations in meta-programming on CF). The “v2” product (not yet released) addresses all these points, allowing fully static (and fast) execution on CF. And best of all, it is free.

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

Sidebar

Related Questions

I have a win form that is using a System.Timers.Timer. When the timer executes
I have a win forms client that accesses a wcf service for a long
I have a win form UI that looks like a typical calculator. Naturally I
I have simple win service, that executes few tasks periodically. How should I pass
I have a win-application that needs to reproduce a trip for a trucker according
I have a win form that creates a site in IIS7. One function needs
I have code that uses Win API function RegSaveKeyEx to save registry entries to
I have a Win Mobile 6.0 .NET CF application that uses a reference to
I have am building a win forms app which will have a text box
I have a Windows Mobile 6 Professional native project that runs ok on Win

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.