Skip to content
UdemyC#Paid courseIntermediate levelCertificate

High Performance Coding with .NET Core and C# (Udemy.com)

Learn how to write high performance and scalable .NET Core and ASP.NET Core applications in C#

Created by: Gergely Kalapos

Last updated December 2017

icon
What you will learn

  • Get an overview about the current stage of the .NET platform with focus on .NET Core, ASP .NET Core, and C# 7 with their performance aspects
  • Get to know tools which are essential to measure the performance of a .NET Core application: Visual Studio Performance Tools, PerfView, BenchmarkDotNet, Perf and LTTng on Linux, Prefix, MiniProfiler
  • Performance characteristics of value types and reference types, the effect of async/await on performance, and performance of collections in the base library
  • Behind the scenes knowledge about C# 7: you will see what the compiler generates from C# 7 code and what performance implications this has on your application
  • New performance related APIs like Span<T>, ArrayPool<T>
  • Data access performance with Entity Framework Core
  • Ahead of time compilation for .NET Core with CrossGen, and removing dead code with the .NET IL Linker

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100

icon
Course Description

A few years ago, Microsoft decided to radically redefine the .NET platform. An open-source, cross-platform, high performance flavor of the .NET framework was created: this is .NET Core. Additionally, C#, the most widely used .NET programming language also evolved over the years. These new developments include many performance improvements.

The goal of the course is to give you deep understanding about these performance improvements. By applying the knowledge from this course, you will be able to measure and optimize the performance of .NET Core (including ASP.NET Core), C# applications.

After a short wrap-up on .NET Core the course introduces you to the first pillar of the performance topic: measuring performance. You will learn to use tools that you can apply to measure the performance of your code running on .NET Core. Then we will focus on some important performance tricks like reducing the pressure on the GC by using value types or choosing the right collection for the given problem. After that we will see what the compiler does behind the scenes when it compiles your C# 7 code and what performance implications this has. We will talk about some new performance related APIs like ArrayPool and Span and we will also look into the performance aspects of Entity Framework Core. We will talk about the ahead of time compilation story for .NET with CrossGen and IL trimming with the .NET IL Linker. We will finish the course by learning about production performance monitoring for .NET Core. 


Goal of the course 

  • Understanding why .NET Core and ASP.NET Core are great platforms to create high performance applications  
  • Learning about tools that can measure the performance of your .NET Core code: Visual Studio Performance Tools, BenchmarkDotNet, MiniProfiler, Stackify Prefix, LTTng and Perf on Linux, ETW and PerfView
  • Understand the latest language features of C# and how they affect performance
  • Advanced tools to improve the performance of your .NET Core and ASP.NET Core applications: Span<T>, ArrayPool<T>, ASP.NET Core Precompiled Views, Entity Framework Core performance, .NET IL Linker, AOT compilation with CrossGen. 
  • Performance monitoring in production for .NET Core and ASP.NET Core: Application Insights and Dynatrace


Course style

The course is a mix of theory and practice. Tools and concepts with their theoretical background will be introduced with slides and then the theoretical knowledge will be applied in demos. 

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Gergely Kalapos

Gergely Kalapos (Greg) is a Software Engineer specialized in .NET and Microsoft technologies. He started to work with .NET and C# around 2008 and he spent the last 4 years creating performance monitoring tools for .NET applications. He holds a BSc degree in Computer Engineering and an MSc degree in Software Engineering.

icon
More courses by Gergely Kalapos

$39.99

icon
More C# courses

$84.99

$13.99

$64.99

$19.99

$12.99

$84.99

icon
Reviews

4.6

2,072 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Gabriel Mamani on 2/12/2024

The depth of insights into optimizing code for performance was incredible. I loved how practical the examples were, making complex concepts digestible. The instructor' expertise shone through, and their explanations were top-notch. This course has definitely leveled up my skills in .NET Core and C#. Thanks for an amazing learning experience!

By Ashutosh Ranjan on 10/21/2023

Learned a lot, even this course is very old. The processes are shown here very important and can help anyone who is new to .net/.net core or have some experience.

By Ezequiel Aciar on 8/19/2023

Es un buen curso pero muchas cosas han quedado desactualizadas. Se habla de C#7 cuando ya estamos por la version 12. Algunas herramientas mencionadas cambiaron. Otras features como monlinker han sido incluidas a NetCore directamente asi que no hay necesidad de revisarlas mas que para entender lo que hacen. De todas maneras me parece que incorpora un monton de conceptos e ideas en general muy buenas. En fin, es lo que esperaba en algun punto, sabia que ya tiene 7 anios este curso de todas formas aprendi muchas cosas.

By Hébillton Rodrigues da Silva on 10/24/2022

Thanks Greg! The only feature that is no good, but not because the content, but becase the auto-legend, sometimes nuts. If you desire I can rewrite the legend that way a more brazilians can understand better. Huge from Brazil! [came live here man!]

By Jose Zamorano on 7/6/2021

The course is very thorough in the description of how to test performance and do benchmarking on applications. Really good on how to hunt and find bottlenecks in the code while trying to get the best performance for the application.

By Rohit Govind Patel on 2/4/2021

Need to go through twice , topic are value added in terms of knowledge but few topic were too fast to digest on how actually can be practice by self.

By Lucas Venturella on 11/8/2020

Awesome course, it is short but it goes right to the point and has a lot of usefull information

By Priyanka Haibatti on 10/18/2020

GOOD

By Jorge Serrano on 10/8/2020

No practical content.. no tips..too much theory

By Markus Mayer on 8/15/2020

I hoped on finding a bit more on tips and tricks at the code level, but having an overview of the entire landscape (or its shape) is nice to have as well.

By Adrian Borsati on 8/4/2020

Excelente curso.

By Sachithanandham Palaniswamy on 7/19/2020

Good

Showing 12 of 73 reviews