爱编程 - .NET 6
type: channel
link: https://masoft.cn/tag/NET-6/
items: .NET 6新特性试用

.NET 6新特性试用
type: item
date: 2021-12-17T11:42:00+08:00
description: [scode type="green"]1、最小Web API[/scode]最小Web API[scode type="green"]2、隐式using指令[/scode]隐式using指令[scode type="green"]3、可空引用类型[/scode]可空引用类型[scode type="green"]4、热重载[/scode]热重载[scode type="green"]5、Controller支持IAsyncDisposable[/scode]Controller支持IAsyncDisposable[scode type="green"]6、record struct[/scode]record struct[scode type="green"]7、异步流[/scode]异步流[scode type="green"]8、文件范围的命名空间[/scode]文件范围的命名空间[scode type="green"]9、无需配置开发人员异常页[/scode]无需配置开发人员异常页[scode type="green"]10、常量内插字符串[/scode]常量内插字符串[scode type="green"]11、ArgumentNullException卫语句[/scode]ArgumentNullException卫语句[scode type="green"]12、DateOnly和TimeOnly类型[/scode]DateOnly和TimeOnly类型[scode type="green"]13、Nuget包验证[/scode]Nuget包验证[scode type="green"]14、HTTP日志记录middleware[/scode]HTTP日志记录middleware[scode type="green"]15、LINQ功能改进[/scode]LINQ功能改进