Skip to content
This repository was archived by the owner on Jul 16, 2022. It is now read-only.

Upgrade Lambda Serverless ASP.NET Core Web API to .NET Core 3.0 with custom runtime #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaeldimoudis
Copy link
Owner

@michaeldimoudis michaeldimoudis commented Oct 19, 2019

Follow up on my blog post, this PR updates the sample app to ASP.NET Core 3.0. Please read the October 2019 update for more context.

This is thanks to the samples over at aws/aws-lambda-dotnet#481

Note: This needs to be compiled in AWS CodeBuild to take advantage of PublishReadyToRun=true, however if you want to compile this on your PC you'll need to remove /p:PublishReadyToRun=true from aws-lambda-tools-defaults.json.

@richardkeller411
Copy link

Hi guys, has anyone implemented a customruntime and used Amazon.Lambda.AspNetCoreServer.ApplicationLoadBalancerFunction instead of Amazon.Lambda.AspNetCoreServer.APIGatewayProxyFunction

The samples for Main method depend on the HandleWrapper but don't support the class change to the ALB. Any ideas or guidance would help.

@michaeldimoudis michaeldimoudis force-pushed the netcore-3-runtime-upgrade branch from 5fab067 to 4e1b94c Compare October 26, 2019 01:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants