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
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
A Simple CORS Example with a .NET 6 Web API Application and a .NET 6 Web Application
Every couple of years I have to solve a CORS error with some API I’ve written, each time I have to figure it all out again. This is a blog to my future self with the answers.
Apr 19, 2022
#
CORS
,
dotNet6
,
WebApi
Accessing an RDS SQL Server from a .NET 6 application in Lambda
Querying an RDS SQL Server from Lambda is a great option for .NET applications. In this post you see how to create all the infrastructure, seed the database, deploy a .NET 6 Web API application, and connect the VPCs.
Apr 15, 2022
#
AWS Lambda
,
dotNet6
,
SQL Server
,
VPC
,
AWS
,
Function as a Service
Ignoring JSON Key Casing and Numbers as Strings when Deserializing with System.Text.Json
When deserializing JSON from a console application or library, you have to handle unusual casing of JSON key names, and numbers represented as strings yourself. This is done with a couple of serialization options.
Apr 14, 2022
#
JSON Serialization
,
dotNet6
,
Serialization
,
JSON
,
System.Text.Json
«
»
Cite
×