Back in May 2017 I blogged about creating a simple library which supports passing correlation IDs between ASP.NET Core micro-services. The library came about because of a basic requirement we had at work to pass an identifier between related services to enable more useful error logging. By passing an identifier from the first service, through […]
Tag: microservices
HttpClientFactory in ASP.NET Core 2.1 (Part 1) An Introduction to HttpClientFactory
TL;DR; A new HttpClientFactory feature is coming in ASP.NET Core 2.1 which helps to solve some common problems that developers may run into when using HttpClient instances to make external web requests from their applications. Introduction This blog post has been in the works since mid-October 2017, which was when I first noticed the new […]
Docker for .NET Developers (Part 3) Why we started using Docker with ASP.NET Core
In the prior two posts in this series we took a look at the main Docker terminology and looked at creating a basic dockerfile to define a Docker image containing an ASP.NET Core API application. In this post I want to switch it up a bit and spend a little time sharing a specific practical reason that […]
Docker for .NET Developers (Part 1) An introduction to Docker for .NET developers
Two words you will very likely be used to hearing quite often within our community at the moment are “microservices” and “Docker”. Both are topics of great interest and are generating excitement for developers and architects. In this new series of blog posts I want to cover Docker, what it is, why it might be […]
ASP.NET Core Correlation IDs Writing a basic middleware library to enable correlation IDs on ASP.NET Core
On a recent project we needed to implement the concept of correlation IDs across some ASP.NET Core API services. In our scenario we have an API service called from a front end JavaScript application which will then call one or more secondary back end API services to gather data. This is becoming a pretty common […]