Preparing a Local Development Environment
Learn how to set up the AWS development environment locally.
Before we can start developing .NET AWS Lambda applications locally, there are a few basic prerequisites:
A machine running Windows, macOS, or Linux
The latest version of .NET SDK
An appropriate IDE or a code editor
Depending on the operating system, we can use one of the following:
Visual Studio (Windows only)
Visual Studio Code (all operating systems)
JetBrains Rider (all operating systems)
Note: While there is a version of Visual Studio available on Mac, it’s limited in its features compared to the Windows version, and it will be fully retired after August 2024.
Configuring the AWS development environment
To develop an AWS Lambda application in .NET, we will need the following components:
AWS Lambda project templates
AWS Lambda Test Tool
Installing required dependencies on Visual Studio
If we’re running Visual Studio on Windows, these components can be installed using the AWS Toolkit Visual Studio plugin. Once they’re installed, we can create a new AWS Lambda project from one of several templates. We can find all the available templates by typing “AWS” in the search bar in the “Create a new project” dialog.
Get hands-on with 1400+ tech skills courses.