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.