aws-lambda How to develop aws-lambda(C#) on a local machine

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

As part of the Serverless movement, AWS recently announced C# support for AWS Lambda functions. In this article, I will show you how to develop, install and call a simple C# AWS Lambda Function using Visual Studio 2015.

Before you start this example, first go to the Remarks section of this document and make sure you have all of the required components installed.

Remarks

Install Required Components

At the time of this writing (Jan 2017), the following components will need to be installed on your machine in this order. The machine I used had Windows 10 Home installed.

  1. Visual Studio 2015 update 3
  2. AWS Toolkit for Visual Studio 2015 - version 1.11.2.0
  3. Microsoft .NET Core Tools (Preview 2) - version 14.1.21111.0

Each of these components are actively developed and released, so double check the links and versions and update this document when needed.

Each of these can take some time to install, so be patient, do one at a time to minimize mistakes.

Lastly, rebooting Windows before starting development is sad, but always a good idea after doing major development tool installations on a Windows box.



Got any aws-lambda Question?