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

Room 2
13:40 - 14:40

Talk (60 min)

The performance of code is always something that is very important. Even more important if your back-end apps are processing tens of thousands of requests per second. In this session I will reveal the do’s and don’ts when it comes to improving code performance. Some code I will show can be up to 98% faster! Reducing memory that your app uses is also very important and will be discussed in detail. The demos in this session will work with the .NET Framework and .NET Core.

Here is what attendees are saying about this session:
Bob R. – David gave an excellent presentation on code performance. He showed us how, why, and to what degree various coding methods improved the performance of an application. Lots of tips and tricks!


  • Learn how to use .NET Core or .NET Framework for high-performance websites and back-end services.
  • Learn how performance effects memory and memory effects performance.
  • Learn how to use third-party products to find and fix performance and memory issues.

David McCarter

David McCarter is a Microsoft MVP (Most Valuable Professional), C# Corner MVP, solutions architect, Code Quality Zar, consultant, professional code reviewer, speaker, and author. He lives in San Diego, California USA. He is the editor-in-chief of a website dedicated to helping software engineers in all aspects of programming since 1994.

David has written for programming magazines and published numerous books, including "Rock Your Code: Coding Standards for Microsoft .NET" and “Rock Your Code: Code and App Performance for Microsoft .NET” available at: David is a featured writer on the C# Corner where his articles have been read by over 1.3 million software engineers.

David is the host of Rockin' the Code World with dotNetDave weekly show on the Internet hosted by C# Corner Live. Each week David interviews top tech leaders on what they are currently passionate about along with answering questions from viewers. Each episode reaches up to 20,000 viewers from all over the world. Episodes are simulcast on YouTube, Twitter, C# Corner, and Facebook. Past episodes can be found at David also hosts the Code Quality & Performance on C# Corner Live which reaches over 65,000 software engineers:

David gives lectures on programming and technical interviewing at user groups, colleges, high schools, and conferences such as C# Corner Conference (India), NDC, Code Camp, SQL Saturday, DevConnections, VSLive, and more. He taught at the University of California San Diego for 18 years. He also runs his own software/ consulting company called McCarter Consulting. You can find upcoming speaking engagements by going to:

He is one of the founders and directors of the San Diego .NET Developers Group for its 20-year run. In 2008 David won the INETA Community Excellence Award for his involvement in the .NET community. David is also an inventor of a software printing system that was approved by the US Patient Office in May 2008.

If that's not enough, David is also an award-winning photographer and works for bands such as Queensryche, Buckcherry, Geoff Tate, Eric Johnson, Lit, Gary Hoey, P.O.D., Steel Panther, and too many other bands in the United States to list. David is also a guitarist and has had the honor to play with Carl Franklin (.NET Rocks) and the lead guitarist from Lynyrd Skynyrd.

His Microsoft MVP profile is located at:

His GitHub repo is located at:

His NuGet packages are located at: