Turbocharged: Writing High-Performance C# and .NET Code
In this session, you'll learn how to write C# code which executes faster and allocates less. This session is packed with practical examples and demos of where the latest high-performance APIs and language features can be applied in your applications. During this session, we'll apply types such as Span and Memory to efficiently process data and to parse strings. We'll examine System.IO.Pipelines, offering high-performance I/O and we'll utilise ArrayPool to help reduce GC allocations. Since .NET Core 3.0, we have new high-performance JSON APIs which we'll also add to our arsenal. Microsoft has made fantastic performance gains to the .NET Core framework; now it's time to apply them to your code! We'll begin by discussing when and why performance matters in your applications. You'll learn how to measure your code, and use a data-driven approach to focus your optimisations. These features can seem complicated, unapproachable and difficult to apply. In this session, Steve introduces high-performance newcomers to the features, showing you how they work, where they can be applied and how to measure performance improvements in your code. This talk is for developers, who like Steve, are ready to begin their journey towards writing faster .NET code, which allocates less. This talk is aimed at all levels of .NET Core developers. It's intended to provide real-world experience of applying high-performance techniques to .NET code. It shares the journey and experience of a relative performance novice, learning about these features for the first time to solve real problems and optimise code. The audience will leave this talk with the knowledge to begin leveraging performance features and inspired to try them in their code.
Steve Gordon is a Pluralsight author, Microsoft MVP, senior developer and community lead, based in Brighton, UK. He works for Madgex developing and supporting their new product portfolio built on ASP.NET Core technologies. Steve is passionate about community and all things .NET related, having worked with ASP.NET on and off for over 15 years. Steve is currently developing microservice-based systems and services, using .NET Core and Docker. He enjoys sharing his knowledge through his blog, in videos and by presenting talks at user groups and conferences. Steve is excited to be a part of the .NET community and founded .NET South East, a .NET Meetup group based in Brighton. He enjoys contributing to and maintaining OSS projects. You can find Steve online at his blog www.stevejgordon.co.uk and on Twitter as @stevejgordon.
- Tulsa .NET User Group 8 Recordings
- C# 12 Recordings