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.

NuGet packages (2.3K)

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

Package Downloads
Microsoft.EntityFrameworkCore
Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API. Commonly Used Types: Microsoft.EntityFrameworkCore.DbContext Microsoft.EntityFrameworkCore.DbSet
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.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/ecdcc752d4639061c2c49727ee77a1039bbbca22
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

GitHub repositories (215)

Showing the top 5 popular 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.
AvaloniaUI/Avalonia
Avalonia is a cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems such as Windows via .NET Framework and .NET Core, Linux via Xorg, macOS
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET

Version History

Version Downloads Last updated
5.0.0-rc.1.20451.14 8,704 9/14/2020
5.0.0-preview.8.20407.11 24,173 8/25/2020
5.0.0-preview.7.20364.11 46,362 7/21/2020
5.0.0-preview.6.20305.6 12,710 6/25/2020
5.0.0-preview.5.20278.1 5,604 6/10/2020
5.0.0-preview.4.20251.6 11,754 5/18/2020
5.0.0-preview.3.20214.6 110,805 4/23/2020
5.0.0-preview.2.20160.6 96,649 4/2/2020
5.0.0-preview.1.20120.5 63,586 3/16/2020
4.7.0 32,492,084 12/3/2019
4.7.0-preview3.19551.4 142,609 11/13/2019
4.7.0-preview2.19523.17 71,622 11/1/2019
4.7.0-preview1.19504.10 238,728 10/15/2019
4.6.0 13,509,219 9/23/2019
4.6.0-rc1.19456.4 61,495 9/16/2019
4.6.0-preview9.19421.4 475,630 9/4/2019
4.6.0-preview9.19416.11 188 9/4/2019
4.6.0-preview8.19405.3 193,625 8/13/2019
4.6.0-preview7.19362.9 153,062 7/23/2019
4.6.0-preview6.19303.8 258,337 6/12/2019
4.6.0-preview6.19264.9 228 9/4/2019
4.6.0-preview5.19224.8 205,783 5/6/2019
4.6.0-preview4.19212.13 58,317 4/18/2019
4.6.0-preview3.19128.7 184,442 3/6/2019
4.6.0-preview.19073.11 85,984 1/29/2019
4.6.0-preview.18571.3 115,518 12/3/2018
4.5.0 43,893,514 5/29/2018
4.5.0-rc1 139,866 5/6/2018
4.5.0-preview2-26406-04 115,331 4/10/2018
4.5.0-preview1-26216-02 249,031 2/26/2018
4.4.1 33,271,719 12/12/2017
4.4.0 52,337,052 8/11/2017
4.4.0-preview2-25405-01 62,116 6/27/2017
4.4.0-preview1-25305-02 12,549 5/9/2017
4.3.0 24,123,729 11/15/2016
4.3.0-preview1-24530-04 56,454 10/24/2016
4.1.0 47,993,284 6/27/2016
4.1.0-rc2-24027 2,046,239 5/16/2016
4.0.11-beta-23516 265,318 11/18/2015
4.0.11-beta-23409 33,874 10/15/2015
4.0.11-beta-23225 87,839 9/1/2015
4.0.10 1,330,581 7/29/2015
4.0.10-beta-23109 30,431 7/27/2015
4.0.10-beta-23019 29,565 6/30/2015
4.0.10-beta-22816 30,534 4/24/2015
4.0.10-beta-22605 10,726 2/13/2015
4.0.10-beta-22416 7,367 1/16/2015
4.0.10-beta-22231 31,341 11/11/2014
4.0.0 341,647 7/29/2015
4.0.0-beta-23109 811 7/27/2015
4.0.0-beta-23019 1,470 6/30/2015
Show less