Amazing things are happening with C# and .NET Core in regards to performance. We have new types such as Span and Memory, for working with and parsing in-memory data. We have pipelines for high-performance IO, and we have ArrayPool, MemoryPool and OjectPool to help reduce GC allocations. Many more great things are on the horizon in .NET Core 3.0 such as Utf8String and new built-in JSON APIs which add to the performance arsenal. Internally, these have been used by Microsoft teams to optimise .NET Core and ASP.NET Core. Now it’s time to apply them to your code!
These features can seem complicated, unapproachable and difficult to apply. In this session, Steve will share his journey of learning about and using these tools when building high-throughput .NET Core worker services. You’ll learn about the motivations that led Steve to begin exploring these cool new features, and you’ll see how they can be applied to production code. This talk is for developers, who like Steve, are ready to begin their journey towards writing faster .NET code, which allocates less.
Demos and samples can be found in my GitHub respoitory.