You can run your .NET application in Lambda using the managed .NET 8 runtime, a custom runtime, or a container image. After your application code is compiled, you can deploy it to Lambda either as a .zip file or a container image. Lambda provides the following runtimes for .NET languages:
Name Identifier Operating system Deprecation date Block function create Block function update.NET 9 (container only)
dotnet9
Amazon Linux 2023
Not scheduled
Not scheduled
Not scheduled
.NET 8
dotnet8
Amazon Linux 2023
Nov 10, 2026
Dec 10, 2026
Jan 11, 2027
Setting up your .NET development environmentTo develop and build your Lambda functions, you can use any of the commonly available .NET integrated development environments (IDEs), including Microsoft Visual Studio, Visual Studio Code, and JetBrains Rider. To simplify your development experience, AWS provides a set of .NET project templates, as well as the Amazon.Lambda.Tools
command line interface (CLI).
Run the following .NET CLI commands to install these project templates and command line tools.
Installing the .NET project templatesTo install the project templates, run the following command:
dotnet new install Amazon.Lambda.Templates
Installing and updating the CLI tools
Run the following commands to install, update, and uninstall the Amazon.Lambda.Tools
CLI.
To install the command line tools:
dotnet tool install -g Amazon.Lambda.Tools
To update the command line tools:
dotnet tool update -g Amazon.Lambda.Tools
To uninstall the command line tools:
dotnet tool uninstall -g Amazon.Lambda.Tools
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4