AWS Lambda Now Supports .NET Core 2.0 for Serverless Applications

| by Steef-Jan Wiggers Follow 7 Followers on Jan 26, 2018. Estimated reading time: 2 minutes |

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 Stage

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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you