In this course, developers who use C# will learn how to create and deploy .NET applications in AWS Cloud using AWS Lambda. It includes step-by-step tutorials and an Amazon Web Services (AWS) lab.
Activities
This course includes tutorials, and a lab
Course objectives
In this course, you will learn how to:
- Recognize the benefits and basic functionalities of using Lambda.
- Identify guidelines and considerations when using .NET on Lambda.
- Create, deploy, run, test, and debug .NET Lambda functions.
- Explore how Lambda works with other AWS services.
Intended audience
.NET developers who want to build and host .NET applications on AWS
Prerequisites
Prior experience using C#, .NET tools, and familiarity with the AWS Management Console
Course outline
Module 1: .Net Workloads on AWS Course
Lesson 1: Course Navigation
Lesson 2: Introduction
- Introduction to serverless computing
- Introduction to AWS Lambda
- Tutorial 1: .NET Tools for AWS Lambda
- Tutorial 2: The Hello World of Lambda Functions
- Tutorial 3: A .NET API Running in a Lambda Function
Lesson 3: .NET on AWS Lambda
- Supported versions of .NET
- AWS SDK for .NET
- Invoking a .NET Lambda function
- Cold starts and warm starts
- Tutorial 4: A Hello World Style .NET Lambda Function
- Tutorial 5: A .NET Lambda Function That Takes a JSON Payload
- Tutorial 6: Creating and Running a Web API Application as a Lambda Function
Lesson 4: Working with Other AWS Services
- Three ways for Lambda to work with other AWS services
- Tutorial 7: Accessing AWS Services from a Lambda Function
- Tutorial 8: Allowing Other Services to Invoke Lambda Functions
Lesson 5: Testing and Debugging Lambda Functions
- Various ways to test a Lambda function
- Testing your Lambda function on AWS
- Debugging your Lambda functions
- Tutorial 9: Testing with the xUnit Test Project Template
- Tutorial 10: Testing with the AWS .NET Mock Lambda Test Tool
- Tutorial 11: Containers and the Runtime Interface Emulator
Lesson 6: Conclusion
- Additional resources
Module 2: Create and Deploy .Net Workloads on AWS Lambda (LAB)
- Part 1: A .NET 6 Web App running on Arm64
- Part 2: Invoking a Lambda function from a C# program on your computer
- Part 3: Invoking one Lambda function from another