.NET 7 Preview 6 发布
.NET 7 发布了第 6 个预览版。 主要变化包括: 改进Generic Math,方便 API 作者的使用 为ML.NET引入新的Text Classification API,增加了最先进的深度学习技术对于自然语言处理 对源代码生成器的多项改进 用于 RegexGenerator 的新 Roslyn 分析器和修复器,以及在 CodeGen、可观察性、JSON 序列化 / 反序列化和使用流方面的多项性能改进 对源代码生成器的多项改进 添加了对IAsyncEnumerable<T>(#59268),JsonDocument(#59954),DateOnly/TimeOnly(#53539)类型的源代码生成支持。例如: [JsonSerializable(typeof(typeof(MyPoco))] public class MyContext : JsonSerializerContext {} public class MyPoco { // Use of IAsyncEnumerable that previously resulted // i...