-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Code Samples for Netherite (#72)
* new samples for Netherite * corrections after review
- Loading branch information
1 parent
fe24c4b
commit 0390605
Showing
58 changed files
with
1,737 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
samples/Hello_Netherite_with_DotNetCore/deploy-dotnet-function.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/pwsh | ||
|
||
# review these parameters before running the script | ||
$Configuration = "Release" | ||
|
||
# read the parameters | ||
. ../scripts/settings.ps1 | ||
|
||
Write-Host "Building Function App..." | ||
|
||
Write-Host Building $Configuration Configuration... | ||
dotnet build -c $Configuration | ||
|
||
# enter the directory with the binaries | ||
Push-Location -Path bin/$Configuration/netcoreapp3.1 | ||
|
||
|
||
Write-Host "Publishing Code to Function App..." | ||
func azure functionapp publish $functionAppName | ||
|
||
Pop-Location |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"IsEncrypted": false, | ||
"Values": { | ||
"AzureWebJobsStorage": "UseDevelopmentStorage=true", | ||
"EventHubsConnection": "MemoryF", | ||
"FUNCTIONS_WORKER_RUNTIME": "dotnet" | ||
} | ||
} |
5 changes: 4 additions & 1 deletion
5
samples/Hello/run.ps1 → ...DotNetCore/run-dotnet-function-hybrid.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.git* | ||
.vscode | ||
local.settings.json | ||
test | ||
.venv | ||
*.ps1 |
Oops, something went wrong.