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
{ | |
"upstreams": { | |
"contosocorp-cdn": { | |
"servers": [ | |
{ | |
"host": "ammo.blob.core.windows.net", | |
"weigth": 1 | |
} | |
] | |
}, |
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
{ | |
"id": "587cb1d3-aba7-495d-a068-088ac3d98441", | |
"eventType": "change", | |
"subject": "cds/environments/danchurchaidtest/entities/contact/9622eea7-a9b0-ea11-a812-000d3a2abf56/changesets/2020-06-17T14:48:55Z", | |
"data": { | |
"before": { | |
"dca_consent": false, | |
"statecode": 0, | |
"modifiedon": "2020-06-17T14:48:55Z", | |
"dca_gdiigiftstatus": false, |
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
[TestClass] | |
public class EventDrivenBlobUpdateTest | |
{ | |
[TestMethod] | |
public async Task CombineBlocksAutomatically() | |
{ | |
var account = CloudStorageAccount.DevelopmentStorageAccount; | |
var container = account.CreateCloudBlobClient().GetContainerReference("testcontianer"); | |
await container.DeleteIfExistsAsync(); | |
await container.CreateAsync(); |
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
public class ServiceRegistrations | |
{ | |
public class HandlerWrapper | |
{ | |
private IServiceScopeFactory serviceScopeFactory; | |
private Type handlertype; | |
private MethodInfo method; | |
public HandlerWrapper(IServiceScopeFactory serviceScopeFactory, Type messageType) |
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
public class EventPublisher | |
{ | |
private readonly EventGridConfiguration options; | |
private readonly IHostingEnvironment environment; | |
public EventPublisher(IOptions<EventGridConfiguration> options, IHostingEnvironment environment) | |
{ | |
this.options = options?.Value ?? throw new ArgumentNullException(nameof(options)); | |
this.environment = environment ?? throw new ArgumentNullException(nameof(environment)); |
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.Extensions.Caching.Memory; | |
using IOBoard.DataIngestor.Common; | |
using System.Linq; | |
using SInnovations.Azure.TableStorageRepository.Queryable; | |
using System.Text; | |
using System.Collections.Generic; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Index</title> | |
<style> | |
html, body { | |
height: 100%; | |
width: 100%; |
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
%%%%%% | |
%%%%%% | |
@ %%%%%% @ | |
@@ %%%%%% @@ | |
@@@ %%%%%%%%%%% @@@ | |
@@ %%%%%%%%%% @@ | |
@@ %%%% @@ | |
@@ %%% @@ | |
@@ %% @@ |
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 DotNETDevOps.Extensions.AzureFunctions; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.Azure.WebJobs.Hosting; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; |