BenchmarkDotNet - Library for benchmarking .NET code

This will probably earn me what some friends of mine call a golden shovel (an award for finding out something everyone already knows) but since I just recently found out about it, I’ll write about it anyway. Several times I felt the need to benchmark some portions of code so I could see if a way of doing something could be a slow down cause for an application (many of those times were when I wanted to use some reflection to simplify the code and some colleagues were afraid reflection was going to have a negative impact on performance)....

October 24, 2016 · 4 min · 804 words · João Antunes

Getting this up and running – Bonus round: SSL, Email and stuff (3/3)

To finish up this series of posts I’ll just go by a couple of extra things I needed to do to get the, mostly functional by now, site to work better. The main points are: Getting some certificates to get the site working on https. Using a mail server to overcome an issue with WordPress running on Docker. Get the site on HTTPS Everybody likes (or should) when you go to a web site and it uses HTTPS, even more so when there are private stuff going down the wire (like user credentials)....

October 18, 2016 · 5 min · 1046 words · João Antunes

Getting this up and running – Installing Docker and running applications with it (2/3)

This post will focus on installing the Docker engine and then running the applications we need to make the blog work as Docker containers. I’m not the best to explain all about Docker, so I’ll focus on what I needed to do to get the blog running. If you really want to learn about Docker there are lots of good resources out there, starting with Docker’s own documentation (which I used a lot)....

October 15, 2016 · 8 min · 1605 words · João Antunes

Getting this up and running – Initial server setup (1/3)

So this post is gonna be more of a “getting started with a virtual machine in a cloud provider” sort of thing, not very advanced, just a simple step by step guide for someone who never did it. Cloud Providers Like I said in the intro to this series of posts, I’m using Linode mainly for it being slightly cheaper than Digital Ocean (referred as DO from now on) which I was using before it....

October 8, 2016 · 7 min · 1433 words · João Antunes

Getting this up and running - Intro

So I guess a good article to begin with would be to explain how I got this site up. Even more fitting is it has nothing to do with .NET, which you would expect would be on the debut article around this parts (rest assured those will come like a stampede :) ). So, let me start by summarize how this thing is working: The server is a Linode [1] virtual machine....

October 5, 2016 · 3 min · 455 words · João Antunes

"Time's up, let's do this! Leeeeeeeeeeeeeroy Jenkins!"

And with this legendary quote [1] , I open the hostilities in this new blog. I’ve been thinking about creating something like this for a while, but the thought that probably I didn’t have much to add to the myriad of coding blogs and sites out there, and maybe a tad of laziness, has delayed me for a couple of years. My main goal is to talk about specific problems I had and how I solved them....

October 3, 2016 · 2 min · 285 words · João Antunes