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.