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 (269)

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 11,681 7/14/2021
6.0.0-preview.5.21301.5 45,675 6/15/2021
6.0.0-preview.4.21253.7 48,695 5/24/2021
6.0.0-preview.3.21201.4 80,515 4/8/2021
6.0.0-preview.2.21154.6 55,106 3/11/2021
6.0.0-preview.1.21102.12 105,874 2/12/2021
5.0.0 33,961,752 11/9/2020
5.0.0-rc.2.20475.5 391,818 10/13/2020
5.0.0-rc.1.20451.14 384,378 9/14/2020
5.0.0-preview.8.20407.11 189,398 8/25/2020
5.0.0-preview.7.20364.11 141,569 7/21/2020
5.0.0-preview.6.20305.6 87,813 6/25/2020
5.0.0-preview.5.20278.1 45,569 6/10/2020
5.0.0-preview.4.20251.6 274,471 5/18/2020
5.0.0-preview.3.20215.2 156,772 4/23/2020
5.0.0-preview.2.20160.3 160,850 4/2/2020
5.0.0-preview.1.20120.4 130,980 3/16/2020
3.1.17 88,474 7/13/2021
3.1.16 608,509 6/8/2021
3.1.15 937,357 5/11/2021
3.1.14 1,751,005 4/6/2021
3.1.13 2,336,474 3/9/2021
3.1.12 2,487,183 2/9/2021
3.1.11 3,940,660 1/12/2021
3.1.10 7,701,642 11/9/2020
3.1.9 11,742,081 10/13/2020
3.1.8 17,809,372 9/8/2020
3.1.7 12,609,040 8/11/2020
3.1.6 13,391,564 7/14/2020
3.1.5 17,069,020 6/9/2020
3.1.4 16,825,491 5/12/2020
3.1.3 29,219,885 3/24/2020
3.1.2 30,671,686 2/18/2020
3.1.1 18,055,007 1/14/2020
3.1.0 26,718,887 12/3/2019
3.1.0-preview3.19553.2 464,461 11/13/2019
3.1.0-preview2.19525.4 95,888 11/1/2019
3.1.0-preview1.19506.1 633,861 10/15/2019
3.0.3 3,241,500 2/18/2020
3.0.2 917,553 1/14/2020
3.0.1 3,213,071 11/18/2019
3.0.0 49,902,101 9/23/2019
3.0.0-rc1.19456.10 101,233 9/16/2019
3.0.0-preview9.19423.4 926,724 9/4/2019
3.0.0-preview8.19405.4 247,385 8/13/2019
3.0.0-preview7.19362.4 151,366 7/23/2019
3.0.0-preview6.19304.6 266,508 6/12/2019
3.0.0-preview5.19227.9 271,608 5/6/2019
3.0.0-preview4.19216.2 40,235 4/18/2019
3.0.0-preview3.19153.1 227,279 3/6/2019
3.0.0-preview.19074.2 87,034 1/29/2019
3.0.0-preview.18572.1 116,798 12/4/2018
2.2.0 99,979,538 12/3/2018
2.2.0-preview3-35497 404,167 10/17/2018
2.2.0-preview2-35157 349,634 9/12/2018
2.2.0-preview1-35029 150,196 8/22/2018
2.1.1 63,435,648 6/18/2018
2.1.0 100,347,439 5/29/2018
2.1.0-rc1-final 351,464 5/6/2018
2.1.0-preview2-final 398,641 4/10/2018
2.1.0-preview1-final 508,649 2/26/2018
2.0.2 11,771,714 5/7/2018
2.0.1 22,075,318 3/13/2018
2.0.0 143,534,994 8/11/2017
2.0.0-preview2-final 189,800 6/28/2017
2.0.0-preview1-final 884,625 5/10/2017
1.1.2 13,328,882 5/9/2017
1.1.1 9,530,124 3/6/2017
1.1.0 8,101,336 11/16/2016
1.1.0-preview1-final 233,913 10/24/2016
1.0.2 75,904,147 3/6/2017
1.0.1 3,482,391 12/12/2016
1.0.0 62,362,971 6/27/2016
1.0.0-rc2-final 1,839,090 5/16/2016
Show less