Azure, DevOps and .NET articles

Empowering developers since 2015. Real articles, real insights.

DotNet61 Azure45 DevOps35 JavaScript23 VisualStudio17 CSS12 Jekyll8 Git8 All topics →

    Six practical features of C# 6.0 to use in your everyday coding

    With this article I would like to present you six useful features of the 6.0 version of C#.

    null conditional operator

    Removes the need for checking for null values and thus we avoid the tedious if(... != null && ... != null ...) if conditions.

      if (myDog?.Mouth?.TeethsInMouth[0]?.ScientificName == "default tooth name") ...
    
    Read the complete article

    Install syntax highlighter in a Jekyll blog with Bootstrap

    Highlighting your code-examples in your blog makes your articles simpler to read. When using Jekyll the “default” option for highlighting code is provided from the pygments plugin.

    Read the complete article

    Type-Casting aka Coercion in JavaScript. What you have to know.

    With this article, I want to quickly and simply explain the most important ways to convert JavaScript from one value type to another. Type casting is most often referred to as coercion. There are two types of coercion: explicit and implicit.

    Read the complete article

    Immutable Strings And Mutable Arrays

    Strings in JavaScript are immutable which means that once a string is defined, it cannot be changed anymore. Trying to change a string with a standard String-function will only create a new string and not affect the original string. Consider the following example, where the value in string1 is not changed:

    var string1 = "LOREM IPSUM";
    string1.toLowerCase();
    console.log(string1);
    
    Read the complete article

    Reference vs. primitive types in JavaScript

    Inspired from an exercise in hackerrank.com, I found the opportunity to present you the data types that JavaScript defines, which are the following six:

    Arrays and functions are plain objects in JavaScript and they both belong to the object data type.

    Read the complete article