Posted On: Mar 31, 2020
You can now develop Amazon 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 Amazon Lambda documentation to learn more about writing functions in .NET Core 3.1.
To get started, upload your code through the Amazon Lambda console or v CLI and select the .NET Core 3.1 runtime. You can also use Amazon Serverless Application Model (SAM) and Amazon CloudFormation for deploying and managing your serverless applications authored in .NET Core 3.1. To migrate existing Amazon 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.
The .NET Core 3.1 runtime is available in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD. Please visit our product page for more information about Amazon Lambda or log in to the Amazon Lambda console to get started.