Saturday, March 5, 2022

AWS .NET 6


Start of 2022, Microsoft announced .NET 6, which has the advantages of new .NET language features and performance optimizations. Ref: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-6

Last week, AWS Lambda started to support .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.

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.

No comments:

Post a Comment