Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft

dotnet core

A collection of 28 posts

dotnet core

Prefix your http requests without touching the actual HttpClient code

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

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

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

2 months ago November 27th, 2022 5 min read
Protect yourself when deserializing - System.Text.Json
dotnet core

Protect yourself when deserializing - System.Text.Json

When dealing with deserialization of JSON, it's always a good idea to validate that it in fact deserialized correctly. But, how do you do that using System.Text.Json?

3 months ago November 10th, 2022 5 min read
Testing your dotnet applications - Boilerplate
testing-your-dotnet-applications

Testing your dotnet applications - Boilerplate

First post in a series that will show you different ways of how to test your ASP.NET/Dotnet Core applications. This post shows a simple integration test for an API endpoint

3 months ago October 19th, 2022 3 min read
Enumeration class in C# using records
c-sharp

Enumeration class in C# using records

Let's see if we can optimize the Enumeration class provided by Microsoft in "eShopOnContainers"...

4 months ago September 17th, 2022 7 min read
Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft