Rock Your Code: Code & App Performance for Microsoft .NET

David Mccarter

This book discusses and shows common code performance guidelines for Microsoft .NET. Topics include general tips, string performance, reference type & structure performance, collection performance, internationalization & localization and how to analyze code for performance problems and more.

  • Published on Sep 19 2019
  • Pages 120
  • Downloaded 19
  • Type PDF
Buy
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 779
  • 0

Introduction:

How fast your code executes is very important for your users and backend server processes. This is even more important for the future as more and more users, use your app or services. Thinking about performance while you are first writing the code will save tons of time and money in the future! There are many ways to write the same block of code, some more performant than others.
 
Short of requiring your users to purchase faster machines with more memory and faster processors or the same being done for backend servers, this book will show you the best practices when writing business apps, so your code can run as fast as possible and could lead to cost savings for your servers or cloud services.
 
This book discusses and shows common code performance guidelines for Microsoft .NET. Topics include general tips, string performance, reference type & structure performance, collection performance, internationalization & localization and how to analyze code for performance problems and more. This new edition of the book includes data from over 3,400 benchmark tests and has brand new chapters on serialization for JSON and XML, collection performance under simulated workloads and how to speed up performance using the dotNetTips.com NuGet packages.
 
This book is written for Microsoft .NET Core 3 and Microsoft .NET version 4.8 using Visual Studio 2018. All examples in this book are in C#.