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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:33:34+00:00 2026-06-01T10:33:34+00:00

If I do a call to the server that it could take a lot

  • 0

If I do a call to the server that it could take a lot of time, it’s recommended the use of async methods in the server contract.

In this case, to create the proxy, I have to indicate that I want to create the async methods.

However, I was wondering that If I use threading in the client to make the calls to the service, perhaps it’s not needed to use async methods, because this secondary thread can wait the result without blocking the client. I am using .NET 4.0, so I can use tasks.

This is correct? If this is correct, what is the best way, use async methods or use thrading in the client?

Thanks.
Daimroc.

  • 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-06-01T10:33:35+00:00Added an answer on June 1, 2026 at 10:33 am

    I would personally recommend async methods, mostly as that’s the direction Microsoft is clearly taking with .NET 4.5 – there’ll be language support in C# 5 to make it really simple to consume asynchronous APIs. Your client code won’t need to worry about marshaling between threads to make sure the UI is only updated in the right thread, creating threads separately etc – it can just “await” the service results, and it will “do the right thing”.

    There’s nothing magical in this support – any fundamental underlying concurrency issues will still need to be handled – but the platform will take care of the error-prone boilerplate for you, which will make it much easier to see and handle the inherent, unavoidable complexity.

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

Sidebar

Related Questions

The following code is a very simple ajax call to server that alerts back
I have an Activity that makes a remote server call and tries to populate
I have a GWT app that makes an RPC call to a server to
I am making an ajax call to a php file on my server. That
Can I make ComboBox from AjaxToolkit make call to server every time new letter
From time to time our server throw this well-known exception: Timeout expired. The timeout
We have this API to our ordering system in our Call-Center, that our online-ordering
quoting MDC : If there is a possibility that your logic could take longer
I initiated an async http call to the server in a viewcontroller, but it
Is there a way to call an EJB that is served through WebSphere (iiop://host:port/ejbName)

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.