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 […]
Category: ASP.NET Core
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 […]
Producing my First ASP.NET Video How I recorded ASP.NET Core 2.0 - Exploring Application Startup
This weekend I published my first ever technical video on YouTube. It’s a short 8 minute introduction which explains how an ASP.NET Core 2.0 web application starts up. Specifically I chose to explore the contents of the Program class, digging into the IWebHostBuilder. It’s designed primarily for beginners to ASP.NET Core, but hopefully it will […]
ASP.NET Core Gotchas – No. 3 Why don't my hyperlinks work on my Razor Pages in ASP.NET Core 2.0?
Recently I decided to take Razor Pages, a new feature in ASP.NET Core 2.0, out for a spin. I’ll be blogging about that experience and how I migrated some basic views of an existing application over to Razor Pages in a future post. In this blog post I wanted to concentrate on a simple gotcha […]