Microsoft.Extensions.Options 5.0.0

Provides a strongly typed way of specifying and accessing settings using dependency injection.
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 Microsoft.Extensions.Options -Version 5.0.0
dotnet add package Microsoft.Extensions.Options --version 5.0.0
<PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.Options --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Extensions.Options, 5.0.0"
#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 Microsoft.Extensions.Options as a Cake Addin
#addin nuget:?package=Microsoft.Extensions.Options&version=5.0.0

// Install Microsoft.Extensions.Options as a Cake Tool
#tool nuget:?package=Microsoft.Extensions.Options&version=5.0.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

NuGet packages (2.7K)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Options:

Package Downloads
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
Microsoft.AspNetCore.Http
ASP.NET Core default HTTP feature implementations. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/522705f9a27b99ca4ad261f2e89fe51a77b2338e
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
Microsoft.AspNetCore.Authorization
ASP.NET Core authorization classes. Commonly used types: Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute Microsoft.AspNetCore.Authorization.AuthorizeAttribute This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/71dd6b0c87d7619668a40876d084d93db57eab41

GitHub repositories (267)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.Options:

Repository Stars
jellyfin/jellyfin
The Free Software Media System
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
JeffreySu/WeiXinMPSDK
微信全平台 SDK Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 6.0。已支持微信公众号、小程序、小游戏、企业号、企业微信、开放平台、微信支付、JSSDK、微信周边等全平台。 WeChat SDK for C#.

Version History

Version Downloads Last updated
6.0.0-preview.6.21352.12 10,016 7/14/2021
6.0.0-preview.5.21301.5 44,806 6/15/2021
6.0.0-preview.4.21253.7 47,822 5/24/2021
6.0.0-preview.3.21201.4 79,966 4/8/2021
6.0.0-preview.2.21154.6 54,852 3/11/2021
6.0.0-preview.1.21102.12 105,235 2/12/2021
5.0.0 33,751,686 11/9/2020
5.0.0-rc.2.20475.5 390,607 10/13/2020
5.0.0-rc.1.20451.14 383,743 9/14/2020
5.0.0-preview.8.20407.11 189,017 8/25/2020
5.0.0-preview.7.20364.11 141,467 7/21/2020
5.0.0-preview.6.20305.6 87,702 6/25/2020
5.0.0-preview.5.20278.1 45,532 6/10/2020
5.0.0-preview.4.20251.6 274,426 5/18/2020
5.0.0-preview.3.20215.2 156,696 4/23/2020
5.0.0-preview.2.20160.3 160,608 4/2/2020
5.0.0-preview.1.20120.4 130,816 3/16/2020
3.1.17 78,574 7/13/2021
3.1.16 596,529 6/8/2021
3.1.15 927,919 5/11/2021
3.1.14 1,737,426 4/6/2021
3.1.13 2,322,869 3/9/2021
3.1.12 2,474,228 2/9/2021
3.1.11 3,921,419 1/12/2021
3.1.10 7,678,961 11/9/2020
3.1.9 11,708,008 10/13/2020
3.1.8 17,757,576 9/8/2020
3.1.7 12,581,393 8/11/2020
3.1.6 13,364,818 7/14/2020
3.1.5 17,043,540 6/9/2020
3.1.4 16,798,078 5/12/2020
3.1.3 29,173,494 3/24/2020
3.1.2 30,621,172 2/18/2020
3.1.1 18,032,549 1/14/2020
3.1.0 26,672,087 12/3/2019
3.1.0-preview3.19553.2 463,652 11/13/2019
3.1.0-preview2.19525.4 95,793 11/1/2019
3.1.0-preview1.19506.1 632,893 10/15/2019
3.0.3 3,226,212 2/18/2020
3.0.2 917,347 1/14/2020
3.0.1 3,210,631 11/18/2019
3.0.0 49,799,038 9/23/2019
3.0.0-rc1.19456.10 101,189 9/16/2019
3.0.0-preview9.19423.4 926,002 9/4/2019
3.0.0-preview8.19405.4 247,356 8/13/2019
3.0.0-preview7.19362.4 151,308 7/23/2019
3.0.0-preview6.19304.6 266,348 6/12/2019
3.0.0-preview5.19227.9 271,539 5/6/2019
3.0.0-preview4.19216.2 40,222 4/18/2019
3.0.0-preview3.19153.1 227,115 3/6/2019
3.0.0-preview.19074.2 86,991 1/29/2019
3.0.0-preview.18572.1 116,771 12/4/2018
2.2.0 99,772,269 12/3/2018
2.2.0-preview3-35497 404,076 10/17/2018
2.2.0-preview2-35157 349,542 9/12/2018
2.2.0-preview1-35029 150,169 8/22/2018
2.1.1 63,330,312 6/18/2018
2.1.0 100,181,560 5/29/2018
2.1.0-rc1-final 351,432 5/6/2018
2.1.0-preview2-final 398,474 4/10/2018
2.1.0-preview1-final 508,568 2/26/2018
2.0.2 11,758,751 5/7/2018
2.0.1 22,060,711 3/13/2018
2.0.0 143,341,682 8/11/2017
2.0.0-preview2-final 189,698 6/28/2017
2.0.0-preview1-final 884,492 5/10/2017
1.1.2 13,321,105 5/9/2017
1.1.1 9,523,976 3/6/2017
1.1.0 8,096,039 11/16/2016
1.1.0-preview1-final 233,906 10/24/2016
1.0.2 75,859,855 3/6/2017
1.0.1 3,482,332 12/12/2016
1.0.0 62,280,932 6/27/2016
1.0.0-rc2-final 1,839,063 5/16/2016
Show less