Quantcast
Channel: Code – no dogma blog
Browsing index pages (132 articles)

C# and AWS Lambdas, Part 8 – .NET 6, inside a Container, inside a Lambda

Full source code available here. After playing with .NET 5 libraries and Web API applications inside Lambda containers I wanted to see if I could get a .NET 6 library running too. I cloned...

View Article


Image may be NSFW.
Clik here to view.

C# and AWS Lambdas, Part 7 – .NET 5 Web API inside a Container inside a...

Full source code available here. In my previous post I showed how to build a .NET 5 library inside a docker image and deploy it to an AWS Lambda. This post is a small extension on that. I’m going to...

View Article


Image may be NSFW.
Clik here to view.

C# and AWS Lambdas, Part 6 – .NET 5 inside a Container inside a Lambda

Full source code available here. A few months ago AWS released a feature allowing Lambdas to run container images, for larger applications this is easier to work with than a zip file or set of layers,...

View Article

Image may be NSFW.
Clik here to view.

C# and AWS Lambdas, Part 5 – Updating the Zip in S3 and Updating the Running...

Full source code available here. This post pulls together a few threads I’ve been working on – creation of lambda to run .NET, storing the zip in S3, and updating the .NET lambda when the zip in S3 is...

View Article

C# and AWS Lambdas, Part 4 – Storing the Zip in S3, Setup with Pulumi IaC

Full source code available here. In the previous post I showed how to use Pulumi to create a lambda, API gateway and upload a zip of Web API application directly to the lambda. In the post I’m going to...

View Article


Image may be NSFW.
Clik here to view.

C# and AWS Lambdas, Part 3 – Pulumi IaC for Web API and an API Gateway

Full source code available here. In this the third in a series of posts on using .NET in AWS lambdas I build on the previous where I connected a Http Gateway to a lambda running a Web API application....

View Article

Image may be NSFW.
Clik here to view.

C# and AWS Lambdas, Part 2 – Web API and an API Gateway

Full source code available here. In the previous post I created a lambda that executed a C# console application. In this post I walkthrough creating a .NET 3.1 Web API application inside a lambda and...

View Article

Image may be NSFW.
Clik here to view.

C# and AWS Lambdas, Part 1 – Hello World

Full source code available here. This is the first in a series of posts on using .NET with AWS Lambdas. It will start with the simplest example that converts a lowercase string to an uppercase string,...

View Article


Polly and Blazor, Part 3 – Dependency Injection

Full source code available here. This post continues to build on the two previous on using Polly with Blazor. The first was a simple example of using a Wait and Retry while updating the display as the...

View Article


Polly and Blazor, Part 2 – Using the Context

Full source code available here. This post is a short follow up to the one where I used Polly Wait and Retry in Blazor. In that post I used variables defined in my C# method to pass information back to...

View Article

Image may be NSFW.
Clik here to view.

Logging to DataDog with Serliog and .Net 5

Full source code available here. This is a quick post to showing how to setup a .Net 5 Web Api application with logging to DataDog from your local computer. Getting Datadog up and running First step is...

View Article

Image may be NSFW.
Clik here to view.

Blazor, Updating or Refreshing the Display During a Method Call

Full source code available BlazorUpdatingUIEverySecondWasm. This is a quick post to show how to show how to refresh or update components on a Blazor page asynchronously, for example in response to a...

View Article

Polly and Blazor, Part 1 – Simple Wait and Retry

Full source code available here. A few weeks ago I gave a talk on Polly at Dotnetconf (you can check it out here), at the end I got many questions about using Polly with Blazor, I had never tried it,...

View Article


Indexing the Works of Shakespeare in ElasticSearch – Part 4, Searching via...

Full source code available here. This is part four of my four part series on indexing the works of Shakespeare in ElasticSearch. In this I’ll show how to use the ElasticSearch “low level client” to...

View Article

Indexing the Works of Shakespeare in ElasticSearch – Part 3, Sending the...

Full source code available here. In this, the third part of the series, I show how to read from the Shakespeare CSV file where each row represents a line from a play, (download here), and send these...

View Article


Indexing the Works of Shakespeare in ElasticSearch – Part 2, Bulk Indexing

Full source code available here, look inside the lambda folder. This is part two of my series on indexing the works of Shakespeare in ElasticSearch. In part one I setup the infrastructure as code where...

View Article

Indexing the Works of Shakespeare in ElasticSearch – Part 1, Infrastructure...

Full source code available here. WARNING – be careful when using this, Kinesis costs money and is not on the AWS free tier. At time of writing a couple ElasticSearch instance types are included with...

View Article


Image may be NSFW.
Clik here to view.

VS Code Bug – Interpolation and Commented Lines, Workaround

This is a quick post with a workaround to a bug in VS Code that occurs when you use string with @$ – the verbatim character and the interpolation characters. If you have a piece of code that looks like...

View Article

Reading CSV Files into Objects with Node.js

Full source code available here. As I am learning Node.Js I am constantly surprised by how easy it is to do some things, and how difficult to do others, and how poor the examples out there are. Case in...

View Article

Working with JSON in .NET, Infrastructure as Code with Pulumi

Full source code available here. This is a follow up to my previous post where I used dynamic and JSON files to make querying ElasticSearch with a HttpClient much easier. To deploy my ElasticSearch...

View Article
Browsing index pages (132 articles)


Latest Images