.NET 7 Minimal API with native AOT on AWS Lambda

Описание к видео .NET 7 Minimal API with native AOT on AWS Lambda

In this video you will learn how you can use minimal API's with .NET 7 on AWS Lambda using native Ahead of Time Compilation with the AWS Serverless Application Model.

AWS Lambda will not support .NET 7 as a managed runtime as it is not an long term support release. However, with NativeAOT compilation going GA this opens up the possibility of running .NET applications on Lambda using a custom runtime.

An important caveat, Microsoft is not officially supporting ASP.NET with native AOT on .NET 7. It is completely functional in this example, but there may be some scenarios in which ASP.NET will not work.

00:00 - Introduction
00:35 - IMPORTANT caveats
01:15 - Starting Project
02:00 - .csproj updates
03:20 - Source Generated Serialization
05:15 - Source Generated Serializers with ASP.NET
06:30 - Managing trimming
08:25 - API Code Updates
14:30 - Validation Endpoint Middleware
17:20 - SAM Template
18:35 - Performance
20:15 - Recap

NativeAOT - https://learn.microsoft.com/en-us/dot...
Native AOT with AWS SAM -    • .NET 7 native AOT with AWS SAM  
Benchmarks - https://github.com/aws-samples/server...
Trimming Options - https://learn.microsoft.com/en-us/dot...
ASP.NET AOT warnings - https://github.com/dotnet/aspnetcore/...
ASP.NET AOT Project Templates - https://github.com/dotnet/aspnetcore/...
AWS SAM - https://aws.amazon.com/serverless/sam/

Web - https://serverlessdotnet.dev
Twitter -   / plantpowerjames  
LinkedIn -   / james-eastham  

Комментарии

Информация по комментариям в разработке