Parallel Programming and Concurrency with C# 10 and .NET 6
eBook - ePub

Parallel Programming and Concurrency with C# 10 and .NET 6

Alvin Ashcraft

  1. 320 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Parallel Programming and Concurrency with C# 10 and .NET 6

Alvin Ashcraft

Dettagli del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Leverage the latest parallel and concurrency features in.NET 6 when building your next application and explore the benefits and challenges of asynchrony, parallelism, and concurrency in.NET via practical examplesKey Features• Learn to implement parallel programming and handle concurrency in.NET efficiently• Switch threads while debugging and learn how to monitor specific threads in Visual Studio• Discover how to cancel tasks with callbacks, by polling, or by using a task with wait handlesBook Description.NET has included managed threading capabilities since the beginning, but early techniques had inherent risks: memory leaks, thread synchronization issues, and deadlocks. This book will help you avoid those pitfalls and leverage the modern constructs available in.NET 6 and C# 10, while providing recommendations on patterns and best practices for parallelism and concurrency. Parallel, concurrent, and asynchronous programming are part of every.NET application today, and it becomes imperative for modern developers to understand how to effectively use these techniques. This book will teach intermediate-level.NET developers how to make their applications faster and more responsive with parallel programming and concurrency in.NET and C# with practical examples. The book starts with the essentials of multi-threaded.NET development and explores how the language and framework constructs have evolved along with.NET. You will later get to grips with the different options available today in.NET 6, followed by insights into best practices, debugging, and unit testing. By the end of this book, you will have a deep understanding of why, when, and how to employ parallelism and concurrency in any.NET application.What you will learn• Prevent deadlocks and race conditions with managed threading• Update Windows app UIs without causing exceptions• Explore best practices for introducing asynchronous constructs to existing code• Avoid pitfalls when introducing parallelism to your code• Implement the producer-consumer pattern with Dataflow blocks• Enforce data sorting when processing data in parallel and safely merge data from multiple sources• Use concurrent collections that help synchronize data across threads• Debug an everyday parallel app with the Parallel Stacks and Parallel Tasks windowsWho this book is forThis book is for beginner to intermediate-level.NET developers who want to employ the latest parallel and concurrency features in.NET when building their applications. Readers should have a solid understanding of the C# language and any version of the.NET Framework or.NET Core.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Parallel Programming and Concurrency with C# 10 and .NET 6 è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Parallel Programming and Concurrency with C# 10 and .NET 6 di Alvin Ashcraft in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatique e Programmation en C#. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2022
ISBN
9781803240398
Edizione
1
Argomento
Informatique

Indice dei contenuti