.NET 5.0 Preview 2 Released

Recently, Microsoft released .NET 5.0 Preview 2 featuring a set of smaller features and performance improvements.
 
The company also announced the release of ASP.NET Core and EF Core alongside .NET 5.0 Preview 2.
 
Preview 2 features a bunch of Code quality improvements in RyuJIT. About half of those are actual new optimizations and the other half, the company said, are due to changing the flow of RyuJIT to enable existing optimizations to apply to more code patterns.
 
 
 
The release also brings some fixes and updates to Garbage Collector as well:
 
Card mark stealing – dotnet/coreclr #25986

Introducing Pinned Object Heap – dotnet/runtime #32283

Allow allocating large object from free list while background sweeping SOH – dotnet/runtime #2103

Background GC suspension fixes – dotnet/coreclr #27729

Fix named cgroup handling in docker – dotnet/runtime #980
 
Microsoft said that Preview 2 needs Visual Studio 2019 16.6 Preview to take full advantage of all its features.
 
To learn more you can visit the announcement here.


Next Recommended Reading .NET 5.0 Preview 5 Is Now Available