ASP.NET Core structured logging – part 2: the infrastructure

Hi and welcome back to the second episode of the Structured Logging with ASP.NET Series! Last time we saw what’s the difference between standard and structured logging. This time instead we’ll start moving away from the theory and see how to setup the infrastructure to host our log entries. Let’s be honest here, logging to […]

Categories: .NET, ASP.NET, Docker, Microservices

Write integration tests on MongoDB with .NET Core and Docker

Hi All! In this post, we’re going to explore a simple but effective way to write integration tests on MongoDB using .NET Core and Docker. A while ago I wrote a small series about Unit Testing on MongoDB. A lot has changed since then and I also received few requests to add more details. To […]

Categories: .NET, Docker, MongoDB, Programming, Testing

Event Sourcing in .NET Core – part 2: storing events

And here we are for the second part of the Event Sourcing series. Last time we introduced the main idea and some of its benefits. This time we’ll see how we can start storing events in our system. As usual, I have prepared a small demo, modeled around the banking example I depicted in part […]

Categories: .NET, ASP.NET, Design Patterns, Docker, Microservices, MongoDB, Programming, Software Architecture

Health checks with ASP.NET Core and Kubernetes

Health checks are a fundamental part of our APIs. I guess they fall in that category of “non-functional-but-heavily-required” things. More or less like a good part of the infrastructure code. They don’t add business value per se but have an enormous impact for IT people. More or less like DDD and Design Patterns. You can […]

Categories: ASP.NET, Docker, Kubernetes, Microservices, NuGet, Programming

© 2020 David Guida

Theme by Anders NorenUp ↑