Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
High-Performance Programming in C# and .NET
High-Performance Programming in C# and .NET

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

Arrow left icon
Profile Icon Jason Alls
Arrow right icon
₱1909.99 ₱2122.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (7 Ratings)
eBook Jul 2022 660 pages 1st Edition
eBook
₱1909.99 ₱2122.99
Paperback
₱2653.99
Subscription
Free Trial
Arrow left icon
Profile Icon Jason Alls
Arrow right icon
₱1909.99 ₱2122.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (7 Ratings)
eBook Jul 2022 660 pages 1st Edition
eBook
₱1909.99 ₱2122.99
Paperback
₱2653.99
Subscription
Free Trial
eBook
₱1909.99 ₱2122.99
Paperback
₱2653.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

High-Performance Programming in C# and .NET

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Make the best use of performance enhancements in C# 10.0 and .NET 6
  • Boost application performance by identifying hardware bottlenecks and common performance pitfalls
  • Get to grips with best practices and techniques for improving the scalability of distributed systems

Description

Writing high-performance code while building an application is crucial, and over the years, Microsoft has focused on delivering various performance-related improvements within the .NET ecosystem. This book will help you understand the aspects involved in designing responsive, resilient, and high-performance applications with the new version of C# and .NET. You will start by understanding the foundation of high-performance code and the latest performance-related improvements in C# 10.0 and .NET 6. Next, you’ll learn how to use tracing and diagnostics to track down performance issues and the cause of memory leaks. The chapters that follow then show you how to enhance the performance of your networked applications and various ways to improve directory tasks, file tasks, and more. Later, you’ll go on to improve data querying performance and write responsive user interfaces. You’ll also discover how you can use cloud providers such as Microsoft Azure to build scalable distributed solutions. Finally, you’ll explore various ways to process code synchronously, asynchronously, and in parallel to reduce the time it takes to process a series of tasks. By the end of this C# programming book, you’ll have the confidence you need to build highly resilient, high-performance applications that meet your customer's demands.

Who is this book for?

This book is for software engineers, professional software developers, performance engineers, and application profilers looking to improve the speed of their code or take their skills to the next level to gain a competitive advantage. You should be a proficient C# programmer who can already put the language to good use and is also comfortable using Microsoft Visual Studio 2022.

What you will learn

  • Use correct types and collections to enhance application performance
  • Profile, benchmark, and identify performance issues with the codebase
  • Explore how to best perform queries on LINQ to improve an application s performance
  • Effectively utilize a number of CPUs and cores through asynchronous programming
  • Build responsive user interfaces with WinForms, WPF, MAUI, and WinUI
  • Benchmark ADO.NET, Entity Framework Core, and Dapper for data access
  • Implement CQRS and event sourcing and build and deploy microservices

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 29, 2022
Length: 660 pages
Edition : 1st
Language : English
ISBN-13 : 9781800569959
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jul 29, 2022
Length: 660 pages
Edition : 1st
Language : English
ISBN-13 : 9781800569959
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₱260 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₱260 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 7,348.97
High-Performance Programming in C# and .NET
₱2653.99
Parallel Programming and Concurrency with C# 10 and .NET 6
₱2142.99
C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals
₱2551.99
Total 7,348.97 Stars icon

Table of Contents

21 Chapters
Part 1: High-Performance Code Foundation Chevron down icon Chevron up icon
Chapter 1: Introducing C# 10.0 and .NET 6 Chevron down icon Chevron up icon
Chapter 2: Implementing C# Interoperability Chevron down icon Chevron up icon
Chapter 3: Predefined Data Types and Memory Allocations Chevron down icon Chevron up icon
Chapter 4: Memory Management Chevron down icon Chevron up icon
Chapter 5: Application Profiling and Tracing Chevron down icon Chevron up icon
Part 2: Writing High-Performance Code Chevron down icon Chevron up icon
Chapter 6: The .NET Collections Chevron down icon Chevron up icon
Chapter 7: LINQ Performance Chevron down icon Chevron up icon
Chapter 8: File and Stream I/O Chevron down icon Chevron up icon
Chapter 9: Enhancing the Performance of Networked Applications Chevron down icon Chevron up icon
Chapter 10: Setting Up Our Database Project Chevron down icon Chevron up icon
Chapter 11: Benchmarking Relational Data Access Frameworks Chevron down icon Chevron up icon
Chapter 12: Responsive User Interfaces Chevron down icon Chevron up icon
Chapter 13: Distributed Systems Chevron down icon Chevron up icon
Part 3: Threading and Concurrency Chevron down icon Chevron up icon
Chapter 14: Multi-Threaded Programming Chevron down icon Chevron up icon
Chapter 15: Parallel Programming Chevron down icon Chevron up icon
Chapter 16: Asynchronous Programming Chevron down icon Chevron up icon
Assessments Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(7 Ratings)
5 star 42.9%
4 star 28.6%
3 star 14.3%
2 star 14.3%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Sherif Ahmed Nov 28, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is a great resource for those developers who aim to not only get their app developed but also with performance! performance is a key for senior developers! this book has thoroughly covered what I have been looking for, for a while now such as multi-threaded, parallel and asynchronous programming.I hope others find this review useful since I have been looking for such content for months now.It is well written, with good explanations, and concrete examples, and it covers a large variety of topics. The author really knows what he is talking about.Thanks for writing such a good book.
Amazon Verified review Amazon
Christopher West Sep 02, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I went into this book realizing that it was going to be some heavy reading and I was definitely not wrong. Even though it was heavy reading though I feel the concepts and solutions presented in this book are vital to understanding how to create performant .Net applications. The book really does a good job of covering low level performance concerns in this tech stack. I particularly appreciated the section on profiling and tracing and the books use of JetBrain's dotTrace software which I have yet to learn to use despite my love for all of JetBrain's other software. I think that this book is definitely for a more advanced audience but I think that if you are at that level this book is a great tool in your arsenal. I would recommend this for advanced readers, senior engineers, and architects!
Amazon Verified review Amazon
Rolf Heinen Nov 28, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Daa Buch gibt anhand von zahlreichen Praxisbeispielen nützliche Tipps und Anregungen rund um das Thema Performance, Tracing, Memoryleaks etc. Interessant sind vor allem die Beispiele, die unter dem Einbezug aktueller Tools Lösungswege und Ansätze aufzeigt.
Amazon Verified review Amazon
Mayank Dec 01, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I knew this book would be challenging when I started it, and I was absolutely right. The topics and solutions described in this book, despite the fact that it was dense reading, I believe are essential to learning how to develop performant .Net apps. Low level performance issues in this tech stack are well covered in the book. Although I believe this book is certainly intended for a more advanced audience, if you are at that level, I believe this book is a good choice.
Amazon Verified review Amazon
treesa Sep 16, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Excellent presentation of concepts followed by code examples with explanations. I could take away a lot just by reading this book and not having to go to external sample code or lookup further reading references. Point proven that benchmarking is just as important as unit testing.That said, the TCP app in Ch 9 and the event sourcing in Ch 13 were above me. I could not glean the mechanics and benefits. Ch10 could have been removed with just a mention to see the accompanying code. I was also expecting more punch in Ch 16 with the async programming.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.