An Azure Service Fabric Restarter in F#

Published Mar 15, 2017.
For feedback or questions, please follow me on Twitter so you can DM me.

Trying to get beyond just writing quick scripts here and there in F#, I went through functional design patterns targeted at building mainstream applications. Railway-oriented programming specifically stuck with me. I decided to try it along with some of the other core functional concepts such as projecting to other domains with map and bind operations. My first foray into this was applying it to, surprise, surprise, yet another quick script I had in place. This one was something I had put together already using F# to recycle all code packages for a given application running on Azure Service Fabric.

Thus what was one end-to-end script became three distinct modules, as implemented in three different files:

The full source code is in this repository.



Tagged as  fsharp functionalprogramming railwayorientedprogramming azure servicefabric