Posted On: Mar 23, 2022

Amazon Lambda now supports .NET 6 as both a managed runtime and a container base image in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and the Amazon Web Services China (Ningxia) Region, operated by NWCD. Developers creating serverless applications in Lambda with .NET 6 can take advantage of new features such as improved logging, simplified function definitions using top-level statements, and improved performance using source generators. Using .NET 6 also lets you take advantage of new .NET language features and performance optimizations. For more information on Lambda’s support for .NET 6, see our product documentation.

To build and deploy Lambda functions using .NET 6, use the .NET Core CLI, Amazon Toolkit for Visual Studio, or Amazon Serverless Application Model (SAM). Additionally, you can also use the Amazon Web Services-provided .NET 6 base image to build and deploy .NET 6 functions using a container image.

.NET 6 is the latest long-term support (LTS) release of .NET and will be supported for security and bug fixes until November 2024. Amazon Lambda will automatically apply updates to the .NET 6 managed runtime and to the Amazon Web Services-provided .NET 6 base image, as they become available.

The .NET 6 runtime in Amazon Lambda is now available in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD. Visit our product page for more information about Amazon Lambda or sign in to the Amazon Lambda console to get started.