Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2026

dotnet

A collection of 48 posts

dotnet

Migrate your database with Entity Framework Core using a separate application

Migrate your database using a dedicated application that's responsible for migrating, seeding and clearing your database.

3 years ago November 20th, 2023 5 min read
Testing your Polly policies
httpclient

Testing your Polly policies

Polly enables you to configure policies to handle different error scenarios when sending http requests. I show you how you can test these policies.

3 years ago October 31st, 2023 3 min read
dotnet

EF Core - Add a test to ensure that you don't forget to add new migrations

Add a test that reminds you to create migrations (if you've forgotten).

3 years ago July 14th, 2023 2 min read
dotnet

Prefix your http requests without touching the actual HttpClient code

Prefix your http calls without modifying the actual HttpClient code using a custom DelegatingHandler

3 years ago December 21st, 2022 3 min read
Testing your ASP.NET Core application - using a real database
dotnet

Testing your ASP.NET Core application - using a real database

Second post in my "testing your dotnet application" series. This post will focus on using a real database when testing our application

4 years ago November 27th, 2022 5 min read
Subscribe via RSS
© Josef Ottosson 2026