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
AWS Lambda
Lambda Cold Starts - .NET 7 Native AOT vs .NET 6 Managed Runtime
The release of .NET 7 brings with it a new way to compile and run .NET code - native AOT compilation. This post compares the cold start time of a Lambda function running on .NET 7 after native AOT compilation with the cold start time of a Lambda function running on .NET 6 with the managed runtime. The results are surprisingly good.
Nov 17, 2022
#
AWS
,
AWS Lambda
,
AOT
,
Cold Start
,
dotnet7
,
dotNet6
,
Function as a Service
Keeping your .NET Lambda Function Warm with Provisioned Concurrency
Cold starts with .NET AWS Lambda functions are a concern for some, but provisioned concurrency provides a simple and cost-effective way to keep your Lambda function warm.
Nov 4, 2022
#
AWS
,
AWS Lambda
,
Provisioned Concurrency
,
dotNet
,
Function as a Service
Using a Distributed Memory Cache with .NET Lambda Functions
There may be times when you want to share information between Lambda functions, using a distributed memory cache will help you do this.
Oct 28, 2022
#
AWS
,
AWS Lambda
,
Caching
,
dotNet
,
Memcached
,
Function URLs
,
Function as a Service
Caching Secrets Manager Secrets with a Lambda Layer
Lambda layers allow you to leverage functionality provided by AWS. This post shows how to use the AWS Parameters and Secrets Lambda Extension to cache Secrets Manager secrets.
Oct 20, 2022
#
AWS
,
AWS Lambda
,
Secrets Manager
,
dotNet
,
Function as a Service
Dependency Injection with the Lambda Annotations Library for .NET - Part 2, Lambda Functions
In part two of this series you will see how to perform constructor and method dependency injection on simple AWS Lambda functions (deployed with
dotnet lambda deploy-function
) using the new Amazon.Lambda.Annotations library.
Oct 17, 2022
#
AWS
,
AWS Lambda
,
Dependency Injection
,
dotNet
,
Function as a Service
Dependency Injection with the Lambda Annotations Library for .NET - Part 1, Lambda Applications
In part one of this series you will see how to perform constructor and method dependency injection on AWS Lambda applications (deployed with
dotnet lambda deploy-serverless
) using the new Amazon.Lambda.Annotations library.
Oct 15, 2022
#
AWS
,
AWS Lambda
,
Dependency Injection
,
dotNet
,
Function as a Service
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
,
Function URLs
,
Function as a Service
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
,
Function as a Service
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
,
Function as a Service
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
,
Function as a Service
«
»
Cite
×