Details zum E-Book

Parallel Programming and Concurrency with C# 10 and .NET 6. A modern approach to building faster, more responsive, and asynchronous .NET applications using C#

Parallel Programming and Concurrency with C# 10 and .NET 6. A modern approach to building faster, more responsive, and asynchronous .NET applications using C#

Alvin Ashcraft

E-book
.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.
  • 1. Managed Threading Concepts
  • 2. Evolution of Multi-Threaded Programming in .NET
  • 3. Best Practices for Managed Threading
  • 4. User Interface Responsiveness with Threading
  • 5. Asynchronous Programming with C#
  • 6. Parallel Programming Concepts
  • 7. Task Parallel Library (TPL) and Dataflow
  • 8. Parallel Data Structures and Parallel LINQ
  • 9. Working with Concurrent Collections in .NET
  • 10. Debugging Multi-Threaded Applications with Visual Studio
  • 11. Cancelling Asynchronous Work
  • 12. Unit Testing Async, Concurrent, and Parallel Code
  • Titel: Parallel Programming and Concurrency with C# 10 and .NET 6. A modern approach to building faster, more responsive, and asynchronous .NET applications using C#
  • Autor: Alvin Ashcraft
  • Originaler Titel: Parallel Programming and Concurrency with C# 10 and .NET 6. A modern approach to building faster, more responsive, and asynchronous .NET applications using C#
  • ISBN: 9781803240398, 9781803240398
  • Veröffentlichungsdatum: 2022-08-30
  • Format: E-book
  • Artikelkennung: e_2a7n
  • Verleger: Packt Publishing