File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33This example shows how to deploy an ASP.NET application using the Lambda Web Adapter packaged as a ZIP file.
44
5- The ` dotnet6 ` runtime is used.
5+ The ` dotnet8 ` runtime is used.
66
77``` yaml
88Resources :
@@ -28,7 +28,7 @@ Resources:
2828
2929## Build & Deploy
3030
31- Make sure .NET 6 is already installed. Run the following commands on a x86_64 machine.
31+ Make sure .NET 8 is already installed. Run the following commands on a x86_64 machine.
3232
3333` ` ` shell
3434sam build --use-container
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net6 .0</TargetFramework >
4+ <TargetFramework >net8 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 </PropertyGroup >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Transform: AWS::Serverless-2016-10-31
44Globals :
55 Function :
66 MemorySize : 1024
7- Runtime : dotnet6
7+ Runtime : dotnet8
88 Architectures :
99 - x86_64
1010 Timeout : 29
Original file line number Diff line number Diff line change 22
33This example shows how to deploy an ASP.NET application using the Lambda Web Adapter packaged as a ZIP file.
44
5- The ` dotnet6 ` runtime is used.
5+ The ` dotnet8 ` runtime is used.
66
77``` yaml
88Resources :
@@ -36,7 +36,7 @@ A shell script is used as the handler to startup the ASP.NET web application.
3636
3737## Build & Deploy
3838
39- Make sure .NET 6 is already installed. Run the following commands on a x86_64 machine.
39+ Make sure .NET 8 is already installed. Run the following commands on a x86_64 machine.
4040
4141``` shell
4242sam build --use-container
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net6 .0</TargetFramework >
4+ <TargetFramework >net8 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <InvariantGlobalization >true</InvariantGlobalization >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Transform: AWS::Serverless-2016-10-31
44Globals :
55 Function :
66 MemorySize : 1024
7- Runtime : dotnet6
7+ Runtime : dotnet8
88 Architectures :
99 - x86_64
1010 Timeout : 29
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Resources:
1616 Properties :
1717 CodeUri : hello-world/
1818 Handler : run.sh
19- Runtime : nodejs18 .x
19+ Runtime : nodejs22 .x
2020 MemorySize : 1024
2121 Architectures :
2222 - x86_64
You can’t perform that action at this time.
0 commit comments