no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Posts
Error converting the Lambda event JSON payload to type System.String
If you are getting this - “Error converting the Lambda event JSON payload to type System.String”, you might need to serialize the payload you are sending. Read on to see how.
Jun 8, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Function as a Service
Accessing AWS Secrets Manager from .NET Lambda Functions, Part 3 - Connected to a VPC, using a VPC Endpoint
When a Lambda function is connected to a VPC, accessing the Secrets Manager becomes more complicated because the function no longer has internet access. One way to resolve this is to use a VPC endpoint.
May 31, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Secrets Manager
,
VPC
,
VPC Endpoint
,
Function as a Service
C# Lambdas Part 2, a Few More Complicated Examples
Following on from a post earlier this month on lambdas, here are some examples that are a little more complicated.
May 22, 2022
#
C#
,
dotNet6
,
Lambda
,
Func
Debugging an AWS Lambda Function Locally with Visual Studio Code (VS Code) on Windows, Linux, and Mac
It is easy to debug an AWS Lambda function locally with Visual Studio Code, all you need to do is install one tool and make one change to the launch.json file. Read on to see how.
May 19, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Debugging
,
Function as a Service
,
VSCode
Accessing AWS Secrets Manager from .NET Lambda Functions, Part 2 - Using Async Code
In an earlier post I showed how to use a .NET 6 Lambda function to retrieve a secret from Secrets Manager synchronously, but it is also easy to do this asynchronously.
May 16, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Secrets Manager
,
Function as a Service
C# Lambdas Part 1, a Quick Overview with Examples
There are many ways to write and use lambdas in C# that. In this post I give an overview of what they are, examples of how to write them with detailed comments, and how to use them.
May 13, 2022
#
C#
,
dotNet6
,
Lambda
,
Func
,
Action
Polly with .NET 6, Part 5 - Using a Cancellation Token
Even when using Polly retries, there are times when you just want to give. The cancellation token is a great way to do this.
May 6, 2022
#
Polly
,
dotNet6
,
Cancellation Token
Lambda Function URLs with .NET 6 and CORS
Lambda Function URLs are a very easy way to make a Lambda function executable via an HTTPS request, but without a small change you might hit some CORS issues. Read on to see how to fix this.
May 4, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Function URLs
,
CORS
,
Function as a Service
.NET 6 on AWS Lambda, Quick Demos
Here are three very quick demos of using .NET 6 on AWS Lambda that you can have up and running in minutes.
Apr 29, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Function URLs
,
Function as a Service
Accessing AWS Secrets Manager from .NET Lambda Functions, Part 1 - The Simple Way
.NET Lambda functions can get secrets from AWS Secrets Manager, but you need to grant the Lambda function permission to access the secret. Read on to find out how.
Apr 28, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Secrets Manager
,
Function as a Service
«
»
Cite
×