Latest Posts
-
Web API Updates with .NET 8
Preview 3 of .NET 8 includes a new project templates to create an API with a todo service instead of the weather forecast . Looking into the generated code of this template, there are a lot more changes going on… Continue reading
-
Converting Strings to .NET Objects – IParsable and ISpanParsable
A new feature of C# 11 allows abstract static members with interfaces. This makes it possible to define class methods to be used as a contract with a generic class implementation, e.g. using + and – operators. With .NET 7,… Continue reading
-
Primary Constructors with C#
To reduce the syntax needed when writing C# code, C# 9 added records with primary constructors. C# 10 then added records for structs. Using C# 12 you can create classes with primary constructors. This article explains the *primary constructor* syntax… Continue reading
-
Calling Web APIs using the dotnet CLI and HTTP Files with Visual Studio
Visual Studio 2022 17.5 includes new HTTP client tooling. This tool makes it easy to create API calls directly from Visual Studio, with a great output of the API results. It’s easy to directly debug API invocations with this tool.… Continue reading
-
System.Text.Json Serializing Hierarchical Data
The System.Text.Json serializer that was introduced with .NET Core 3.0 gets new features with every new .NET version. With .NET 7, features such as type hieararchies, contract customization, and source generator features have been added. This article shows using the… Continue reading
-
EF Core Mapping with TpH, Generic Types and Value Conversion
EF Core has powerful options to map your domain model to a relational database. In this article, I’ll show you how to use the Fluent API to configure a hierarchy of generic classes to map to a single table, and… Continue reading
-
What’s the SynchronizationContext used for?
Creating Windows applications, UI controls are bound to the UI thread. .NET made it to different iterations with different patterns dealing with asynchronous programming. .NET 4.0 introduced the Task Parallel Library (TPL) and C# 5 added the async and await… Continue reading
-
No more Dockerfiles with the help of .NET CLI
This article shows how to use dotnet publish to create a Docker image without using a Dockerfile – including deployment with GitHub Actions. Continue reading
-
Using MySQL in a Docker container with EF Core
Running MySQL in a Docker container, and accessing it from EF Core Continue reading
-
Thrive Conference in Slovenia
The last time the [Thrive conference](https://thriveconf.com) was held was in 2019. Now it’s happening again May, 24-25 2022 in Bistrica, Slovenia. I’m excited to give two presentations and a one-day workshop. Are you attending in-person? Continue reading









