dotnet new -i Amazon.Lambda.Templates::*
(for the first time only)dotnet new lambda.AspNetCoreWebAPI --name MyFirstApi --profile default --region ap-northeast-1
cd MyFirstApi/src/MyFirstApi
code .
or Open Code -> Cmd + O -> Cmd + Shift + G -> input your working directory- add launch.json/tasks.json
- add configuration -> .NET Core
- created .vscode/launch.json, and modifiy
configurations[].program
"${workspaceRoot}/bin/Debug/<insert-target-framework-here>/<insert-project-name-here>.dll"
->"${workspaceRoot}/bin/Debug/netcoreapp1.0/MyFirstApi.dll"
- remove
.NET Core Launch (console)
config(optionally) - run debug
.NET Core Launch (web)
, maybe happend an error. and pressconfiguration task runner
->.NET Core
, created .vscode/tasks.json
- this project made be able to run locally, if you want to localtest, you try same procedure.
Created
October 4, 2017 05:17
-
-
Save 9bic/27ff43b253c51f0a84f85d9c966eff97 to your computer and use it in GitHub Desktop.
Deploy netcore to AWS Lambda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment