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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มี.ค. 2023
  • 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 หลายเดือนก่อน +1

    This is an excellent tutorial. Very well done!

  • @nikhilsavaliya1748
    @nikhilsavaliya1748 10 หลายเดือนก่อน

    I found it very nice tutorial, very neat and simple.

  • @Latif127
    @Latif127 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

    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 หลายเดือนก่อน +1

    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 หลายเดือนก่อน +1

      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 ;)