AWS Lambda C# Layer with Serverless Framework

Use a C# layer to share code between services

Key Features

Share Code Between C# Lambda Functions
Avoid Slow Deployments
Publish C# Binary File as AWS Lambda Layer

Detailed Overview

Motivation for this template comes from the fact that the vast majority of examples are written in NodeJS for AWS Lambda Layers.

We will show a simple use case where two lambda functions written in C# will use the same class library deployed as lambda layer.

We leverage the Serverless Framework to handle deploying our IAC.

Serverless Framework
AWS CloudFormation

Almir Zulic

Almir Zulic is a Senior Serverless Developer at Serverless Guru who specializes in building enterprise serverless applications.