Beginner threads in C #

Can you recommend a good series of articles or, preferably, a book on how to get started with threads in general and in C # in particular? First of all, I am looking for the use of threads in console applications and in ASP.Net applications.

I understand only the very basics of flows and I know that "here are dragons", so I want to get a good grounding before I start using them.

Things that interest me are things like the concept of a thread, how you control its size, how you choose for things that need to be queued until the thread is available, in addition to starting a new thread etc. In addition, I understand that IIS has many built-in threads, so everything that explains how to work with threads in ASP.Net in IIS and how it differs from stream processing in the C # applicationicaion console is interesting.

My intended use includes things like:

  • The user does something on the ASP.Net page, because of which my server-side code must connect to another system and perform lengthy operations, so I want to quickly return control to the user, activating this action to another thread. The user can follow the progress through AJAX or just leave - the Internet does not have statelessness in the end :)

  • Using Fire and Forget patterns (there are a lot of code examples there, I want to learn more about how they work)

thanks

+6
multithreading c # iis
source share
6 answers

Like my own articles related to Andrew, Joe Albahari is another tutorial .

If you want to conduct a thorough examination, read Joe Duffy Concurrent Programming in Windows .

+11
source share

Here is a good collection of articles from our own Jon Skeet:

http://www.yoda.arachsys.com/csharp/threads/

+5
source share

I found this free e-book by Joseph Albahari really useful

+4
source share

I would recommend the Joseph Albahari series available here:

http://www.albahari.com/threading/

It is short and very readable.

+2
source share

I would recommend the following

Great MSDN Article

+1
source share

Get " CLR Via C # " from Jeff Richter. Its the best .Net book I've ever read and has extensive information about streaming.

alt text http://ecx.images-amazon.com/images/I/41dPffy-ygL._SL500_AA240_.jpg

0
source share

All Articles