Presentation and instructions for setting up and running serverless AWS Lambda with .NET.
The presentation has links for the tools you need to setup. You can create the sample project using this:
# Install the Lambda tools globally
dotnet tool install -g Amazon.Lambda.Tools
# Install the Lambda templates for dotnet new
dotnet new -i "Amazon.Lambda.Templates::*"
# Create a new project template
dotnet new serverless.DynamoDBBlogAPI -n ServerlessExample
This example is called "serverless" but is a different example from the Serverless Framework. This example uses CloudFormation from AWS instead to automate deployment. You may find the syntax and patterns of the Serverless Framework easier to follow, and you can drop down to CloudFormation if you need to do something that's not supported.
AWS also has documentation on .NET Core CLI that are helpful to get started and get your bearings around the templates.
- AWS Secrets Manager
- AWS System Manager Parameter Store
- Whynamo: Why you might not want to use DynamoDB even though it looks super attractive and easy!
- LambCI: Lambda runtime in a Docker container