no dogma blog
no dogma blog
Blog Posts
Podcast
Polly Pluralsight Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
AWS Lambda
Using MediatR with .NET Lambda Functions and Function URLs
The mediator pattern is very helpful for keeping business logic out of your API endpoints. This post provides a simple example of this with the MediatR library.
Oct 5, 2022
#
MediatR
,
AWS
,
AWS Lambda
,
dotNet
Simple Dependency Injection for .NET Lambda Functions
Setting up dependency injection for your .NET Lambda functions only takes a few lines of code. Read on to see how.
Oct 4, 2022
#
AWS
,
AWS Lambda
,
Dependency Injection
,
dotNet
Workaround for "Failed to create template" Error with .NET 7 RC1 and Lambda Functions
If you are Amazon.Lambda.Templates, version 6.3.0 or earlier with .NET 7 RC 1, you may get an error when creating new project templates. Read on for a fix or a workaround.
Sep 22, 2022
#
AWS
,
AWS Lambda
,
dotNet
Using Environment Variables with .NET Lambda Functions
It is to use environment variables in your .NET Lambda functions, and they are quick to update. Read on to see how.
Sep 21, 2022
#
AWS Lambda
,
dotNet
Lambda function A/B Testing with .NET and Function URLs
With Lambda versions and aliases you can setup A/B testing for your functions. This example uses .NET 6 and Lambda Function URLs, but the same principles apply to other languages.
Aug 29, 2022
#
AWS
,
AWS Lambda
,
Function URLs
,
AWS Lambda Aliases
,
AWS Lambda Versions
,
dotNet
Simple Lambda Function with a Function URL
This is a simple Lambda function that uses a Function URL. This blog post will be referenced in more complicated examples.
Aug 25, 2022
#
AWS
,
AWS Lambda
,
Function URLs
,
dotNet
Working with Lambda function versions
If you want to experiment with code variations for a Lambda function, try Lambda versions. In this post, you’ll see how to deploy a stable and experimental version of the same function.
Aug 23, 2022
#
AWS
,
AWS Lambda
,
AWS Lambda Versions
,
dotNet
.NET 7 Custom Runtime for AWS Lambda
You can’t yet run .NET 7 on AWS Lambda functions with the familiar managed runtime, but you can with a custom runtime. Here are the few small steps you need.
Aug 2, 2022
#
AWS
,
AWS Lambda
,
dotnet7
,
dotNet7 Lambda
Signing calls to Lambda Function URLs using IAM auth with HttpClient
If you are using IAM auth with Lambda Function URLs, and you want to call the function using HttpClient from a .NET application, you need to sign the request. Read on to see how.
Jul 22, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Function URLs
,
IAM
Using a Memory Cache with .NET Lambda Functions
Even though Lambda functions are “serverless”, and even though there is no guarantee how long a function will remain “warm” for, you might still get good use out of a memory cache.
Jul 14, 2022
#
dotNet6
,
AWS Lambda
,
AWS
,
Memory Cache
,
Caching
,
Function URLs
«
»
Cite
×