How to learn streaming secure programming in C #?

I want to know what is thread safety? how to start learning thread safe programimg in c #? What is the role of thread in web development?

+4
source share
6 answers

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

+5
source

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

In the last question, I will start with the following articles, depending on the technology used:

In addition, the following article explains how ASP.NET uses threads when hosted in IIS 7.0 and IIS 6.0: Using ASP.NET threads for IIS 7.0 and 6.0 . The link is also a bit dated, but it extends to .NET 3.5 sp1, so it can also be a good starting point.

+4
source
+3
source

If you want to use a more convenient approach than the MSDN link, I would suggest you read this free ebook .

+1
source

Since you are new to programming, I would recommend that you read a little about functional programming and side effects. Creating threads and using them in C # is very simple, but making them safe is difficult. I would recommend this article http://codebetter.com/matthewpodwysocki/2008/09/12/side-effects-and-functional-programming/

0
source

Parallel programming is a vast, extremely complex field. Instead of looking at C # first, I'll start by exploring the basics of concurrency. IE) What is blocking? What are Mutex, Latch and Concurrent Queue, and why should we use them? IMO, a good place to start would be this site created by Swinburne University in Australia.

0
source

Source: https://habr.com/ru/post/1343884/


All Articles