Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing (in)efficient C#

NDC Conferences via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Explore a comprehensive conference talk from NDC Porto 2024 where Callum Whyte delves into the hidden inefficiencies in C# development and how to overcome them. Learn about common pitfalls that impact performance and stability, especially at scale, while gaining insights into what happens under the hood of C# code. The presentation covers critical topics including enumeration problems, deferred execution misuse, casting and boxing overhead, string concatenation inefficiencies, proper management of statics and object disposal, and techniques for reducing allocations. Discover how commonly used methods like ToList() and ToArray() work internally and why their misuse alongside LINQ can create serious performance issues. Gain practical knowledge about diagnosing and fixing performance problems using tools available within Visual Studio, external solutions like DotTrace and ANTS Profiler, open-source options such as BenchmarkDotNet, and cloud-based monitoring with Application Insights. The talk also addresses process improvements to prevent performance issues, including how to measure and track optimizations as part of development cycles and strategies for convincing teams to prioritize performance alongside feature development.

Syllabus

Writing (in)efficient C# - Callum Whyte - NDC Porto 2024

Taught by

NDC Conferences

Reviews

Start your review of Writing (in)efficient C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.