Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotnetzero/FunctionApp
Sever that serves up the web / scripts
https://github.com/dotnetzero/FunctionApp
azure azure-functions csharp http powershell
Last synced: 3 months ago
JSON representation
Sever that serves up the web / scripts
- Host: GitHub
- URL: https://github.com/dotnetzero/FunctionApp
- Owner: dotnetzero
- License: mit
- Created: 2018-01-14T23:42:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T01:30:54.000Z (almost 7 years ago)
- Last Synced: 2024-05-18T05:34:37.689Z (6 months ago)
- Topics: azure, azure-functions, csharp, http, powershell
- Language: PowerShell
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - dotnetzero/FunctionApp - Sever that serves up the web / scripts (PowerShell)
README
# 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
```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"
}
}
}```