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

Version History

Version Downloads Last updated
6.0.0-preview.3.21201.4 22,864 4/8/2021
6.0.0-preview.2.21154.6 31,497 3/11/2021
6.0.0-preview.1.21102.12 58,077 2/12/2021
5.0.0 18,042,511 11/9/2020
5.0.0-rc.2.20475.5 318,419 10/13/2020
5.0.0-rc.1.20451.14 334,726 9/14/2020
5.0.0-preview.8.20407.11 153,046 8/25/2020
5.0.0-preview.7.20364.11 129,282 7/21/2020
5.0.0-preview.6.20305.6 78,609 6/25/2020
5.0.0-preview.5.20278.1 43,060 6/10/2020
5.0.0-preview.4.20251.6 268,813 5/18/2020
5.0.0-preview.3.20215.2 148,400 4/23/2020
5.0.0-preview.2.20160.3 141,657 4/2/2020
5.0.0-preview.1.20120.4 120,691 3/16/2020
3.1.14 384,848 4/6/2021
3.1.13 949,201 3/9/2021
3.1.12 1,410,032 2/9/2021
3.1.11 2,244,317 1/12/2021
3.1.10 5,566,383 11/9/2020
3.1.9 8,846,461 10/13/2020
3.1.8 13,212,412 9/8/2020
3.1.7 10,148,759 8/11/2020
3.1.6 11,113,945 7/14/2020
3.1.5 14,459,487 6/9/2020
3.1.4 14,264,345 5/12/2020
3.1.3 24,860,942 3/24/2020
3.1.2 25,815,948 2/18/2020
3.1.1 15,990,948 1/14/2020
3.1.0 22,118,642 12/3/2019
3.1.0-preview3.19553.2 392,067 11/13/2019
3.1.0-preview2.19525.4 89,971 11/1/2019
3.1.0-preview1.19506.1 562,145 10/15/2019
3.0.3 2,064,079 2/18/2020
3.0.2 895,742 1/14/2020
3.0.1 2,978,287 11/18/2019
3.0.0 40,915,945 9/23/2019
3.0.0-rc1.19456.10 96,884 9/16/2019
3.0.0-preview9.19423.4 848,354 9/4/2019
3.0.0-preview8.19405.4 236,419 8/13/2019
3.0.0-preview7.19362.4 145,803 7/23/2019
3.0.0-preview6.19304.6 251,674 6/12/2019
3.0.0-preview5.19227.9 256,948 5/6/2019
3.0.0-preview4.19216.2 38,448 4/18/2019
3.0.0-preview3.19153.1 213,080 3/6/2019
3.0.0-preview.19074.2 81,099 1/29/2019
3.0.0-preview.18572.1 110,655 12/4/2018
2.2.0 81,956,758 12/3/2018
2.2.0-preview3-35497 392,508 10/17/2018
2.2.0-preview2-35157 338,197 9/12/2018
2.2.0-preview1-35029 145,984 8/22/2018
2.1.1 54,232,068 6/18/2018
2.1.0 86,246,182 5/29/2018
2.1.0-rc1-final 326,094 5/6/2018
2.1.0-preview2-final 342,540 4/10/2018
2.1.0-preview1-final 480,312 2/26/2018
2.0.2 10,684,065 5/7/2018
2.0.1 20,492,856 3/13/2018
2.0.0 126,270,402 8/11/2017
2.0.0-preview2-final 179,822 6/28/2017
2.0.0-preview1-final 861,664 5/10/2017
1.1.2 12,548,528 5/9/2017
1.1.1 8,882,732 3/6/2017
1.1.0 7,630,456 11/16/2016
1.1.0-preview1-final 230,823 10/24/2016
1.0.2 71,433,738 3/6/2017
1.0.1 3,472,257 12/12/2016
1.0.0 54,937,080 6/27/2016
1.0.0-rc2-final 1,825,879 5/16/2016