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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:04:18+00:00 2026-05-25T15:04:18+00:00

My silverlight application fetches file sets from a webservice (async). The webservice method accepts

  • 0

My silverlight application fetches file sets from a webservice (async). The webservice method accepts an array of file names and returns the set of files (also as an array). The silverlight client makes several such requests for file sets.

The client issues many requests to the webservice at once. I need a BackgroundWorker thread at the client to process received file sets one after the other.

How can I collect all the file sets as and when they receive and give these sets to the BackgroundWorker thread one at a time.

EDIT:
I could not run multiple BackgorundWorkers as the file set processing module is not thread-safe.

  • 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-25T15:04:19+00:00Added an answer on May 25, 2026 at 3:04 pm

    Use a BlockingCollection / ConcurrentQueue to hold the information about file sets to be processed… in the backgroundworker you just have while loop dequeuing the next file set and processing it… the mentioned collections are threadsafe and really fast since most operations are implemented lock-free…

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

Sidebar

Related Questions

I have a Silverlight application that is built from a set of Silverlight class
I have a silverlight 3 application, that fetches some simple data from a ms-sql-server
I have a silverlight application which fetches data from a WCF Service hosted under
I'm building a Silverlight application and one of my caveats from last time was
I have a Silverlight Application that use a WebService for MultPorpose, When i usa
In my Silverlight application, I want different texts to repeatedly fly in from the
The Silverlight Application Package extension is given as .xap which is a zip file.
hi im developing silverlight application but when i m trying to compile that file
Can a Silverlight application copy a graphic/bitmap from the clipboard? If so, how is
I´m deploying a small Silverlight application, which consumes data from a WCF DataService then

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.