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

  • Home
  • SEARCH
  • 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 3760106
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:25:13+00:00 2026-05-19T10:25:13+00:00

I have had some trouble when implementing eg. an import rutine that parses files

  • 0

I have had some trouble when implementing eg. an import rutine that parses files on the silverlight client and sends a huge amount of objects to a WCF service using basicHttpBinding.

I have set the maxBufferSize, maxRecieveSize etc to the maximum values, but unless I chunk up the collection of objects myself in code and make several calls it just fails.

So I am wondering if any of you have some experience with good ways of doing calls with huge collections of objects?

  • 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-19T10:25:13+00:00Added an answer on May 19, 2026 at 10:25 am

    The same thing happened to my team…except we weren’t working in SL, we were in WPF.

    I know this isn’t the most glamorous way, but my team and I have also had a lot of success taking the text file, converting to a byte array and then sending the byte array across the wire. It turns out that WCF is extremely efficient with an array of bytes.

    To read in the file, we do this on the client:
    fileByteArray = File.ReadAllBytes(fileLocation);

    And then our service interface looked like this:
    [ServiceContract]
    public class IImport
    {
    [OperationContract]
    BulkResults ImportFromFile(byte[] importFile);
    }

    We’ve also tried the Buffered/Streamed approach too, and we’ve switched all our services over to Streaming. This also helped with memory consumption.

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

Sidebar

Related Questions

I know that people have had some trouble with undefined CssClass values when using
In my limited experience, I've been on several projects that have had some sort
Here is a question that I have had for some time but never actually
I have a live database that had some data deleted from it and I
I would love to get some tips from other people that have had this
Has anyone had this problem? My projects tend to have some long XML files
I have quite some trouble creating a WCF service that supports downloads of very
I'm working on an iOS app and have had some trouble with getting photos
I've been working on a CXF web service and have had some trouble .
I have a make file that calls ant and maven build files. I've had

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.