Multithreading with C# Cookbook - Second Edition

Over 70 recipes to get you writing powerful and efficient multithreaded, asynchronous, and parallel programs in C# 6.0

About This Book

Rewritten and updated to take advantage of the latest C# 6 features

Learn about multithreaded, asynchronous, and parallel programming through hands-on, code-first examples

Use these recipes to build fast, scalable, and reliable applications in C#

Who This Book Is For

This book is aimed at those who are new to multithreaded programming, and who are looking for a quick and easy way to get started. It is assumed that you have some experience in C# and .NET already, and you should also be familiar with basic computer science terminology and basic algorithms and data structures.

What You Will Learn

Use C# 6.0 asynchronous language features

Work with raw threads, synchronize threads, and coordinate their work

Develop your own asynchronous API with Task Parallel Library

Work effectively with a thread pool

Scale up your server application with I/O threads

Parallelize your LINQ queries with PLINQ

Use common concurrent collections

Apply different parallel programming patterns

Use Reactive Extensions to run asynchronous operations and manage their options

In Detail

Multi-core processors are synonymous with computing speed and power in today's world, which is why multithreading has become a key concern for C# developers. Multithreaded code helps you create effective, scalable, and responsive applications.

This is an easy-to-follow guide that will show you difficult programming problems in context. You will learn how to solve them with practical, hands-on, recipes. With these recipes, you'll be able to start creating your own scalable and reliable multithreaded applications. Starting from learning what a thread is, we guide you through the basics and then move on to more advanced concepts such as task parallel libraries, C# asynchronous functions, and much more.

Rewritten to the latest C# specification, C# 6, and updated with new and modern recipes to help you make the most of the hardware you have available, this book will help you push the boundaries of what you thought possible in C#.

Style and approach

This is an easy-to-follow guide full of hands-on examples of real-world multithreading tasks. Each topic is explained and placed in context, and for the more inquisitive, there are also more in-depth details of the concepts used.

Kom igång med den här boken idag för 0 kr

  • Få full tillgång till alla böcker i appen under provperioden
  • Ingen bindningstid, avsluta när du vill
Prova gratis nu
Mer än 52 000 personer har gett Nextory 5 stjärnor i App Store och på Google Play.

Andra har också läst

Hoppa över listan
  1. Game Development with Godot 4 and C# : Develop a dynamic 3D game while exploring a robust node system, level design, and animations

    Kati Baker

  2. Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C# : Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#

    Kenneth Scott Allen

  3. ASP.NET Core 2 High Performance : Learn the secrets of developing high performance web applications using C# and ASP.NET Core 2 on Windows, Mac, and Linux

    James Singleton

  4. Learning C# by Developing Games with Unity : Get to grips with coding in C# and build simple 3D games in Unity 2023 from the ground up

    Harrison Ferrone

  5. Hands-On Parallel Programming with C# 8 and .NET Core 3 : Build solid enterprise software using task parallelism and multithreading

    Shakti Tanwar

  6. C# 6 and .NET Core 1.0: Modern Cross-Platform Development

    Mark J. Price

  7. High-Performance Programming in C# and .NET : Understand the nuts and bolts of developing robust, faster, and resilient applications in C# 10.0 and .NET 6

    Jason Alls

  8. Mastering Minimal APIs in ASP.NET Core : Build, test, and prototype web APIs quickly using .NET and C#

    Emanuele Bartolesi, Andrea Tosato, Marco Minerva

  9. Learn WinUI 3 : Leverage WinUI and the Windows App SDK to create modern Windows applications with C# and XAML

    Alvin Ashcraft

  10. Creating an RTS Game in Unity 2023 : A comprehensive guide to creating your own strategy game from scratch using C#

    Bruno Cicanci

  11. Building Modern SaaS Applications with C# and .NET : Build, deploy, and maintain professional SaaS applications

    Andy Watt

  12. C# 2008 and 2005 Threaded Programming : Beginner's Guide

    Hillar Gaston C.


Relaterade kategorier