On April I wrote a post about Using Docker Multi Stage Builds to build an ASP.NET Core Echo Server and these days while preparing a talk, on CI/CD and kubernetes, I started to play with the simple sample I wrote back then. Soon enough I noticed that with each docker build command I issued the dependencies for the...
Last week I read this tweets from Maxime Rouiller (@MaximRouiller): Then I found out that SourceLink is a language-and source-control agnostic system for providing first-class source debugging experiences for binaries." What that means is that, once you enable SourceLink, the users are able to step into your code...
So what is faster: looping through a List<> with for or with foreach? Today I’ll show you how to use BenchmarkDotNet with .Net Core to answer that question. Let’s start: Create a folder for your new project Open a command prompt an run: 1mkdir benchmark.for Create the project 1cd benchmark.for 2dotnet new console Add...
You have to choose between using string.compare or == to compare strings. How would you know which method performs faster? Today I’ll show you how to use BenchmarkDotNet with .Net Core to answer that question. Let’s start: Create a folder for your new project Open a command prompt an run: 1mkdir benchmark Create the...
I think that more than a year and a half ago I read “Real-World Machine Learning” by Henrik Brink, Joseph Richards, and Mark Fetherolf. A book that is easy to read and goes “to the point”!!! I’m sure you know what I mean. At the time the only thing that prevented me from really enjoying the book samples was that there...