Microsoft.Extensions.Options
2.1.0
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Extensions.Options --version 2.1.0
NuGet\Install-Package Microsoft.Extensions.Options -Version 2.1.0
<PackageReference Include="Microsoft.Extensions.Options" Version="2.1.0" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Options" />
paket add Microsoft.Extensions.Options --version 2.1.0
#r "nuget: Microsoft.Extensions.Options, 2.1.0"
#:package Microsoft.Extensions.Options@2.1.0
#addin nuget:?package=Microsoft.Extensions.Options&version=2.1.0
#tool nuget:?package=Microsoft.Extensions.Options&version=2.1.0
Provides a strongly typed way of specifying and accessing settings using dependency injection.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Primitives (>= 2.1.0)
NuGet packages (9.4K)
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.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.Extensions.Http
The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way. Commonly Used Types: System.Net.Http.IHttpClientFactory |
|
|
Microsoft.AspNetCore.Http
ASP.NET Core default HTTP feature implementations. |
GitHub repositories (451)
Showing the top 20 popular GitHub repositories that depend on Microsoft.Extensions.Options:
| Repository | Stars |
|---|---|
|
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
|
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
|
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
|
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
|
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
|
dotnet/eShop
A reference .NET application implementing an eCommerce site
|
|
|
LuckyPennySoftware/AutoMapper
A convention-based object-object mapper in .NET.
|
|
|
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
|
|
|
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
|
|
|
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
|
|
|
MassTransit/MassTransit
Distributed Application Framework for .NET
|
|
|
elsa-workflows/elsa-core
The Workflow Engine for .NET
|
|
|
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
|
|
|
quartznet/quartznet
Quartz Enterprise Scheduler .NET
|
|
|
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
|
|
|
graphql-dotnet/graphql-dotnet
GraphQL for .NET
|
|
|
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.2.26159.112 | 35,559 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 44,070 | 2/10/2026 |
| 10.0.5 | 8,415,520 | 3/12/2026 |
| 10.0.4 | 2,758,235 | 3/10/2026 |
| 10.0.3 | 16,286,564 | 2/10/2026 |
| 10.0.2 | 18,100,300 | 1/13/2026 |
| 10.0.1 | 18,233,866 | 12/9/2025 |
| 10.0.0 | 46,397,523 | 11/11/2025 |
| 10.0.0-rc.2.25502.107 | 873,031 | 10/14/2025 |
| 10.0.0-rc.1.25451.107 | 595,927 | 9/9/2025 |
| 10.0.0-preview.7.25380.108 | 193,758 | 8/12/2025 |
| 10.0.0-preview.6.25358.103 | 175,946 | 7/15/2025 |
| 9.0.14 | 1,243,063 | 3/10/2026 |
| 9.0.13 | 2,493,100 | 2/10/2026 |
| 9.0.12 | 3,119,455 | 1/13/2026 |
| 9.0.11 | 14,808,340 | 11/11/2025 |
| 9.0.10 | 24,418,433 | 10/14/2025 |
| 9.0.9 | 29,973,568 | 9/9/2025 |
| 9.0.8 | 29,082,706 | 8/4/2025 |
| 2.1.0 | 572,805,027 | 5/29/2018 |