Serilog Enrichers: Adding Context to Every Log Entry
Master Serilog enrichers in .NET: add machine name, thread ID, correlation IDs, and custom properties to every log entry automatically. Complete C# guide.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 37–42 of 264 articles
Master Serilog enrichers in .NET: add machine name, thread ID, correlation IDs, and custom properties to every log entry automatically. Complete C# guide.
Learn what roslyn analyzers are, how they work in the .NET 10 compiler pipeline, why teams build custom diagnostics, and how to write your first rule in C#.
Learn how to test nuget package locally before publishing -- set up a local feed, pack to it, consume from a test project, and inspect your .nupkg file.
Automate NuGet package publishing with GitHub Actions. Learn how to build, pack, and push your .NET package to NuGet.org on every tagged release using a complete workflow YAML.
Master Serilog sinks in .NET: console, file, Seq, async, and production sinks. Learn to configure multiple output destinations with filtering and formatting.
Learn how to multi-target NuGet packages in .NET using TargetFrameworks. Support .NET 6, .NET 8, and .NET Standard 2.0 in a single package with conditional compilation.