© 2026 Hashnode
Many .NET developers face a confusing issue: Logging to file works perfectly in Development,but no log file is created in Production. This problem appears so often that it’s easy to think it’s a bug in .NET or ILogger.In reality, it’s a misundersta...

You can’t fix what you can’t see. That’s why error handling and structured logging are critical in production ASP.NET Core apps. In this article, we’ll integrate Serilog, handle errors globally, and capture logs like a pro. 🔧 Why Serilog? Serilog i...

Logging isn’t just about writing messages—it’s about visibility, control, and confidence in production. In this guide, I’ll walk through how to use Serilog’s runtime features to elevate your logging strategy: from dynamic log level control to auto-el...

In this article, I'll show you how I connected a .NET app to Elasticsearch and Kibana using Docker Compose. Please follow the steps listed below to create the demo yourself. Docker Configuration Create a docker-compose.yml file. We want our service...
