Rasmus Olsson dotnet

Using dotTrace to identify and improve performance
February 13, 2024

Today we will explore how to enhance the performance of a poorly performing .NET REST API using dotTrace. Specifically, we will delve into an IO-bound problem and leverage dotTr...

Setting up DB migrations with .NET running in kubernetes
December 15, 2023

In this guide, we'll start by developing a universal .NET application designed for managing database migrations with DbUp. Our goal is to encapsulate this application within a D...

Why you might want a custom roslyn analyzer
October 23, 2023

Roslyn analyzer is a tool built on the .NET Compiler Platform which allows developers to perform static code analysis on their .NET projects. These analyzers inspect code for an...

Behavior driven development with specflow
August 25, 2023

BDD is a technique that enables teams to grasp project requirements clearly through a shared language. This approach ensures that all project participants collaborate effectivel...

Creating a .NET template with template.json
June 15, 2023

In this article, we're going to craft a .NET template together with template.json. Initially, we will develop a simple template for a WebAPI. After that We will introduce an opt...

Tracking nuget licenses with dotnet-project-licenses
February 21, 2023

<h2>Introduction</h2> When developing software application we include NuGet packages which in turn has software licenses. This license describes how your company should comply w...

Enforcing Architectural rules with NetArchTest
June 30, 2022

Independently where you work, there is solution architectural standards that need to followed and enhanced. There might be guidelines, such as avoiding the inclusion of contract...

Stay productive with formatted code
February 25, 2022

It has always surprised me that the demand for a unified code format is not that desirable in dotnet. In Node with the support for eslint and prettier, setting up formatting and...

Extend your toolkit with benchmarks
December 25, 2021

Performance issues inside applications comes in many forms and in the best of times they can be easily identified. But they can also get you real stuck and impossible to get you...

dotnet watch in .NET 6
November 14, 2021

dotnet watch run is a command that can be very handy while developing .NET applications. Its similar to Nodemon in Node.js in that it watches for file changes and r...

Git client hooks for dotnet
September 12, 2021

I recently added some git hooks to my git hook folder for dotnet related work. Its a nice addition to my daily development which makes me more productive. Basically on every tim...

Creating a dotnet template project
May 31, 2021

This post has been updated and is now available at: <a href="https://rasmusolsson.dev/posts/creating-a-net-template-with-template-json">https://rasmusolsson.dev/posts/creating-a...

Why Docker.DotNet changes the way we test our applications
September 27, 2020

Docker.Dotnet is a library that you can use to interact with the docker host Remote API. It’s a great library to use if we want to dynamically create containers that need to be ...

Quality matters – Setting up Sonarqube
July 17, 2020

As a developer you regularly find bad code. The definition of bad code is a very broad topic and many books have been written to cover different techniques to write better code…...