High-Performance Programming in C# and .NET

High-Performance Programming in C# and .NET

This is the code repository for High-Performance Programming in C# and .NET , published by Packt.

Understand the nuts and bolts of developing robust, faster, and resilient applications in C# 10.0 and .NET 6

What is this book about?

This book provides comprehensive guidance on how to design high-performance software using practical examples to help you understand the key factors involved in boosting application performance. By the end of this book, you’ll have gained a competitive advantage by thoroughly understanding the key aspects of writing highly efficient software.

This book covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

static void Main(string[] _)
{
Console.WriteLine(Chapter 3: Strings are immutable);
var greeting1 = Hello, world!;
var greeting2 = greeting1;
Console.WriteLine($greeting1={greeting1});
Console.WriteLine($greeting2={greeting2});
greeting1 += Isnt life grand!;
Console.WriteLine($greeting1={greeting1});
Console.WriteLine($greeting1={greeting2});
}

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-16).

Software and Hardware List

Chapter Software required OS required
1 .NET 6 SDK Windows, Mac OS X, and Linux (Any)
1 Visual Studio 2022 Windows, Mac OS X, and Linux (Any)
10 SQL Server Windows, Mac OS X, and Linux (Any)
10 SQL Server Managment Srudio Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

  • C# 10 and .NET 6 Modern Cross-Platform Development - Sixth Edition [Packt] [Amazon]

  • Software Architecture with C# 10 and .NET 6 - Third Edition [Packt] [Amazon]

  • Enterprise Application Development with C# 10 and .NET 6 - Second Edition [Packt] [Amazon]

Get to Know the Author

Jason Alls is the author of Clean Code in C# and has been programming for over 21 years. Working with an Australasian company, he started his career developing call center management reporting software used by global clients including telecom providers, banks, airlines, and the police. He then moved on to develop GIS marketing applications and worked in the banking sector performing data migrations between Oracle and SQL Server. Certified as an MCAD in C# since 2005, he has been involved in the development of various desktop, web, and mobile applications. Currently employed by a leading software house, he develops and supports order processing and warehouse management software written in C#.

Other books by the authors

Clean Code in C#