dotNet Core 3.1

C# and AWS Lambdas, Part 5 – Updating the Zip in S3 and Updating the Running Lambda, with Pulumi IaC

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 updated. This one took quite while to put together - the permissions, roles and policies were not obvious and I hope it will be of help to you.

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

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 use S3 to store the zip of the of a simple .NET application (not a Web API app) and point the lambda at it, brining all the resources up using Pulumi. One drawback of using S3 to store the zip for a lambda is that when you update the zip in S3, AWS doesn't deploy the new zip to the lambda, but I will show a way of handling that in the next blog post.

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

In this the third in a series of posts on using .NET in AWS lambdas I build on the previous post where I connected a Http Gateway to a lambda running a Web API application. In that post I built the infrastructure by hand, i.e. via the GUI, pointing and clicking. In this post I will show how to build everything with Pulumi.

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

In the [previous post](/2021/02/c-and-aws-lambdas-part-1-hello-world/) I created a lambda that executed a C# console application. In this post I walkthrough creating a .NET Core 3.1 Web API application inside a lambda and making it reachable from the web, just like a normal Web API application.

C# and AWS Lambdas, Part 1 - Hello World

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, but by the end you will be running a .NET Web API powered by lambda, fronted by an API gateway where all the infrastructure is setup by Pulumi - this will take a few posts over the next while.

DynamoDb, Reading and Writing Data with .Net Core – Part 2

Full source code available here. A few weeks ago I posted about reading and writing data to DynamoDb. I gave instruction on how to get create tables on localstack and how to use the AWS Document Model approach.

DynamoDb, Reading and Writing Data with .Net Core - Part 1

Full source code available here. A few weeks ago I started playing with DynamoDb in a .NET application. I read through the AWS documentation but felt it was incomplete and a little out of date.

Dependency Inject a Service from Startup back to Program in .Net Core 3.1

Full source code available here. Over the past couple of years I wrote a few posts about Dependency Injection in .Net Core 2.1, and this week I received comments from a reader telling me that some of the changes in .

Fluent Validation in ASP.NET Core 3.1

Full source code available here. This is an update to a post I wrote in 2017 talking about Fluent Validation in ASP.NET Core. The example is the same but there has been few updates.

The terminal shell path "dotnet" is a directory - Visual Studio Code

I have been using Visual Studio Code in Ubuntu Linux for a while, but it was not an easy process to get it working the first time. I just got around to installing .