Master parallelism and async to create enterprise-grade, high-performance apps.
Book Description
High-performance software is no longer optional—today’s applications must be fast, scalable, and responsive to meet real-world demands. C# and . NET provides the foundation, but knowing how to unlock their full potential is what separates the average code from enterprise-grade solutions.
Ultimate C# for High-Performance Applications guides you step by step from core concepts to advanced techniques, building both confidence and mastery, along the way. Through this book, you will dive into multithreading, asynchronous programming, and concurrent collections; accelerate workloads with parallel loops and PLINQ; and learn to fine-tune task scheduling, optimize thread pool usage, and apply proven patterns for reliable and scalable software. Through hands-on exercises, profiling strategies, and a complete real-world case study, you will gain the skills to design, build, and refine applications that remain fast, stable, and efficient—even under heavy demand!
Table of Contents
Introduction to High-Performance Computing in . NET
Understanding Parallelism in C#
Creating and Running Tasks in C#
Data Sharing and Synchronization
Threading and Synchronization Primitives
Understanding Concurrent Collections
Parallel Loops in . NET
Language-Integrated Query (LINQ) for Parallelism
Advanced Task Management
Asynchronous Programming with Async/Await
Threading and the Thread Pool
Debugging Parallel Applications Using Visual Studio
Practical Performance Challenges and Solutions
Building a Chat Application
Conclusion
Index