An Azure Service Fabric Restarter in F#

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.



Tags: fsharp functionalprogramming railwayorientedprogramming azure servicefabric
Previous: OAuth2 and OpenID Connect versus WS and SAML
Next: Listor- Showcasing React and .NET Core

Comments

comments powered by Disqus