This file contains hidden or 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
| using Microsoft.Extensions.Hosting; | |
| var host = new HostBuilder() | |
| .ConfigureFunctionsWorkerDefaults() | |
| .Build(); | |
| host.Run(); |
This file contains hidden or 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
| function prompt { | |
| $ESC = [char]27 | |
| $time = "$ESC[93m$([System.DateTime]::Now.ToString("HH:mm:ss"))$ESC[0m" | |
| $gitbranch = "" | |
| $us = "" | |
| $ts = "" | |
| if (Test-Path "$($executionContext.SessionState.Path.CurrentLocation)/.git") | |
| { | |
| $gitbranch = " $ESC[92m$(git rev-parse --abbrev-ref HEAD)$ESC[0m" |
This file contains hidden or 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
| using Azure; | |
| using Azure.Storage.Blobs; | |
| using Azure.Storage.Blobs.Specialized; | |
| using Microsoft.Azure.Functions.Worker; | |
| using Microsoft.Azure.Functions.Worker.Http; | |
| using Microsoft.DurableTask; | |
| using Microsoft.DurableTask.Client; | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Hosting; |
OlderNewer