This post acts as an index of the various ASP.NET Core anatomy posts I have written. Each of these deeps dives into the ASP.NET Core code base to understand how the internals work. Part 1 – What happens when the AddMvcCore extension is called? Part 2 – What happens when the AddMvc extension is called? […]
Month: January 2018
ASP.NET Core Gotchas – No. 4 Value cannot be null. Parameter name: connectionString when running dotnet ef migrations add
I was upgrading a quite mature ASP.NET Core 1.0 project to ASP.NET Core 2.0 today and ran into an odd issue which took me a good half hour to track down. After working my way through the various breaking changes to things such as authorisation I was pretty much at the point where my project […]
HttpClientFactory in ASP.NET Core 2.1 (Part 2) Defining Named and Typed Clients
In my last post – An introduction to HttpClientFactory – I explained some of the reasons behind the creation of the feature. We looked at what problems it helps solve and then followed a very basic example showing how it can be used in a WebAPI application. In this post I want to dive into […]
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 […]
Humanitarian Toolbox Codeathon .NET South East - Coding for the Greater Good
On Saturday (20th January) we held a special .NET South East event, spending the day ‘coding for the greater good’ on the Humanitarian Toolbox allReady project. We were very excited to be joined by Richard Campbell, one of the co-founders of Humanitarian Toolbox and co-host of the popular .NET Rocks Podcast. A team of 19 […]