Working with Docker Toolbox

Some notes taken while working with Docker Toolbox.Docker Toolbox is mainly seen on Windows 7.Access container exposed endpointsOpposite to Windows 10 and Linux distros, Docker Toolbox still uses Docker Machine. So, to access your container, in fact you have to target middleware VM that hosts your containers.To…

Singleton in F#

Singleton, commonly considered to be an anti-pattern, is Object Oriented Pattern that provides single instance of specific type within a process the application is running in. The anti-pattern definition says not to never use such structure, but rather that it should not be overused. The square-wheel problem analogy fits here…

How to move to Git LFS

We’d like to lower size of our git repository. We can do it by rewriting our repository history and store our big, binary files with Git LFS. This document will guide you through this process.Be aware!Rewrite of git repository comes with the need of pulling fresh repository…

Run Guest applications in Service Fabric

Create new Service Fabric Guest application project. I'm using simple .exe  .NET Framework 4.5.2 template, but it can be really anything: powershell script, .NET Core library or even system call...?To run project simply set Service Fabric project as Startup project and press F5. Make sure you run…

Treat nulls as errors in C#8

Null Reference Types is a new feature that comes with C#8. Generally speaking, it's all about how nulls are treated. If you're new to this, you might watch Mads Torgersen, Bill Wagner talk at NDC London.By default, unless you explicitly declare it, you'll get an warning when you…