4

Amazon Releases .NET Lambda Annotations Framework

 1 year ago
source link: https://www.i-programmer.info/news/89-net/16526-amazon-releases-net-lambda-annotations-framework.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Amazon Releases .NET Lambda Annotations Framework

Banner
searchcog
Amazon Releases .NET Lambda Annotations Framework
Written by Kay Ewbank    Monday, 14 August 2023

Amazon has announced the general availability of the Lambda Annotations Framework for .NET. The framework provides a natural programming model for .NET developers to create AWS Lambda functions, and Amazon says the model should make the experience of writing Lambda in C# feel more natural for .NET developers by using C# Source Generators.

Lambda is a compute service that runs your code in response to events and automatically manages the computing resources for you. AWS Lambda starts running code within milliseconds of an event such as an image upload, in-app activity, website click, or output from a connected device.

awslogo

The new framework uses C# custom attributes and source generators to translate annotated Lambda functions to the regular Lambda programming model. They create new C# source code and incorporate that code during compilation. Amazon says the framework doesn't have an impact on Lambda startup times because it translates your code at compile time.

awslambda .net framework in Visual Studio

Source generators integrate into the C# compiler to generate the code when the .NET project is compiled. This means no additional tooling is required to use Lambda Annotations other than the Lambda Annotations NuGet package. Any Lambda deployment tooling using CloudFormation can use Lambda Annotations, including the AWS Toolkit for Visual Studio, Lambda .NET CLI or SAM.

Amazon says that the easiest way to start developing with the Lambda Annotations Framework is by downloading Visual studio 2022 and installing the AWS Toolkit for Visual Studio extension. You can then use the AWS Serverless Application project template that ships with the AWS Toolkit for Visual Studio to get started. Alternatively, developers can manually pull down the Amazon.Lambda.Annotations NuGet package into Serverless applications.

awslogo

More Information

AWS Lambda .NET On GitHub

AWS Toolkit for Visual Studio

Related Articles

Amazon Strengthens Lambda Offering

Amazon AWS Lambda

AWS Lambda For The Impatient Part 1

AWS Lambda For The Impatient Part 2

AWS Lambda For The Impatient Part 3

To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner

Summer SALE Kindle 9.99 Paperback $10 off!!

esp32book

Comments

or email your comment to: [email protected]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK