Serilog Best Practices for Production .NET Applications
Production-ready Serilog best practices for .NET: async sinks, minimum level tuning, avoiding PII in logs, structured templates, correlation IDs, and performance tips.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 31–36 of 264 articles
Production-ready Serilog best practices for .NET: async sinks, minimum level tuning, avoiding PII in logs, structured templates, correlation IDs, and performance tips.
Master DiagnosticDescriptor C# configuration -- rule IDs, severity levels, .editorconfig overrides, and diagnostic messages for your Roslyn analyzers.
Serilog vs Microsoft.Extensions.Logging: understand the difference between an abstraction and a provider, when MEL is enough, and when Serilog adds real value in .NET.
Learn to package and distribute your roslyn analyzer nuget package with the right folder structure, metadata, versioning, and CI/CD automation in .NET 10.
Build roslyn analyzer c# from scratch -- complete project setup, DiagnosticAnalyzer scaffold, CodeFixProvider implementation, debugging, and unit tests.
Learn how to configure nuget sourcelink and symbol packages for your .NET library. Enable step-through debugging with embedded PDBs or .snupkg on NuGet.org.