DEV Community

loading...

Discussion on: Deploy a .NET Core Web API with AWS Lambda and the serverless framework

Collapse
schwamster profile image
Bastian Author

thanks, glad you enjoyed it.

2) Did you add the LambdaEntryPoint.cs file as described in "Add the lambda entry point (handler)"? In that file you derrive from the class "APIGatewayProxyFunction" that does contain the FunctionHandlerAsync => github.com/aws/aws-lambda-dotnet/b... This class is part of the nuget package "Amazon.Lambda.AspNetCoreServer" that you added in the section before

3) yes there would be no real difference. you would build and deploy. Optimally you have a build image prepared that has all of the necessary tools, .net core sdk, serverless framework, lambda tools. You might want to pass some parameters to the serverless framework if you for example want to deploy to different environments (serverless.com/framework/docs/prov...)

Hope this helps