• Complain

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

Here you can read online Alvin Ashcraft - Parallel Programming and Concurrency with C# 10 and .NET 6: A modern approach to building faster, more responsive, and asynchronous .NET applications using C# full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2022, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Alvin Ashcraft Parallel Programming and Concurrency with C# 10 and .NET 6: A modern approach to building faster, more responsive, and asynchronous .NET applications using C#
  • 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#
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2022
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

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

We offer to read an annotation, description, summary or preface (depends on what the author of the 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#" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 examples

Key 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 handles
Book 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 windows
Who this book is for

This 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.

Table of Contents
  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

Alvin Ashcraft: author's other books


Who wrote Parallel Programming and Concurrency with C# 10 and .NET 6: A modern approach to building faster, more responsive, and asynchronous .NET applications using C#? Find out the surname, the name of the author of the book and a list of all author's works by series.

Parallel Programming and Concurrency with C# 10 and .NET 6: A modern approach to building faster, more responsive, and asynchronous .NET applications using C# — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the 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#" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Parallel Programming and Concurrency with C 10 and NET 6 A modern approach to - photo 1
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

BIRMINGHAMMUMBAI Parallel Programming and Concurrency with C 10 and NET 6 - photo 2

BIRMINGHAMMUMBAI

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

Copyright 2022 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Associate Group Product Manager: Gebin George

Publishing Product Manager: Sathyanarayanan Ellapulli

Senior Editor: Ruvika Rao

Content Development Editor: Yashi Gupta

Technical Editor: Maran Fernandes

Copy Editor: Safis Editing

Project Coordinator: Manisha Singh

Proofreader: Safis Editing

Indexer: Hemangini Bari

Production Designer: Roshan Kawale

Marketing Coordinator: Sonakshi Bubbar

First published: August 2022

Production reference: 1120822

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham

B3 2PB, UK.

ISBN 978-1-80324-367-2

www.packt.com

To my wife, Stelene, for supporting me through the process of writing a second book and for helping me become my best self in our journey together. To my three daughters, for working harder and smarter than I did at their ages and for their patience during my writing process.

Alvin Ashcraft

Contributors
About the author

Alvin Ashcraft is a writer, software engineer, and developer community champion with over 27 years of experience in software and content development. He has worked with Microsoft Windows, web, and cloud technologies since 1995 and has been awarded as a Microsoft MVP 13 times.

Alvin works remotely in the Philadelphia area for Microsoft as a content developer on Microsoft Learn for the Windows developer documentation team. He also helps organize the TechBash developer conference in the Northeast US. He has previously worked for companies such as Oracle, Genzeon, and Allscripts. Originally from the Allentown, PA, area, Alvin currently resides in West Grove, PA, with his wife and daughters.

I want to thank the people who have been close to me and supported me, especially my parents and my wife, Stelenes, parents.

About the reviewers

Ricardo Peres is a Portuguese developer, blogger, and book author and is currently a team leader at Dixons Carphone. He has over 20 years of experience in software development and his interests include distributed systems, architectures, design patterns, and .NET development. He won the Microsoft MVP award in 2015 and held this title up to 2020.

He also authored Entity Framework Core Cookbook Second Edition and Mastering ASP.NET Core 2.0 and was a technical reviewer for Learning NHibernate 4 for Packt. He also contributed to Syncfusions Succinctly collection, with titles on .NET development. Ricardo maintains a blogDevelopment With A Dotwhere he writes about technical issues. You can keep up with him on Twitter at @rjperes75.

Joseph Guadagno is a senior director of engineering at Rocket Mortgage, the USs largest mortgage lender, based in Detroit, Michigan. He has been writing software for over 30 years and has been an active member of the .NET community, serving as a Microsoft MVP in .NET, for more than 10 years. He has spoken throughout the United States and at international events on topics including Microsoft .NET, Microsoft Azure, and SQL. You can see the complete list of events he has spoken at at https://www.josephguadagno.net/presentations.

When not sitting at a computer, Joe loves to hang out with his family and play games. You can connect with Joe on Twitter at @jguadagno, on Facebook at JosephGuadagnoNet, and on his blog at https://www.josephguadagno.net.

Table of Contents
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

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

Look at similar books to Parallel Programming and Concurrency with C# 10 and .NET 6: A modern approach to building faster, more responsive, and asynchronous .NET applications using C#. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


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

Discussion, reviews of the 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# and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.