Posted On: Mar 31, 2020
You can now develop AWS Lambda functions using .NET Core 3.1. This is the latest LTS release of .NET Core. It has new features like partial class support for razor components, support for shared queues, unwrapping of exceptions, and parameters passing to top-level components. Lambda functions written in .NET Core 3.1 run on Amazon Linux 2, the latest generation of Amazon Linux. You can read the .NET Core programming model in the AWS Lambda documentation to learn more about writing functions in .NET Core 3.1.
To get started, upload your code through the AWS Lambda console or AWS CLI and select the .NET Core 3.1 runtime. You can also use AWS Serverless Application Model (SAM) and AWS CloudFormation for deploying and managing your serverless applications authored in .NET Core 3.1. To migrate existing AWS Lambda functions running in .NET Core 2.1 (C#/PowerShell) to .NET Core 3.1, update your code to be compatible with .NET Core 3.1 and Amazon Linux 2, and then update the function runtime to .NET Core 3.1.