Recently I’ve been working on a Visual Studio extension to automate the tedious parts of code authoring at work. It turns out that there is a lot of knowledge out there, but quite spread. Here’s my try to get a somewhat short, end-to-end tutorial on how to create a new Visual Studio extension, with Roslyn, parse some code and then generate some more.
I’ll assume you know nothing about Visual Studio extensions and Roslyn, but, at least, install Visual Studio SDK first.
Javascript modules have been around for a while, and there are plenty of good reasons why to use them, instead of writing code directly in the global scope.
However, you might find yourself working on a legacy piece of code that was written without taking modules into account and considering what to do to start refactoring it into a module based pattern, like AMD or CommonJS. Well, that was my case.
Finally I got the blog setup with an HTTPS endpoint on Azure. I thought I would write up on the points that weren’t that straight forward.
Get a free SSL certificate I used Let’s encrypt to generate me a free SSL certificate for the blog. It will provide you with a domain-validated certificate, which only vouches for the domain identity (good enough for a blog, if you ask me).
To issue a certificate to a domain, they will challenge you to prove that you control the domain.