Azure Functions v2 Startup Class

While playing around with Azure Functions v2 I was missing the possibility to run code on host startup. After googling for some time, I found the solution.

on Dev, .NET, Serverless, Azure