Minimal Api in .NET 6 Out Of Process Azure Functions

Can you write a “Minimal Api” using Azure Functions in .NET 6.0? Let’s take a look!

September 7, 2021 · 10 min

Razor Pages Scaffolding Submit with Error 400

Having an issue with submitting scaffolded razor pages on localhost?

August 10, 2021 · 2 min

Default .NET 5.0 WeatherForecastController as an Azure Function

Looking into what it would take to implement the default aspnet web api template WeatherForecastController as an Azure Function.

February 23, 2021 · 4 min

Integration Testing with ASP.NET Core 3.1 - Set Default Headers for All Clients

Set up a custom WebApplicationFactory to always add specific headers to the generated HttpClient

October 20, 2020 · 4 min

Using Project Tye to Run Dependent Services for use with ASP.NET Core

Needed to spin up a dependency such as Redis locally but it’s too involved using Docker or the alternatives aren’t good enough? Let’s explore how to harness the power of Docker but keeping the friction low.

September 8, 2020 · 7 min

Using Dotnet CLI To Setup ASP.NET CORE Solution And Run With Tye

Setting up a new solution purely on the command line and getting them to run with Project Tye

September 1, 2020 · 5 min

Optional Dependencies with Autofac

Ever wanted to define a dependency as optional and only be loaded depending on consumption of your service?

June 30, 2020 · 6 min

Inject JsonSerializerOptions so Don't Repeat Yourself

How many times do you create a private options variable when using json serializer and end up with duplicate code? Let’s take a look at one option to help resolve this.

March 31, 2020 · 2 min

Integration Testing with ASP.NET Core 3.1 - Swapping a Dependency with Moq

Investigating how to write integration tests while swapping out dependencies with mocked instances using Moq

December 23, 2019 · 5 min

Integration Testing with ASP.NET Core 3.1 - Remove the Boiler Plate

Writing integration tests for your application while keeping your tests as DRY as possible by removing the boiler plate code

December 16, 2019 · 5 min