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

Поделиться
HTML-код
  • Опубликовано: 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 5 дней назад

    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!

  • @CodeCraft101
    @CodeCraft101 Месяц назад

    Great work, very very helpful. Thanks

  • @Latif127
    @Latif127 Год назад +1

    I found it a very nice tutorial, thank you

  • @nikhilsavaliya1748
    @nikhilsavaliya1748 10 месяцев назад

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

  • @PiraoPuro
    @PiraoPuro Год назад +2

    Mr, thanks for share, helped me a lot.

  • @adkmdggd2431
    @adkmdggd2431 4 месяца назад

    Very nice demo. It's cleared the concept in first attempt about api gateway and lambda integration. Thanks

  • @Manuskiron
    @Manuskiron 2 месяца назад

    Great tutorial. Works excellent with .NET Core8

  • @prathamk3358
    @prathamk3358 10 месяцев назад

    Great explanation, it's really very helpful to start 🙂

  • @psyduk17
    @psyduk17 3 месяца назад

    excellent 👌

  • @virendrarathore5268
    @virendrarathore5268 5 месяцев назад

    Good Job

  • @neydiyaa4531
    @neydiyaa4531 4 месяца назад

    thankyou very much

  • @ccandido-ti43
    @ccandido-ti43 11 месяцев назад +1

    thanks🤘

  • @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.

  • @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.

  • @creeperchingon-db7ze
    @creeperchingon-db7ze 3 месяца назад

    so, if i only need integration with API Gatwey, does the deployment work?

  • @terencejoubert1320
    @terencejoubert1320 3 месяца назад +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/

  • @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

  • @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.

  • @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.

  • @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?

  • @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 4 месяца назад

    if its serverless why uploading VS Solution?

    • @coderjony9694
      @coderjony9694  4 месяца назад

      We’re not uploading the solution. We are just uploading compiled binaries. That’s how .NET code works.

  • @ericliu2325
    @ericliu2325 Месяц назад

    you failed to mention that i needed to install AWS Toolkit extension so that "Publish to AWS lambda..." shows up

    • @coderjony9694
      @coderjony9694  Месяц назад

      I forgot, not failed 😀

    • @ericliu2325
      @ericliu2325 Месяц назад

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