Install
.NET CLI
dotnet add package Serilog.AspNetCore --version 3.1.0
Package Manager Console
Install-Package Serilog.AspNetCore -Version 3.1.0
PackageReference
<PackageReference Include="Serilog.AspNetCore" Version="3.1.0" />
Frameworks
Dependencies
Microsoft.AspNetCore.Hosting.Abstractions
[2.0.0, )
.NETStandard2.0
Microsoft.Extensions.DependencyInjection
[2.0.0, )
.NETStandard2.0
Microsoft.Extensions.Logging
[2.0.0, )
.NETStandard2.0
Serilog
[2.8.0, )
.NETStandard2.0
Serilog.Extensions.Hosting
[3.0.0, )
.NETStandard2.0
Serilog.Formatting.Compact
[1.0.0, )
.NETStandard2.0
Serilog.Settings.Configuration
[3.1.0, )
.NETStandard2.0
Serilog.Sinks.Console
[3.1.1, )
.NETStandard2.0
Serilog.Sinks.Debug
[1.0.1, )
.NETStandard2.0
Serilog.Sinks.File
[4.0.0, )
.NETStandard2.0
Adoption guide
Teams that need rich structured event properties and deliberate control over log destinations.
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 1 target framework; confirm the exact target used by your application.
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.