BT

InfoQ Homepage News AWS Lambda Now Supports .NET Core 2.0 for Serverless Applications

AWS Lambda Now Supports .NET Core 2.0 for Serverless Applications

This item in japanese

Bookmarks

Amazon has announced .NET Core 2.0 support for AWS Lambda functions and serverless applications.  Developers can now write code in C# using the .NET Core 2.0 for Lambda functions and serverless applications running on AWS.

In February 2017 Amazon started the support for the C# programming language allowing .NET developers to publish C# code to the service using the .NET Core 1.0 runtime open source tool. Moreover, developers could begin building Lambda functions and serverless applications using C# on AWS. With the release of .NET Core 2.0 in August 2017, which provides better performance at runtime and extended cross-platform support, Amazon followed up with the backing for this .NET Core release.

Lambda is a service in AWS that lets you run code without provisioning or managing any infrastructure. It is a serverless capability in AWS, with auto scaling, high availability and pay-as-you-go serverless features, where you can execute code that can respond to events, such as a change in an Amazon S3 bucket. Furthermore, a developer can choose to use the C# language and code in Visual Studio 2017, for which Amazon provides an AWS Toolkit including templates for individual C# Lambda. 

Deployment from Visual Studio can be accomplished by right-clicking your Lambda project and selecting "Publish to AWS Lambda". Developers can also create a C# Lambda function manually by specifying the Lambda runtime parameter as "dotnetcore2.0". Subsequently, they can upload a ZIP of all NuGet dependencies as well as their own published DLL assemblies through the AWS CLI or AWS Lambda console.

The three big Cloud Providers Microsoft, Amazon, and Google, all offer the capability to run serverless applications on their platforms. However, the number of languages supported varies. Both AWS and Microsoft are increasing their function language runtimes by adding support for more languages. Microsoft Azure Functions supports various languages, including Java; and AWS supports Java, Python, JavaScript, C# using .NET Core 1.0 and 2.0, and recently added the Go language. Google Cloud Functions currently only supports JavaScript. The addition of .NET Core 2.0 support by Amazon shows the commitment it is making in promoting .NET for AWS.

Additional information on AWS Lambda .NET Core 2.0 can be found on the AWS Developers blog. Support for .NET Core 2.0 is available in any region that offers AWS Lambda, and the full documentation is available on the AWS Lambda documentation site.
 

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.