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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:07:44+00:00 2026-05-16T06:07:44+00:00

I have a Silverlight 3 application which needs to call WCF service. The WCF

  • 0

I have a Silverlight 3 application which needs to call WCF service. The WCF service in turn calls an ASMX web service. When the WCF service call completes, the silverlight UI needs to be updated.

WCF is being called in async.

The thing is that the Silverlight app needs to call the WCF method(which later calls asmx internally) hundreds of time. I understand that because it is in aSync, hundreds of threads will be spawned, so I have coded in a check to ensure not more than X time does the WCF function gets called. Only when 1 call complets, do I add one more call. I hope this will keep a check on the total number of threads. What is the ideal value of that X value? I am ona simple XP machine with dual core CPU and 4 GB ram.

As the WCF calls get completed, I need to show progress bar on the silverlight UI.

This works fine for smaller number of calls, but when i need to make say around 10000 calls, after some time I get a timeout in the Silverlight’s WCFCompleted method. I feel I may be going in a deadlock?

My WCF is configured to be multiple concurrent.

Every time one WCF call completes, it updates the UI… can that be causing this deadlock?

Any ideas anyone? I am stuck bad and lost here.

  • 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-16T06:07:44+00:00Added an answer on May 16, 2026 at 6:07 am

    I later seemingly solved the issue by :
    1) converted asmx service to WCF
    2) Increased WCF timeouts from 1 minute to 5 minute
    3) Instead of updating UI progress bar on every Completed callback, I am now using a timer which updated UI say every 30 seconds only.

    • 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 in which I would like to call a WCF
We have a silverlight ASP .NET web application which needs to be deployed on
I have a Silverlight 4 application which gets data from a silverlight enabled WCF
I have a requirement where-in my Silverlight application needs to connect to a WCF
I have a silverlight application which reads data from a db and displays them
I have a silverlight application which users will be running in various time zones
I have a Silverlight application in which I catch certain key presses such as
I have a Silverlight application in which I am doing the following thing to
I have a client-server Silverlight application, which is use Socets. I have server appliaction
I have a Silverlight application communicating with the server side through WCF services. Initially

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.