Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2026

asp.net core

A collection of 27 posts

asp.net core

JOS.Enumeration - Minimal API support

Binding enumerations in ASP.NET Core Minimal APIs using TryParse and BindAsync methods for parameter binding.

a year ago July 19th, 2025 2 min read
tips and tricks

Don't reinvent the wheel - configuration

Avoid creating custom environment helpers - use the built-in functionality instead.

a year ago June 7th, 2025 2 min read
asp.net core

Stream files from Postgres - dotnet core

Streaming files from a database without allocating like crazy? Let's see how we can stream files from Postgres with dotnet core and npgsql.

a year ago February 21st, 2025 5 min read
asp.net core

Don't let ASP.NET Core set empty strings to null when posting forms

This post highlights how ASP.NET Core converts empty strings to null in form submissions and demonstrates how to prevent this behavior.

2 years ago November 28th, 2024 2 min read
asp.net core

Append correlation id to all log entries in ASP.NET Core

The ASP.NET Core logging provider finally has built-in support for enriching logs. I show you how to append a correlation id to all your log entries.

2 years ago April 26th, 2024 3 min read
Subscribe via RSS
© Josef Ottosson 2026