System.ComponentModel.Annotations 6.0.0-preview.4.21253.7

Provides attributes that are used to define metadata for objects used as data sources.

Commonly Used Types:
System.ComponentModel.DataAnnotations.ValidationResult
System.ComponentModel.DataAnnotations.IValidatableObject
System.ComponentModel.DataAnnotations.ValidationAttribute
System.ComponentModel.DataAnnotations.RequiredAttribute
System.ComponentModel.DataAnnotations.StringLengthAttribute
System.ComponentModel.DataAnnotations.DisplayAttribute
System.ComponentModel.DataAnnotations.RegularExpressionAttribute
System.ComponentModel.DataAnnotations.DataTypeAttribute
System.ComponentModel.DataAnnotations.RangeAttribute
System.ComponentModel.DataAnnotations.KeyAttribute

This is a prerelease version of System.ComponentModel.Annotations.

Requires NuGet 2.12 or higher.

Install-Package System.ComponentModel.Annotations -Version 6.0.0-preview.4.21253.7
dotnet add package System.ComponentModel.Annotations --version 6.0.0-preview.4.21253.7
<PackageReference Include="System.ComponentModel.Annotations" Version="6.0.0-preview.4.21253.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.ComponentModel.Annotations --version 6.0.0-preview.4.21253.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.ComponentModel.Annotations, 6.0.0-preview.4.21253.7"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.ComponentModel.Annotations as a Cake Addin
#addin nuget:?package=System.ComponentModel.Annotations&version=6.0.0-preview.4.21253.7&prerelease

// Install System.ComponentModel.Annotations as a Cake Tool
#tool nuget:?package=System.ComponentModel.Annotations&version=6.0.0-preview.4.21253.7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799421

  • .NETCore 5.0

  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 1.1

  • .NETStandard 1.3

  • .NETStandard 1.4

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • MonoAndroid 1.0

    • No dependencies.
  • MonoTouch 1.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0)

    • No dependencies.
  • UAP 10.0.16299

    • No dependencies.
  • Windows 8.0

    • No dependencies.
  • Xamarin.iOS 1.0

    • No dependencies.
  • Xamarin.Mac 2.0

    • No dependencies.
  • Xamarin.TVOS 1.0

    • No dependencies.
  • Xamarin.WatchOS 1.0

    • No dependencies.

NuGet packages (3.0K)

Showing the top 5 NuGet packages that depend on System.ComponentModel.Annotations:

Package Downloads
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
Microsoft.AspNetCore.Mvc.DataAnnotations
ASP.NET Core MVC metadata and validation system using System.ComponentModel.DataAnnotations. This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea
EntityFramework
Entity Framework 6 (EF6) is a tried and tested object-relational mapper for .NET with many years of feature development and stabilization.
Microsoft.Azure.WebJobs.Core
This library simplifies the task of adding background processing to your Microsoft Azure Web Sites. The SDK uses Microsoft Azure Storage, triggering a function in your program when items are added to Queues and Blobs. A dashboard provides rich monitoring and diagnostics for the programs that you write by using the SDK. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=320971
Microsoft.Extensions.Identity.Core
ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/71dd6b0c87d7619668a40876d084d93db57eab41

GitHub repositories (256)

Showing the top 5 popular GitHub repositories that depend on System.ComponentModel.Annotations:

Repository Stars
AvaloniaUI/Avalonia
A cross platform XAML framework for .NET
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
ppy/osu
rhythm is just a *click* away!
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

Version History

Version Downloads Last updated
6.0.0-preview.4.21253.7 30,066 5/24/2021
5.0.0 22,276,224 11/9/2020
5.0.0-rc.2.20475.5 233,242 10/13/2020
5.0.0-rc.1.20451.14 242,220 9/14/2020
5.0.0-preview.8.20407.11 111,541 8/25/2020
5.0.0-preview.7.20364.11 84,898 7/21/2020
5.0.0-preview.6.20305.6 18,762 6/25/2020
5.0.0-preview.5.20278.1 8,977 6/10/2020
5.0.0-preview.4.20251.6 26,567 5/18/2020
5.0.0-preview.3.20214.6 171,796 4/23/2020
5.0.0-preview.2.20160.6 165,746 4/2/2020
5.0.0-preview.1.20120.5 137,030 3/16/2020
4.7.0 93,530,900 12/3/2019
4.7.0-preview3.19551.4 254,906 11/13/2019
4.7.0-preview2.19523.17 88,176 11/1/2019
4.7.0-preview1.19504.10 442,509 10/15/2019
4.6.0 24,243,639 9/23/2019
4.6.0-rc1.19456.4 70,838 9/16/2019
4.6.0-preview9.19421.4 839,323 9/4/2019
4.6.0-preview9.19416.11 381 9/4/2019
4.6.0-preview8.19405.3 269,961 8/13/2019
4.6.0-preview7.19362.9 202,488 7/23/2019
4.6.0-preview6.19303.8 375,284 6/12/2019
4.6.0-preview6.19264.9 440 9/4/2019
4.6.0-preview5.19224.8 256,943 5/6/2019
4.6.0-preview4.19212.13 70,819 4/18/2019
4.6.0-preview3.19128.7 263,243 3/6/2019
4.6.0-preview.19073.11 110,699 1/29/2019
4.6.0-preview.18571.3 145,921 12/3/2018
4.5.0 97,686,145 5/29/2018
4.5.0-rc1 199,689 5/6/2018
4.5.0-preview2-26406-04 196,255 4/10/2018
4.5.0-preview1-26216-02 303,341 2/26/2018
4.4.1 52,417,265 12/12/2017
4.4.0 79,769,088 8/11/2017
4.4.0-preview2-25405-01 77,078 6/27/2017
4.4.0-preview1-25305-02 13,753 5/9/2017
4.3.0 40,841,613 11/15/2016
4.3.0-preview1-24530-04 62,296 10/24/2016
4.1.0 58,297,817 6/27/2016
4.1.0-rc2-24027 2,132,752 5/16/2016
4.0.11-beta-23516 266,513 11/18/2015
4.0.11-beta-23409 34,425 10/15/2015
4.0.11-beta-23225 101,010 9/1/2015
4.0.10 1,395,731 7/29/2015
4.0.10-beta-23109 30,988 7/27/2015
4.0.10-beta-23019 30,134 6/30/2015
4.0.10-beta-22816 31,311 4/24/2015
4.0.10-beta-22605 11,271 2/13/2015
4.0.10-beta-22416 7,913 1/16/2015
4.0.10-beta-22231 36,319 11/11/2014
4.0.0 403,298 7/29/2015
4.0.0-beta-23109 1,324 7/27/2015
4.0.0-beta-23019 2,019 6/30/2015