Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to learn thread safe c# programming?

I want to know what is thread safe ? how to start to learn thread safe programmimg in c#? what is role of thread in web development ?

like image 592
Liladhar Avatar asked Dec 12 '22 15:12

Liladhar


2 Answers

i would prefer you to read here: Threading (C# and Visual Basic)

like image 147
Red Swan Avatar answered Dec 24 '22 03:12

Red Swan


For .NET threading in general, I find the following link very useful: Threading in C# by Joseph Albahari.

For the last question, I would start with the following articles depending on which technology you are using:

Also, the following article explains how ASP.NET uses threads when hosted on IIS 7.0 and IIS 6.0: ASP.NET Thread Usage on IIS 7.0 and 6.0. The link is also a bit old but it covers up to .NET 3.5 sp1, so it could be a good start point as well.

like image 28
Chansik Im Avatar answered Dec 24 '22 03:12

Chansik Im