Skip to content

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Some useful commands

running locally https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local

From the CLI makes sure you have the Azure Functions CLI tools installed

npm install -g azure-functions-core-tools@core

To Start the local debugger

func host start --debug vscode

To work with your own subsciption

  • func azure subscriptions list
  • func azure subscriptions set your_subscription_id
  • func azure storage list

To work with your own storage account settings

  • func azure storage list
  • func azure storage fetch-connection-string your_storage_account
  • func azure storage fetch-connection-string list

To work with your own app service account app settings

  • func azure functionapp fetch-app-settings dotnetzero
  • func host start

local.settings.json

{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=your_storage_account_name;AccountKey=your_account_key",
"ProductionContainer": "$root",
"BetaContainer": "beta",
"AzureWebJobsDashboard": "DefaultEndpointsProtocol=https;AccountName=your_storage_account_name;AccountKey=your_account_key",
"FUNCTIONS_EXTENSION_VERSION": "~1",
"WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=your_storage_account_name;AccountKey=your_account_key",
"WEBSITE_CONTENTSHARE": "dotnetzero9a75",
"WEBSITE_NODE_DEFAULT_VERSION": "6.5.0",
"AzureWebJobsSecretStorageType": "Blob"
},
"ConnectionStrings": {
"store01dotnetzero_STORAGE": {
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=your_storage_account_name;AccountKey=your_account_key",
"ProviderName": "System.Data.SqlClient"
}
}
}

About

Sever that serves up the web / scripts

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages