Skip to main content
Serilog.AspNetCore package icon

Serilog.AspNetCore

Serilog support for ASP.NET Core logging

Total Downloads
757.1M
757,148,129
Published
Nov 28, 2025
Latest stable version

Install

.NET CLI
dotnet add package Serilog.AspNetCore --version 10.0.0
Package Manager Console
Install-Package Serilog.AspNetCore -Version 10.0.0
PackageReference
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 net10.0 .NETStandard2.0 .NETStandard2.1

Dependencies

[2.3.0, )
[2.3.0, )
Serilog
.NETFramework4.6.2
[4.3.0, )
Serilog.Extensions.Hosting
.NETFramework4.6.2
[10.0.0, )
Serilog.Formatting.Compact
.NETFramework4.6.2
[3.0.0, )
[10.0.0, )
Serilog.Sinks.Console
.NETFramework4.6.2
[6.1.1, )
Serilog.Sinks.Debug
.NETFramework4.6.2
[3.0.0, )
Serilog.Sinks.File
.NETFramework4.6.2
[7.0.0, )
Serilog
net8.0
[4.3.0, )
[6.1.1, )
[3.0.0, )
[7.0.0, )
Serilog
net9.0
[4.3.0, )
[6.1.1, )
[3.0.0, )
[7.0.0, )
Serilog
net10.0
[4.3.0, )

Adoption guide

Teams that need rich structured event properties and deliberate control over log destinations.

Logging guide
Why it appears in the guide: Serilog integration for ASP.NET Core, centred on structured events and a large sink ecosystem. Trade-off: The desired sinks and configuration need to be selected and operated explicitly.

Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.

The published metadata declares 48 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.