Microsoft.Extensions.Diagnostics 10.0.1

Prefix Reserved
dotnet add package Microsoft.Extensions.Diagnostics --version 10.0.1
                    
NuGet\Install-Package Microsoft.Extensions.Diagnostics -Version 10.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Extensions.Diagnostics" Version="10.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Diagnostics" Version="10.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Diagnostics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Extensions.Diagnostics --version 10.0.1
                    
#r "nuget: Microsoft.Extensions.Diagnostics, 10.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Extensions.Diagnostics@10.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Extensions.Diagnostics&version=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Diagnostics&version=10.0.1
                    
Install as a Cake Tool

This package includes the default implementation of IMeterFactory and additional extension methods to easily register it with the Dependency Injection framework.

Product 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 is compatible.  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 is compatible.  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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (56)

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

Package Downloads
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.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/dotnet/tree/fad253f51b461736dfd3cd9c15977bb7493becef

Microsoft.Extensions.Hosting

Hosting and startup infrastructures for applications.

Microsoft.Extensions.Identity.Core

ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. This package was built from the source code at https://github.com/dotnet/dotnet/tree/fad253f51b461736dfd3cd9c15977bb7493becef

NServiceBus

Build, version, and monitor better microservices with the most powerful service platform for .NET

GitHub repositories (10)

Showing the top 10 popular GitHub repositories that depend on Microsoft.Extensions.Diagnostics:

Repository Stars
MassTransit/MassTransit
Distributed Application Framework for .NET
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
Particular/NServiceBus
The gold standard for async .NET microservices on Azure, AWS and on-prem
MarimerLLC/csla
A home for your business logic in any .NET application.
yourtablecloth/TableCloth
식탁보 프로젝트
fagenorn/handcrafted-persona-engine
An AI-powered interactive avatar engine using Live2D, LLM, ASR, TTS, and RVC. Ideal for VTubing, streaming, and virtual assistant applications.
NikiforovAll/keycloak-authorization-services-dotnet
Authentication and Authorization with Keycloak and ASP.NET Core 🔐
pdfforge/PDFCreator
PDFCreator - The free PDF Converter
Cysharp/LogicLooper
A library for building server application using loop-action programming model on .NET.
Jericho/StrongGrid
Strongly typed library for the entire SendGrid v3 API, including webhooks
Version Downloads Last Updated
10.0.1 99,497 12/9/2025
10.0.0 3,160,304 11/11/2025
10.0.0-rc.2.25502.107 174,994 10/14/2025
10.0.0-rc.1.25451.107 214,252 9/9/2025
10.0.0-preview.7.25380.108 73,018 8/12/2025
10.0.0-preview.6.25358.103 66,554 7/15/2025
10.0.0-preview.5.25277.114 70,703 6/6/2025
10.0.0-preview.4.25258.110 60,391 5/12/2025
10.0.0-preview.3.25171.5 73,606 4/10/2025
10.0.0-preview.2.25163.2 47,076 3/18/2025
10.0.0-preview.1.25080.5 148,900 2/25/2025
9.0.11 1,192,934 11/11/2025
9.0.10 6,320,558 10/14/2025
9.0.9 9,482,917 9/9/2025
9.0.8 9,918,891 8/4/2025
9.0.7 8,383,129 7/8/2025
9.0.6 9,334,338 6/10/2025
9.0.5 10,748,222 5/13/2025
9.0.4 14,475,308 4/8/2025
9.0.3 11,513,758 3/11/2025
9.0.2 13,430,566 2/11/2025
9.0.1 12,081,004 1/14/2025
9.0.0 37,668,168 11/12/2024
9.0.0-rc.2.24473.5 329,415 10/8/2024
9.0.0-rc.1.24431.7 181,736 9/10/2024
9.0.0-preview.7.24405.7 85,849 8/13/2024
9.0.0-preview.6.24327.7 74,810 7/9/2024
9.0.0-preview.5.24306.7 89,227 6/11/2024
9.0.0-preview.4.24266.19 64,305 5/21/2024
9.0.0-preview.3.24172.9 156,123 4/11/2024
9.0.0-preview.2.24128.5 60,810 3/12/2024
9.0.0-preview.1.24080.9 78,834 2/13/2024
8.0.1 136,629,508 10/8/2024
8.0.0 248,270,017 11/14/2023
8.0.0-rc.2.23479.6 506,444 10/10/2023
8.0.0-rc.1.23419.4 325,739 9/12/2023
8.0.0-preview.7.23375.6 1,761 8/8/2023
8.0.0-preview.6.23329.7 1,056 7/11/2023
8.0.0-preview.5.23280.8 678 6/13/2023