System.Diagnostics.DiagnosticSource 4.0.0

Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools)

Commonly Used Types:

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.6 or higher.

Install-Package System.Diagnostics.DiagnosticSource -Version 4.0.0
dotnet add package System.Diagnostics.DiagnosticSource --version 4.0.0
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Diagnostics.DiagnosticSource --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Diagnostics.DiagnosticSource, 4.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 System.Diagnostics.DiagnosticSource as a Cake Addin
#addin nuget:?package=System.Diagnostics.DiagnosticSource&version=4.0.0

// Install System.Diagnostics.DiagnosticSource as a Cake Tool
#tool nuget:?package=System.Diagnostics.DiagnosticSource&version=4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

NuGet packages (379)

Showing the top 5 NuGet packages that depend on System.Diagnostics.DiagnosticSource:

Package Downloads
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
Provides a programming interface for modern HTTP applications, including HTTP client components that allow applications to consume web services over HTTP and HTTP components that can be used by both clients and servers for parsing HTTP headers. Commonly Used Types: System.Net.Http.HttpResponseMessage System.Net.Http.DelegatingHandler System.Net.Http.HttpRequestException System.Net.Http.HttpClient System.Net.Http.MultipartContent System.Net.Http.Headers.HttpContentHeaders System.Net.Http.HttpClientHandler System.Net.Http.StreamContent System.Net.Http.FormUrlEncodedContent System.Net.Http.HttpMessageHandler When using NuGet 3.x this package requires at least version 3.4.
ASP.NET Core MVC core components. Contains common action result types, attribute routing, application model conventions, API explorer, application parts, filters, formatters, model binding, and more. Commonly used types: Microsoft.AspNetCore.Mvc.AreaAttribute Microsoft.AspNetCore.Mvc.BindAttribute Microsoft.AspNetCore.Mvc.ControllerBase Microsoft.AspNetCore.Mvc.FromBodyAttribute Microsoft.AspNetCore.Mvc.FromFormAttribute Microsoft.AspNetCore.Mvc.RequireHttpsAttribute Microsoft.AspNetCore.Mvc.RouteAttribute This package was built from the source code at
Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API. Commonly Used Types: Microsoft.EntityFrameworkCore.DbContext Microsoft.EntityFrameworkCore.DbSet
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server and encapsulate database-specific protocols, including tabular data stream (TDS) Commonly Used Types: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.

GitHub repositories (210)

Showing the top 5 popular GitHub repositories that depend on System.Diagnostics.DiagnosticSource:

Repository Stars
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
Orleans is a cross-platform framework for building distributed applications with .NET
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all

Version History

Version Downloads Last updated
6.0.0-preview.3.21201.4 19,505 4/8/2021
6.0.0-preview.2.21154.6 26,920 3/11/2021
6.0.0-preview.1.21102.12 42,905 2/12/2021
5.0.1 5,934,145 1/12/2021
5.0.0 15,150,803 11/9/2020
5.0.0-rc.2.20475.5 313,916 10/13/2020
5.0.0-rc.1.20451.14 365,640 9/14/2020
5.0.0-preview.8.20407.11 119,916 8/25/2020
5.0.0-preview.7.20364.11 191,526 7/21/2020
5.0.0-preview.6.20305.6 50,250 6/25/2020
5.0.0-preview.5.20278.1 1,530 6/10/2020
5.0.0-preview.4.20251.6 10,454 5/18/2020
5.0.0-preview.3.20214.6 85,846 4/23/2020
5.0.0-preview.2.20160.6 54,921 4/2/2020
5.0.0-preview.1.20120.5 8,468 3/16/2020
4.7.1 33,834,505 5/12/2020
4.7.0 48,365,114 12/3/2019
4.7.0-preview3.19551.4 84,785 11/13/2019
4.7.0-preview2.19523.17 35,750 11/1/2019
4.7.0-preview1.19504.10 342,213 10/15/2019
4.6.0 60,749,472 9/23/2019
4.6.0-rc1.19456.4 66,268 9/16/2019
4.6.0-preview9.19421.4 692,571 9/4/2019
4.6.0-preview9.19416.11 612 9/4/2019
4.6.0-preview8.19405.3 154,114 8/13/2019
4.6.0-preview7.19362.9 187,315 7/23/2019
4.6.0-preview6.19303.8 153,336 6/12/2019
4.6.0-preview6.19264.9 664 9/4/2019
4.6.0-preview5.19224.8 188,229 5/6/2019
4.6.0-preview4.19212.13 108,951 4/18/2019
4.6.0-preview3.19128.7 171,771 3/6/2019
4.6.0-preview.19073.11 74,193 1/29/2019
4.6.0-preview.18571.3 92,850 12/3/2018
4.5.1 81,275,866 10/1/2018
4.5.0 68,500,555 5/29/2018
4.5.0-rc1 250,229 5/6/2018
4.5.0-preview2-26406-04 252,577 4/10/2018
4.5.0-preview1-26216-02 355,028 2/26/2018
4.4.1 82,971,931 8/11/2017
4.4.0 15,926,495 6/28/2017
4.4.0-preview2-25405-01 218,579 6/14/2017
4.4.0-preview2-25330-01 55,194 5/31/2017
4.4.0-preview1-25305-02 55,430 5/9/2017
4.4.0-preview1-25214-03 221,846 4/14/2017
4.3.1 20,583,964 5/9/2017
4.3.0 134,426,462 11/15/2016
4.3.0-preview1-24530-04 171,768 10/24/2016
4.0.0 83,974,479 6/27/2016
4.0.0-rc2-24027 6,395,291 5/16/2016
4.0.0-beta-23516 623,282 11/18/2015
Show less