6 azure functions core tools

command-line tools

  1. Generate the files and folders you need to develop functions on your local computer
  2. Run your functions locally so you can test and debug them
  3. Publish your functions to Azure

func

using a local development workflow based on the Core Tools, don't expect to be able to use the
NO portal to make changes to your functions

function app

collection of functions

common set of configuration values

same language

functions project

folder that contains the code and configuration files that define your functions

eqauivalent to function app

func init

Creating a new functions project

  • host.json stores runtime configuration values
  • local.settings.json stores configuration values that only apply to the function app when it is run locally

func new

Creating a new function

func start

Running functions locally

func azure functionapp publish <app_name>

pubblicare su azure

  • Core Tools do not validate or test your functions code during publishing
  • Publishing to Azure does not create any kind of relationship between the local project and the target function app
  • The invocation URLs displayed after you publish may include a code parameter in the query string