Skip to content

Understanding how to write AWS serverless applications in .NET Core by practical examples.

Notifications You must be signed in to change notification settings

abelperezok/aws-serverless-netcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Creating AWS serverless applications in .NET Core from scratch

Note - This repository has been updated to use the latest stable version of .NET Core supported by AWS Lambda (.NET Core v3.1 LTS). For the previous version 2.1 see netcore2.1 section

Why from scratch?

most of the time when starting a new project using a new technology, we are provided with some templates/boilerplate to get started quickly without worrying too much about how to set everything up.

Some examples:

.NET Core Lambda CLI ( Github )

$ dotnet new lambda.EmptyFunction --name HelloLambda

AWS SAM CLI ( Github )

$ sam init -r dotnetcore3.1 -n HelloLambda

Serverless Framework ( Github ) It doesn't seem to have been updated to netcore 3.1 just yet.

$ serverless create --template aws-csharp --path HelloLambda

While this is great to just get started and quickly see "something working", it doesn't help us to understand the underlying technology plumbing logic that every time is more complex as we build on top of previously built layers.

In this tutorial, we are going to start with the bare minimum to get a Lambda function running and build from there. We'll progressively increase complexity in the examples.

Prerequisites

Verify everything is good to go.

$ aws --version
aws-cli/2.0.7 Python/3.7.3 Linux/5.4.0-4-amd64 botocore/2.0.0dev11
$ dotnet --version
3.1.201
$ sam --version
SAM CLI, version 0.47.0
$ docker --version
Docker version 19.03.8, build afacb8b7f0

Content

About

Understanding how to write AWS serverless applications in .NET Core by practical examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published