Skip to content
Example AWS Lambda C# .NET Core 3.0 Release though Custom Runtime (Amazon.Lambda.RuntimeSupport) with connect MySQL and Dapper
C# 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-netcore3-dapper
test/aws-lambda-crt-db.Tests
.gitignore
Readme.md

Readme.md

Example AWS Lambda C# .NET Core 3.0 Release though Custom Runtime (Amazon.Lambda.RuntimeSupport) with connect MySQL and Dapper

Example for optimize cold start with Amazon.Lambda.RuntimeSupport

This code to show about

  • Example code for using Amazon.Lambda.RuntimeSupport and connect MySQL and Dapper

Test and Deploy with AWS CLI

Deploy

$ cd src/aws-lambda-netcore3-dapper
$ dotnet lambda deploy-function {LAMBDA_FUNCTION_NAME} –-function-role {ROLE_NAME}

Try to Run and Get result

$ cd src/aws-lambda-netcore3-dapper
$ aws lambda invoke --function-name {LAMBDA_FUNCTION_NAME} output.txt
You can’t perform that action at this time.