High Performance Coding with NET Core and C
What you’ll 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, ArrayPool
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
Production monitoring for .NET Core and ASP .NET Core with Application Insights and Dynatrace
Requirements
You should have some experience with the .NET framework
You already created at least 1 application either with .NET Core or with the .NET Classic framework
A little bit of .NET Core experience helps, but if you have solid a solid .NET Classic background, then it’s also fine
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 PerfViewUnderstand the latest language features of C# and how they affect performanceAdvanced tools to improve the performance of your .NET Core and ASP.NET Core applications: Span, ArrayPool, 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.
Overview
Section 1: Setting the Stage
Lecture 1 Course Overview
Lecture 2 Note for .NET Core experts
Lecture 3 .NET Core History – Performance
Lecture 4 .NET Core Concepts and Definitions
Section 2: Measure Performance During Development Part 1
Lecture 5 Measuring CPU
Lecture 6 Measuring Memory
Lecture 7 Visual Studio Performance Tools – PerfTips and Profiler
Lecture 8 Visual Studio Performance Tools – The Diagnostic Tools Window
Section 3: Measure Performance During Development Part 2
Lecture 9 Event Tracing: ETW and PerfView
Lecture 10 Micro Benchmarking with BenchmarkDotNet
Lecture 11 .NET Core Performance Diagnostic on Linux
Lecture 12 Performance Monitoring on the Developer Machine with Stackify Prefix
Lecture 13 Performance Monitoring on the Developer Machine with MiniProfiler
Section 4: Make your Code Faster – General Tips for .NET Developers
Lecture 14 Value Types vs. Reference Types and Reducing Pressure on the GC
Lecture 15 Value Types vs. Reference Types and Reducing Pressure on the GC – Demo
Lecture 16 Saving Threads with async/await
Lecture 17 Saving Threads with async/await – Demo
Lecture 18 Choosing the Right Collection
Lecture 19 Choosing the Right Collection – Demo
Section 5: C# 7 Performance
Lecture 20 Performance Impact of C# 7 Features
Lecture 21 Avoid Heap Allocations with Local Functions
Lecture 22 Make ValueTypes Faster with ref return
Lecture 23 The Performance Characteristics of the C# 7 Tuple Feature
Lecture 24 Optimization of async-methods with ValueTask
Lecture 25 Pattern matching and Performance
Section 6: New Performance Related APIs
Lecture 26 Reusing Arrays with ArrayPool
Lecture 27 Accessing all Types of Memory Safely and Efficiently with Span
Lecture 28 Accessing all Types of memory Safely and Efficiently with Span – Demo
Section 7: Data Access Performance: Entity Framework Core
Lecture 29 Make faster Queries with Entity Framework Core
Lecture 30 Loading Dependent Entities Efficiently
Lecture 31 EF Core Performance: Maximum Length, Client Side Execution, Change Tracking
Section 8: .NET Core Specific Performance Tools and Configurations
Lecture 32 Pre-JIT .NET Core Applications with CrossGen
Lecture 33 Make your .NET Core Application Smaller with Mono’s Linker
Lecture 34 Faster Startup with ASP.NET Core Precompiled Views
Section 9: Performance Monitoring in Production for .NET Core
Lecture 35 Enabling Application Insights for ASP.NET Core Applications
Lecture 36 Tracking Slow Requests and Performance Testing with Application Insights
Lecture 37 Tracking Custom Dependencies with Application Insights
Lecture 38 Monitoring .NET Core Applications with Dynatrace
If you are a .NET Core developer and you want to make sure your application does not break under production load then this course is for you!,Furthermore, if you are interested in performance and you like looking behind the scenes and understanding what really happens in your application then you will also find this course interesting.
Course Information:
Udemy | English | 6h 18m | 2.22 GB
Created by: Gergely Kalapos
You Can See More Courses in the Developer >> Greetings from CourseDown.com