Building a Serverless ASP.NET Core Web API using AWS Lambda and Amazon API Gateway REST API

  Рет қаралды 10,289

Coderjony

Coderjony

Жыл бұрын

In this video, you will learn how to build a Serverless ASP.NET Core API using AWS Lambda and Amazon API Gateway.
Notion link - resonant-cement-f3c.notion.si...
Fixing CORS issue in .NET 6 - nodogmablog.bryanhogan.net/20...
Additional Watch
📺Building Serverless .NET APIs using AWS Lambda, Amazon API Gateway, and Amazon Cognito • Building Serverless .N...

Пікірлер: 41
@AceCorban
@AceCorban 11 күн бұрын
This was super helpful and easy to follow. I made a couple mistakes that I think mostly revolved around not updating the handler name to reference my project name when deploying it, which took me down a deep rabbit hole of errors and posts (which also helped me discover a hidden authorization error with my user setup). But in the end, that helped me understand the configuration stuff quite a bit better.
@syneticsolutions344
@syneticsolutions344 9 ай бұрын
This is an excellent tutorial. Very well done!
@nikhilsavaliya1748
@nikhilsavaliya1748 10 ай бұрын
I found it very nice tutorial, very neat and simple.
@Latif127
@Latif127 Жыл бұрын
I found it a very nice tutorial, thank you
@CodeCraft101
@CodeCraft101 Ай бұрын
Great work, very very helpful. Thanks
@coderjony9694
@coderjony9694 Ай бұрын
Glad to hear that!
@prathamk3358
@prathamk3358 10 ай бұрын
Great explanation, it's really very helpful to start 🙂
@virendrarathore5268
@virendrarathore5268 5 ай бұрын
Good Job
@psyduk17
@psyduk17 3 ай бұрын
excellent 👌
@PiraoPuro
@PiraoPuro Жыл бұрын
Mr, thanks for share, helped me a lot.
@coderjony9694
@coderjony9694 Жыл бұрын
Glad to hear that it helped you!
@adkmdggd2431
@adkmdggd2431 4 ай бұрын
Very nice demo. It's cleared the concept in first attempt about api gateway and lambda integration. Thanks
@coderjony9694
@coderjony9694 4 ай бұрын
Glad the video helped you!
@Manuskiron
@Manuskiron 2 ай бұрын
Great tutorial. Works excellent with .NET Core8
@coderjony9694
@coderjony9694 2 ай бұрын
Glad the video was helpful!
@neydiyaa4531
@neydiyaa4531 4 ай бұрын
thankyou very much
@TheIcecoldorange
@TheIcecoldorange 2 ай бұрын
Very helpful! Can you go over how source control would fit in here? I want to record changes to my web apis in a repository but this video skips over that step.
@ccandido-ti43
@ccandido-ti43 Жыл бұрын
thanks🤘
@creeperchingon-db7ze
@creeperchingon-db7ze 4 ай бұрын
so, if i only need integration with API Gatwey, does the deployment work?
@RaviKumarSrivastava-ss6le
@RaviKumarSrivastava-ss6le 3 ай бұрын
i followed all the steps but still getting the Internal server exception when i run the API, please suggest
@ShivaArts65
@ShivaArts65 3 ай бұрын
i did all the same process but still i am getting internal server exception, please suggest
@terencejoubert1320
@terencejoubert1320 4 ай бұрын
Thank you. This is a great video introducing Lambda and API Gateway to .NET Web API developers. However, it is not quite clear to me why I would need the API Gateway if my APIs are working fine as a Lambda function over a function URL. What added benefits does API Gateway bring into play?
@coderjony9694
@coderjony9694 3 ай бұрын
API Gateway provides a considerably broader set of functionality and is specifically designed to expose APIs. Furthermore, refer to this post to understand more -www.antstack.com/blog/aws-lambda-function-urls-vs-amazon-api-gateway/
@DguruZ
@DguruZ 9 ай бұрын
Great video, one question, is it recommendable to convert your api madre with EF to lambda?
@coderjony9694
@coderjony9694 9 ай бұрын
It all depends on how many requests you expect from your Lambda. If it is only a few hundreds a day, it is fine; however, if you have a big number of requests to Lambda, you will eventually have a high number of requests to Database. Because Lambda compute terminates after a certain period of idle time, connection pooling is not done, resulting in a large number of open database connections. This may cause timeouts, and the database might reach its maximum connection limit. So, either use EC2/ECS or RDS Proxy in such case.
@commandmo5173
@commandmo5173 3 ай бұрын
I've followed every step and I still can't see the button to 'publish to aws lambda'
@coderjony9694
@coderjony9694 3 ай бұрын
Did you update csproj file as instructed in the video?
@miguelangelvelarde
@miguelangelvelarde 9 ай бұрын
if the API is or will be a private API, can I use only URL Lambda? I mean, it is Ok to use this approach?
@coderjony9694
@coderjony9694 9 ай бұрын
If you want to use the Lambda function publicly, then you can setup a new API Gateway and use the same Lambda function in backend. But, If you want to use Function URL feature along with private API Gateway with the same Lambda function in backend, then this doesn't seem easily doable because REST API uses LambdaEventSource.RestApi, while Function URL uses LambdaEventSource.HttpApi.
@cyberspace_juncture1029
@cyberspace_juncture1029 5 ай бұрын
Publish to AWS lambda option is not showing in my .net 6 . I already used nudget but still getting problem please help me out.
@coderjony9694
@coderjony9694 5 ай бұрын
You have to update csproj for that. May be you missed that part in the video. Please watch it again carefully.
@nikhilsavaliya1748
@nikhilsavaliya1748 10 ай бұрын
can you make another video for post API?
@coderjony9694
@coderjony9694 10 ай бұрын
You can create a POST action in the same .NET 6 API, it will work the same way as we are using proxy integration with proxy resources.
@99vikram99
@99vikram99 9 ай бұрын
Hellow friend, i did all the steps and facing the "message": "Internal server error" in after integrating with API Gateway. how to solve this error. I am struggling with this error whole day. Can you help me to solve this?
@coderjony9694
@coderjony9694 9 ай бұрын
Hello, here are some troubleshooting hints: - In the following code, make sure you use HttpApi for Function URL and RestApi when using API Gateway: "builder.Services.AddAWSLambdaHosting(LambdaEventSource.HttpApi);" - Make sure you provide your assembly name as Function Handler name. - Verify that the API endpoint works locally before testing it on AWS. Hope this should help!
@codefun1630
@codefun1630 8 ай бұрын
same@@coderjony9694
@johnsilva703
@johnsilva703 5 ай бұрын
if its serverless why uploading VS Solution?
@coderjony9694
@coderjony9694 5 ай бұрын
We’re not uploading the solution. We are just uploading compiled binaries. That’s how .NET code works.
@ericliu2325
@ericliu2325 2 ай бұрын
you failed to mention that i needed to install AWS Toolkit extension so that "Publish to AWS lambda..." shows up
@coderjony9694
@coderjony9694 2 ай бұрын
I forgot, not failed 😀
@ericliu2325
@ericliu2325 2 ай бұрын
@@coderjony9694 you should put a caption somewhere saying you need to install that toolkit and then create a video on how to set that up and connect your was account ;)
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 59 МЛН
Beautiful gymnastics 😍☺️
00:15
Lexa_Merin
Рет қаралды 14 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
Getting started with AWS DynamoDB in .NET
25:01
Nick Chapsas
Рет қаралды 22 М.
C# (.NET 6) on Lambda with Multiple Handler, API Gateways
1:02:23
Dot Net Learners House
Рет қаралды 3,4 М.
Deploying ASP.NET Core Web Apps on AWS Elastic Beanstalk
27:51
Amazon API Gateway for .NET Developers | CRUD with AWS Lambda & DynamoDB
26:30
Deploy .NET Core to AWS Elastic Beanstalk with RDS Database
40:46
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 58 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 671 М.