.NET 8 Preview 2

Welcome to .NET 8 Preview 2
Hot on the heals of .NET 8 Preview 1 comes Preview 2! This monthly release cycle will continue until .NET 8 is released probably in November. Preview 2 includes some changes including new System.ComponentModel.DataAnnotations extensions for RequiredAttribute.DisallowAllDefaultValues, RangeAttribute exclusive bounds, LengthAttribute, AllowedValuesAttribute, DenyValuesAttribute and Base64StringAttribute. Also there is new introspection support for function pointers in System.Reflection. This is the ability for reflection to obtain function pointer metadata. Be sure to read the announcement blog here.
Read more →

.NET 8 Preview 1

Welcome to .NET 8 Preview 1
In the ever evolving world of .NET, the next major release or Long Term Supported (LTS) release had its first preview release today. LTS means it’ll be supported for 3 years instead of .NET 7’s 18 months. The changes in .NET 8 include producing Release assets by default when you call dotnet publish or dotnet pack. This can of course be reverted by changing the PublishRelease property to false. Various improvements have been made to System.
Read more →