Azure, DevOps and .NET articles

Empowering developers since 2015. Real articles, real insights.

DotNet61 Azure49 DevOps39 JavaScript23 VisualStudio17 CSS12 Git9 Jekyll8 All topics →

    Fix the 502.05 Process Failure error when debugging in Visual Studio

    Recently while I was trying to test a demo application with .NET Core I came around the following error message when I was starting the application using F5:

    The 502.05 Process Failure error

    Read the complete article

    The Docker commands I use the most, grouped by task

    This article was reworked in November 2026. The first version from 2019 had a few commands that no longer match how Docker behaves, and it used the old docker-compose binary.

    I have been working with Docker containers since 2019, and a handful of commands cover almost everything I do day to day. This is my list, grouped by what I am trying to get done, with the details that tripped me up at least once.

    Read the complete article

    Deserialize JSON into a C# object with computed property values

    This week I had to deserialize a JSON string into a collection of C# objects. The class of these objects contained not only the properties that map directly to the JSON properties but also an extra property which I wanted to fill with values based on the values of other properties of the object.

    Let us consider the following simple POCO class and its container, which is a simple array of Students:

    Read the complete article

    Use the fileinputname parameter in Visual Studio item templates

    A Visual Studio Item Template allows us to generate new files with code, so that we avoid having to manually create them. This automatization is very practical when we need to create similar classes more than one time. A template is being offered as option in the “Add new item” dialog of Visual Studio:

    Add new item dialog in visual studio

    Read the complete article

    Skip mapping between source and target properties in AutoMapper

    As I did in my previous article, I focus again on the AutoMapper framework.

    When I map one object to another, I often deal with a destination object that contains LESS properties than the source object. If I take no action, an exception is going to be thrown. For that we will have to declare the skipped properties by using the DoNotValidate method when we define the mapping (CreateMap) between the two objects:

    Read the complete article