Overview of .NET Community Toolkit packages
mainThe .NET Community Toolkit is a collection of platform-agnostic helper APIs and libraries maintained by Microsoft as part of the .NET Foundation. It is designed for use by both application developers and library authors across any .NET UI framework.
Key components include:
- CommunityToolkit.Common: Shared helper APIs used across other toolkit libraries.
- CommunityToolkit.Diagnostics: APIs for efficient argument validation and error checking, specifically
GuardandThrowHelper. - CommunityToolkit.HighPerformance: Helpers for high-performance scenarios, including pooled buffer helpers, a fast
StringPool, 2D variants ofMemory<T>andSpan<T>(Memory2D<T>andSpan2D<T>), and bit shift operation helpers likeBitHelper. - CommunityToolkit.Mvvm: A fast, modular, platform-agnostic MVVM library and the official successor to
MvvmLight.