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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:25:17+00:00 2026-05-30T00:25:17+00:00

I am learning asynchronous programming using C# and I usually use BeginInvoke , but

  • 0

I am learning asynchronous programming using C# and I usually use BeginInvoke, but I am not very sure about the other methods of creating asynchronous application.

I have asked a question about this,see below link for more details:

How to return T value from BeginInvoke?

In above link, Gravell said that there are four models of asynchronous development

There’s at least 4, then – a regular callback (non-APM, non-EAP) is also not uncommon

But Overflow said that there are three:

There are 3 models of asynchronous development in .NET

  • APM – (BeginXXX / EndXXX) which you are using here, when the long running task completes, it calls back into your code in the EndXXX method

  • EAP – Event based. In this model, when the long running task completes, an event is raised to inform your code.

  • TPL – New in .NET 4, this is the Task-based version. It looks most like synchronous programming to client code, using a fluent interface. Its calls back to your code using ContinueWith.

Anyone can help me on this?

I have searched google.com a lot, but actually they are using BeginInvoke most. thanks for your help.

  • 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-30T00:25:19+00:00Added an answer on May 30, 2026 at 12:25 am

    Thread.Start – brutal

    delegate.BeginInvoke/EndInvoke – ‘old’ standard

    ThreadPool.QueueUserWorkItem – smart

    TaskFactory.StartNew – the only way to do it correct (according to Patterns of parallel programming book | i recommend you to read it first for disambiguation)

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

Sidebar

Related Questions

I'm learning Java EE currently (moving from SE) and I am confused about asynchronous
Learning Objective-C and reading sample code, I notice that objects are usually created using
I'm learning C# asynchronous socket programming, and I've learned that it's a good idea
Learning C at University. This is not a homework, but I was trying to
Learning a little about T-SQL, and thought an interesting exercise would be to generate
Learning a lot in my few years of programming that the best projects are
When learning new languages such as C++ from PHP, does reading other language snippets
I'm using the jQuery Plugin jqModal . New to it, so i'm still learning
Learning jquery, so please be kind :) Using PHP, I have a table with
Learning Ruby. Needed to create a hash of arrays. This works... but I don't

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.