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 […]
Month: December 2017
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 […]
ASP.NET Core Gotchas – No. 2 Why are settings from launchSettings.json now picked up when using dotnet run?
Following on from my first gotcha that we hit yesterday, here is another one which caught us out at the same time. TL:DR; When using dotnet run (.NET Core 2.0), expect it to set some properties (including the port and environment) from launchSettings.json if it’s included in the Properties folder! The issue we faced was […]
ASP.NET Core Gotchas – No. 1 Why aren't my Environment Variables loaded into ASP.NET Core 2.0 configuration on Linux?
We’ve been using ASP.NET Core 1.0 for some time as part of a microservices architecture we’ve developed. We run the services in production as Docker containers on Amazon ECS. We recently created a new API based on ASP.NET Core 2.0 and ran into some issues with configuration. The first of the two issues we encountered […]