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
using DurableTask.Core; | |
using System; | |
using System.Threading.Tasks; | |
using DurableTask.ServiceBus; | |
using DurableTask.ServiceBus.Tracking; | |
using DurableTask.Emulator; | |
namespace DurableTaskPrototype | |
{ | |
class Program |
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
using System; | |
using Microsoft.AspNetCore; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.Configuration.AzureKeyVault; | |
namespace Example | |
{ | |
public class Program | |
{ |
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
using Microsoft.Extensions.Configuration; | |
namespace Example | |
{ | |
public interface IKeyProvider | |
{ | |
string GetKey(); | |
void SwitchKey(); | |
} |
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
<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
<TargetFramework>netcoreapp3.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.0.0" /> | |
</ItemGroup> | |
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
asd |
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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"resourcesNamePrefix": { | |
"type": "string" | |
}, | |
"resourcesLocation": { | |
"type": "string", | |
"allowedValues": [ |
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
type KeysOf<T> = { [x in Exclude<keyof T, keyof KeyHelper<T>>]: null } | |
abstract class KeyHelper<T> { | |
abstract $keys: KeysOf<T>; | |
getKeys(): (keyof T)[] { | |
return Object.keys(this.$keys) as (keyof T)[]; | |
} | |
} | |
class Greeter extends KeyHelper<Greeter> { |
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
{ | |
"name": "tmp", | |
"version": "0.0.0", | |
"dependencies": { | |
"aurelia-bootstrapper-webpack": "^1.0.0", | |
"aurelia-event-aggregator": "^1.0.0", | |
"aurelia-fetch-client": "^1.0.0", | |
"aurelia-framework": "^1.0.0", | |
"aurelia-history-browser": "^1.0.0", | |
"aurelia-loader-webpack": "^1.0.0", |