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
var secretClient = new SecretClient(new Uri("https://___.vault.azure.net"), new DefaultAzureCredential()); | |
var certClient = new CertificateClient(new Uri("https://___.vault.azure.net"), new DefaultAzureCredential()); | |
var cert = await certClient.GetCertificateAsync("localhostcert"); | |
var secret = await secretClient.GetSecretAsync(cert.Value.Name); | |
var pfxb = Convert.FromBase64String(secret.Value.Value); | |
var x509cert = X509CertificateLoader.LoadPkcs12(pfxb, "", X509KeyStorageFlags.MachineKeySet); |
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
<ComboBox> | |
<ComboBox.Resources> | |
<Style TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}"> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Visible" /> | |
</Style> | |
</ComboBox.Resources> | |
</ComboBox> |
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 ConsoleAppFramework; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Options; | |
var app = ConsoleApp.Create() | |
.ConfigureDefaultConfiguration(config => | |
{ | |
config.AddEnvironmentVariables(); | |
}) |
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
{ | |
"backgroundImageUrl": "https://raw.githubusercontent.com/buchizo/ClaudiaIDE/b3c31993d2fba2708287eed1b44b73b0bc4e49c2/Shared/Images/background.png" | |
} |
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
{ | |
"name": "ReadItemAsync", | |
"id": "24d83013-822e-43fa-b713-bf4f06e95694", | |
"caller info": { | |
"member": "OperationHelperWithRootTraceAsync", | |
"file": "ClientContextCore.cs", | |
"line": 219 | |
}, | |
"start time": "08:07:23:084", | |
"duration in milliseconds": 1554.2853, |
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
{ | |
"name": "ReadItemAsync", | |
"id": "fc44e655-d934-46d3-9df4-365cca2262b2", | |
"caller info": { | |
"member": "OperationHelperWithRootTraceAsync", | |
"file": "ClientContextCore.cs", | |
"line": 219 | |
}, | |
"start time": "08:09:56:783", | |
"duration in milliseconds": 283.5465, |
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
{ | |
"name": "ReadItemAsync", | |
"id": "dc751f42-3903-4876-a4b8-d343bdbc5d5b", | |
"caller info": { | |
"member": "OperationHelperWithRootTraceAsync", | |
"file": "ClientContextCore.cs", | |
"line": 219 | |
}, | |
"start time": "08:07:18:807", | |
"duration in milliseconds": 4259.9249, |
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.Storage; | |
using Azure.Storage.Blobs; | |
using Azure.Storage.Blobs.Models; | |
using Azure.Storage.Blobs.Specialized; | |
using Azure.Storage.Sas; | |
using Cocona; | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Threading.Tasks; |
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.CognitiveServices.Speech; | |
using System; | |
using System.Threading.Tasks; | |
namespace ConsoleApp15 | |
{ | |
class Program | |
{ | |
private static readonly string ApiKey = "xxxxxxxxxxxxxxxxxxxxxxxx"; |
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 System; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Extensions.Logging; | |
using Newtonsoft.Json; | |
using Azure.Storage.Blobs; |
NewerOlder