title: Deploy Azure function from code (c#)
body: <p><strong>How to deploy azure function (executed on schedule) with code as string (in c#) to given azure functions app?</strong></p>
  
  <p>I am going to use ARM template to deploy azure fund app (+ all it needs) <a href="https://github.com/Azure/azure-quickstart-templates/tree/master/101-function-app-create-dynamic" rel="nofollow noreferrer">https://github.com/Azure/azure-quickstart-templates/tree/master/101-function-app-create-dynamic</a>, which can be deployed via code; </p>
  
  <p>But I don't see ways to deploy function to function app via code.</p>
  
  <p><em>+ A little more context</em>: deployment is going to happen from an app service, so it's preferred not to have any dependencies beyond NuGet. E.g. I don't like the idea to call azure cli from c#.</p>