System.ComponentModel.Annotations 4.7.0

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

When using NuGet 3.x this package requires at least version 3.4.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package System.ComponentModel.Annotations -Version 4.7.0
dotnet add package System.ComponentModel.Annotations --version 4.7.0
<PackageReference Include="System.ComponentModel.Annotations" Version="4.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.ComponentModel.Annotations --version 4.7.0
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.

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

Repository Stars
dotnet-architecture/eShopOnContainers
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET Core 3.0, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
AvaloniaUI/Avalonia
A multi-platform .NET UI framework
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
ppy/osu
rhythm is just a *click* away!
graphql-dotnet/graphql-dotnet
GraphQL for .NET

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
5.0.0-preview.1.20120.5 3,235 3/16/2020
4.7.0 6,018,287 12/3/2019
4.7.0-preview3.19551.4 74,486 11/13/2019
4.7.0-preview2.19523.17 50,959 11/1/2019
4.7.0-preview1.19504.10 96,744 10/15/2019
4.6.0 6,177,764 9/23/2019
4.6.0-rc1.19456.4 52,373 9/16/2019
4.6.0-preview9.19421.4 177,099 9/4/2019
4.6.0-preview9.19416.11 87 9/4/2019
4.6.0-preview8.19405.3 148,836 8/13/2019
4.6.0-preview7.19362.9 121,747 7/23/2019
4.6.0-preview6.19303.8 181,526 6/12/2019
4.6.0-preview6.19264.9 110 9/4/2019
4.6.0-preview5.19224.8 157,132 5/6/2019
4.6.0-preview4.19212.13 48,698 4/18/2019
4.6.0-preview3.19128.7 138,770 3/6/2019
4.6.0-preview.19073.11 73,111 1/29/2019
4.6.0-preview.18571.3 93,817 12/3/2018
4.5.0 21,625,891 5/29/2018
4.5.0-rc1 119,611 5/6/2018
4.5.0-preview2-26406-04 95,223 4/10/2018
4.5.0-preview1-26216-02 225,739 2/26/2018
4.4.1 20,648,326 12/12/2017
4.4.0 36,919,908 8/11/2017
4.4.0-preview2-25405-01 53,941 6/27/2017
4.4.0-preview1-25305-02 12,217 5/9/2017
4.3.0 16,323,394 11/15/2016
4.3.0-preview1-24530-04 54,256 10/24/2016
4.1.0 41,302,328 6/27/2016
4.1.0-rc2-24027 1,958,928 5/16/2016
4.0.11-beta-23516 264,832 11/18/2015
4.0.11-beta-23409 33,687 10/15/2015
4.0.11-beta-23225 79,185 9/1/2015
4.0.10 1,294,027 7/29/2015
4.0.10-beta-23109 30,242 7/27/2015
4.0.10-beta-23019 29,340 6/30/2015
4.0.10-beta-22816 30,325 4/24/2015
4.0.10-beta-22605 10,531 2/13/2015
4.0.10-beta-22416 7,179 1/16/2015
4.0.10-beta-22231 27,980 11/11/2014
4.0.0 313,301 7/29/2015
4.0.0-beta-23109 640 7/27/2015
4.0.0-beta-23019 1,270 6/30/2015