Microsoft.Extensions.Options
2.1.0-preview2-final
Prefix Reserved
This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217
See the version list below for details.
dotnet add package Microsoft.Extensions.Options --version 2.1.0-preview2-final
NuGet\Install-Package Microsoft.Extensions.Options -Version 2.1.0-preview2-final
<PackageReference Include="Microsoft.Extensions.Options" Version="2.1.0-preview2-final" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="2.1.0-preview2-final" />
<PackageReference Include="Microsoft.Extensions.Options" />
paket add Microsoft.Extensions.Options --version 2.1.0-preview2-final
#r "nuget: Microsoft.Extensions.Options, 2.1.0-preview2-final"
#:package Microsoft.Extensions.Options@2.1.0-preview2-final
#addin nuget:?package=Microsoft.Extensions.Options&version=2.1.0-preview2-final&prerelease
#tool nuget:?package=Microsoft.Extensions.Options&version=2.1.0-preview2-final&prerelease
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-preview2-final)
- Microsoft.Extensions.Primitives (>= 2.1.0-preview2-final)
NuGet packages (9.2K)
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.AspNetCore.Http
ASP.NET Core default HTTP feature implementations. |
|
|
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 |
GitHub repositories (450)
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 | 13,964 | 3/10/2026 | |
| 11.0.0-preview.1.26104.118 | 37,125 | 2/10/2026 | |
| 10.0.5 | 2,985,553 | 3/12/2026 | |
| 10.0.4 | 1,402,225 | 3/10/2026 | |
| 10.0.3 | 12,016,502 | 2/10/2026 | |
| 10.0.2 | 15,191,035 | 1/13/2026 | |
| 10.0.1 | 15,940,820 | 12/9/2025 | |
| 10.0.0 | 38,479,766 | 11/11/2025 | |
| 10.0.0-rc.2.25502.107 | 848,308 | 10/14/2025 | |
| 10.0.0-rc.1.25451.107 | 572,809 | 9/9/2025 | |
| 10.0.0-preview.7.25380.108 | 187,669 | 8/12/2025 | |
| 10.0.0-preview.6.25358.103 | 169,714 | 7/15/2025 | |
| 9.0.14 | 535,869 | 3/10/2026 | |
| 9.0.13 | 1,749,885 | 2/10/2026 | |
| 9.0.12 | 2,806,291 | 1/13/2026 | |
| 9.0.11 | 13,140,694 | 11/11/2025 | |
| 9.0.10 | 22,949,629 | 10/14/2025 | |
| 9.0.9 | 28,314,571 | 9/9/2025 | |
| 9.0.8 | 27,739,206 | 8/4/2025 | |
| 2.1.0-preview2-final | 1,007,504 | 4/10/2018 |