Mikołaj Kamiński
HomeAbout meContact
  • Jul 3, 2022

    How to test typed HTTP clients in .NET 6?

    Strongly typed HTTP clients are very useful and convenient. Here's how to test them without sacrificing the advantages of dependency injection.
  • Oct 18, 2021

    I couldn't debug the code because of my name

    Some time ago, I finally managed to switch from Visual Studio to JetBrains Rider at work. Finally, because I used to work a lot with Rider before, and I really like this IDE. Unfortunately, I ran into some annoying problems with docker-compose debug configuration.

  • Apr 23, 2021

    My favorite way to handle configuration in .NET Core

    I am writing this blog post because I often see a configuration support proposal that uses hardcoded strings. Here’s a way to avoid it.

  • Apr 22, 2021

    An elegant way to validate MediatR commands and queries

    Today I would like to show you a really cool way to validate MediatR commands and queries using FluentValidation.

  • Apr 21, 2021

    Easy service registration in .NET DI containers using Scrutor

    I like to make my life easier. If I can automate a process, I’d love to do it. It is no different in programming. Today I would like to show you how to automate dependency registration in DI container.

  • Apr 20, 2021

    Do we have to await every single C# async method?

    Do we have to await each C# async method? Does this have any effect on code performance? Let's check it out!
  • Apr 19, 2021

    How to merge JSON documents in .NET Core and .NET 5?

    Let’s say we have two JSON documents that we would like to merge. How can this be achieved using Newtonsoft.Json and System.Text.Json libraries?
  • Apr 14, 2021

    ASP.NET Core, Newtonsoft JSON serializer and DateTime handling issue

    Today I encountered an interesting case. I got a report that “something changes the date format while processing data”. I started debugging our distributed system looking for the source of the problem. It took me a while, so I’d like to share this story today, so you don’t have to waste your time.

  • Apr 12, 2021

    Extension methods in C# and Ruby

    Extending classes with new methods is a pretty useful feature of object-oriented programming languages. However, implementation of extension methods can be more or less simple and elegant. Today I would like to compare implementation of extension methods in C# and Ruby.

  • Apr 10, 2021

    Why do I find Ruby sexy?

    I am a full time .NET developer, but I have been interested in Ruby for some time. Not very professional, but I liked this technology very much. I would like to share why I think so.

  • Apr 8, 2021

    How to configure Nginx reverse proxy with Docker?

    How to set up Nginx as a reverse proxy? How to achieve it with Docker and docker-compose? Today I will show you a simple setup example.

© 2023 Mikołaj Kamiński