Skip to content

Instantly share code, notes, and snippets.

View normj's full-sized avatar

Norm Johanson normj

View GitHub Profile
@normj
normj / Blazor WASM and AWS .NET SDK
Created November 9, 2022 17:25
Show how to configure the AWS SDK for .NET to be able to make service calls from a Blazor WASM application.
using Amazon;
using Amazon.Runtime;
using Amazon.CognitoIdentity;
using Amazon.Translate;
using BlazorAWSSample;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
// Configure the SDK to not modify user agent header since the browser controls that header.
@normj
normj / Program.cs
Created July 23, 2019 17:09
Attempt to reproduce DDB memory leak with DynamoDBContext
using System;
using System.IO;
using System.Collections.Generic;
using System.Threading.Tasks;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using DynamoDBZipCodeStressTest.Shared;
@normj
normj / Program.cs
Last active September 13, 2023 00:05
.NET Example for Amazon Textract
using System;
using System.IO;
using System.Threading.Tasks;
using System.Threading;
using Amazon;
// From the AWSSDK.Textract NuGet package
using Amazon.Textract;
using Amazon.Textract.Model;