Microsoft.Extensions.Options 5.0.0

.NET 5.0 .NET Standard 2.0 .NET Framework 4.6.1

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.

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (38)

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

Package Downloads
Microsoft.Extensions.Localization

Application localization services and default implementation based on ResourceManager to load localized assembly resources. This package was built from the source code at https://github.com/aspnet/Localization/tree/de1579bdda645ba8631403af8720929b76939853

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/aspnet/Security/tree/93926543f8469614c2feb23de8a8c0561b8b2463

Microsoft.AspNetCore.Rewrite

ASP.NET Core basic middleware for rewriting URLs. Includes: * Support for custom URL rewrite rules * Support for running IIS URL Rewrite module rules * Support for running Apache mod_rewrite rules. This package was built from the source code at https://github.com/aspnet/BasicMiddleware/tree/2d3ad1cb0f9872da40c6d143ce4554563971ae04

Microsoft.AspNetCore.HttpOverrides

ASP.NET Core basic middleware for supporting HTTP method overrides. Includes: * X-Forwarded-* headers to forward headers from a proxy. * HTTP method override header. This package was built from the source code at https://github.com/aspnet/BasicMiddleware/tree/2d3ad1cb0f9872da40c6d143ce4554563971ae04

Microsoft.AspNetCore.HttpsPolicy

ASP.NET Core basic middleware for supporting HTTPS Redirection and HTTP Strict-Transport-Security. This package was built from the source code at https://github.com/aspnet/BasicMiddleware/tree/2d3ad1cb0f9872da40c6d143ce4554563971ae04

Version Downloads Last updated
5.0.0 0 06.02.2022
2.2.0 0 06.02.2022
2.1.1 0 06.02.2022
2.0.2 0 06.02.2022
2.0.1 0 06.02.2022
2.0.0 0 06.02.2022
1.0.0 0 06.02.2022