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.5K)

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/718171eeb4bd236ab4f0d9b1ecd97ecc63ec0be1

GitHub repositories (258)

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。已支持微信公众号、小程序、小游戏、企业号、企业微信、开放平台、微信支付、JSSDK、微信周边等全平台。 WeChat SDK for C#.

Version History

Version Downloads Last updated
6.0.0-preview.3.21201.4 5,153 4/8/2021
6.0.0-preview.2.21154.6 24,485 3/11/2021
6.0.0-preview.1.21102.12 45,850 2/12/2021
5.0.0 14,803,378 11/9/2020
5.0.0-rc.2.20475.5 300,855 10/13/2020
5.0.0-rc.1.20451.14 320,680 9/14/2020
5.0.0-preview.8.20407.11 143,437 8/25/2020
5.0.0-preview.7.20364.11 126,205 7/21/2020
5.0.0-preview.6.20305.6 75,824 6/25/2020
5.0.0-preview.5.20278.1 42,261 6/10/2020
5.0.0-preview.4.20251.6 267,392 5/18/2020
5.0.0-preview.3.20215.2 145,781 4/23/2020
5.0.0-preview.2.20160.3 136,675 4/2/2020
5.0.0-preview.1.20120.4 118,088 3/16/2020
3.1.14 72,588 4/6/2021
3.1.13 589,937 3/9/2021
3.1.12 1,106,788 2/9/2021
3.1.11 1,838,869 1/12/2021
3.1.10 4,978,004 11/9/2020
3.1.9 8,140,473 10/13/2020
3.1.8 12,110,627 9/8/2020
3.1.7 9,511,235 8/11/2020
3.1.6 10,532,395 7/14/2020
3.1.5 13,777,293 6/9/2020
3.1.4 13,606,964 5/12/2020
3.1.3 23,783,180 3/24/2020
3.1.2 24,505,306 2/18/2020
3.1.1 15,459,003 1/14/2020
3.1.0 21,094,654 12/3/2019
3.1.0-preview3.19553.2 373,540 11/13/2019
3.1.0-preview2.19525.4 86,769 11/1/2019
3.1.0-preview1.19506.1 540,506 10/15/2019
3.0.3 1,822,377 2/18/2020
3.0.2 888,699 1/14/2020
3.0.1 2,916,723 11/18/2019
3.0.0 38,775,326 9/23/2019
3.0.0-rc1.19456.10 95,608 9/16/2019
3.0.0-preview9.19423.4 828,233 9/4/2019
3.0.0-preview8.19405.4 234,446 8/13/2019
3.0.0-preview7.19362.4 144,981 7/23/2019
3.0.0-preview6.19304.6 247,555 6/12/2019
3.0.0-preview5.19227.9 255,773 5/6/2019
3.0.0-preview4.19216.2 38,205 4/18/2019
3.0.0-preview3.19153.1 210,572 3/6/2019
3.0.0-preview.19074.2 79,882 1/29/2019
3.0.0-preview.18572.1 110,031 12/4/2018
2.2.0 77,881,672 12/3/2018
2.2.0-preview3-35497 389,826 10/17/2018
2.2.0-preview2-35157 335,937 9/12/2018
2.2.0-preview1-35029 145,247 8/22/2018
2.1.1 52,161,022 6/18/2018
2.1.0 82,889,352 5/29/2018
2.1.0-rc1-final 325,015 5/6/2018
2.1.0-preview2-final 339,133 4/10/2018
2.1.0-preview1-final 478,618 2/26/2018
2.0.2 10,471,432 5/7/2018
2.0.1 20,125,098 3/13/2018
2.0.0 122,212,335 8/11/2017
2.0.0-preview2-final 178,394 6/28/2017
2.0.0-preview1-final 809,423 5/10/2017
1.1.2 12,373,838 5/9/2017
1.1.1 8,746,030 3/6/2017
1.1.0 7,525,347 11/16/2016
1.1.0-preview1-final 230,346 10/24/2016
1.0.2 70,243,949 3/6/2017
1.0.1 3,470,853 12/12/2016
1.0.0 53,161,254 6/27/2016
1.0.0-rc2-final 1,825,065 5/16/2016