Skip to content

Instantly share code, notes, and snippets.

Avatar
🍤
( ´・ω・)つΣ;:',;',',:'',:',;',',)

kosmos.ebi buchizo

🍤
( ´・ω・)つΣ;:',;',',:'',:',;',',)
View GitHub Profile
@buchizo
buchizo / Diagnostics3.json
Created Jun 1, 2021
ゲートウェイ接続・専用ゲートウェイ、整合性をEventualなクライアント診断ログ
View Diagnostics3.json
{
"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,
@buchizo
buchizo / Diagnostics2.json
Created Jun 1, 2021
ゲートウェイ接続モード・専用ゲートウェイ+整合性がSessionなクライアントクエリの診断ログ
View Diagnostics2.json
{
"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,
@buchizo
buchizo / diagnostics.json
Created Jun 1, 2021
直接接続モードのクライアントクエリの診断ログ
View diagnostics.json
{
"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,
@buchizo
buchizo / Program.cs
Created Dec 14, 2020
Azure Storage SDK for .NET v12 stream / sas / zip sample
View Program.cs
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;
View program.cs
using Microsoft.CognitiveServices.Speech;
using System;
using System.Threading.Tasks;
namespace ConsoleApp15
{
class Program
{
private static readonly string ApiKey = "xxxxxxxxxxxxxxxxxxxxxxxx";
View functions1.cs
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;
@buchizo
buchizo / program.cs
Created Apr 29, 2019
call Azure ARM REST API with FileCache
View program.cs
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography; //add System.Security.Cryptography.ProtectedData nuget package
using System.Threading.Tasks;
using System.Net.Http;
namespace ConsoleApp11
{
@buchizo
buchizo / program.cs
Last active Apr 29, 2019
call Azure ARM REST API sample (for .NET Framework)
View program.cs
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.IO;
using System.Net.Http;
using System.Security.Cryptography; //add System.Security.Cryptography.ProtectedData nuget package
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
@buchizo
buchizo / program.cs
Last active Apr 27, 2019
call Azure ARM REST API using user token via devicelogin
View program.cs
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace ConsoleApp11
{
class Program
{
static void Main(string[] args)
@buchizo
buchizo / Function2.cs
Created Apr 23, 2019
get role assignments and userinfo using ARM and Graph API on Functions (2)
View Function2.cs
using System;
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 Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Net.Http;