Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2026

Josef Ottosson

114 posts
postgres

Gotcha when using Postgres, NodaTime, Ef Core and Dapper

We had a really annoying bug regarding NodaTime and Dapper. Our integration tests worked but not when calling the API via Postman...

4 years ago March 23rd, 2022 2 min read
c-sharp

Using embedded files in dotnet core

Two different implementations for reading embedded resources in c-sharp

4 years ago March 6th, 2022 3 min read
How to test configuration of HttpClient when using AddHttpClient
httpclient

How to test configuration of HttpClient when using AddHttpClient

Shows how to test the code written inside the AddHttpClient extension method

5 years ago January 16th, 2022 4 min read
httpclient

HttpClient - DelegatingHandler - Correlation Id

Shows two different ways of forwarding correlation ids when using HttpClient in dotnet core

5 years ago December 23rd, 2021 3 min read
Beware of potential XSS injections when using ProblemDetails in ASP.NET Core
asp.net core

Beware of potential XSS injections when using ProblemDetails in ASP.NET Core

The default behaviour of ProblemDetails in ASP.NET Core does not escape the user input, this can lead to XSS injections

5 years ago November 7th, 2021 6 min read
Subscribe via RSS
© Josef Ottosson 2026