Skip to content
Example AWS Lambda C# .NET Core 3 (and 2.2) by LambdaNative and CoreRT for optimize cold start
C# Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/aws-lambda-lambdanative
test/aws-lambda-lambdanative.Tests
.gitignore
README.MD
lambdabative-lambdapage-setting.png
lambdabative-lambdapage-test-result.png
lambdabative-lambdapage-test.png

README.MD

Example AWS Lambda C# .NET Core 3 (and 2.2) by LambdaNative and CoreRT for optimize cold start

Example for LambdaNative

Dependency

Step to build and deploy

I'm using Docker for create build environment (Linux) and using AWS ClI deploy to S3

Run Unit test

cd test/aws-lambda-lambdanative.Tests
dotnet test

Create docker for build

docker build -t lambdanative .

Build file and packing to package.zip

sh build_linux.sh

Upload to aws s3

aws s3 cp package.zip s3://[S3-FOLDER] [--profile AWS-PROFILE-NAME]

Go to lambda page and choose upload via s3 url, runtime: custom, handler: up to you

Setting

Try to test

Testing

Test Result

Testing

You can’t perform that action at this time.