Maintained with ☕️ by
IcePanel logo

AWS Lambda adds support for .NET 6



AWS Lambda now supports .NET 6 as both a managed runtime and a container base image. 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 blog post at [.NET 6 runtime now available in AWS Lambda.]( To build and deploy Lambda functions using .NET 6, use the [.NET Core CLI](, [AWS Toolkit for Visual Studio](, or [AWS Serverless Application Model (AWS SAM)]( Additionally, you can also use the [AWS-provided .NET 6 base image]( to build and deploy .NET 6 functions using a container image. To migrate existing Lambda functions running earlier .NET versions, see the blog post linked above. .NET 6 is the latest long-term support (LTS) release of .NET and will be supported for security and bug fixes until November 2024\. AWS will automatically apply updates to the .NET 6 managed runtime and to the AWS-provided .NET 6 base image, as they become available. The .NET 6 runtime is available in all [Regions where Lambda is available](/about-aws/global-infrastructure/regional-product-services/), except for the AWS China Regions. Visit our [product page](/lambda/) for more information about AWS Lambda or sign in to the [AWS Lambda console]( to get started.