An Introduction to AWS API Gateway with AWS Lambda (.NET Core 3.1 Application)

Поделиться
HTML-код
  • Опубликовано: 10 апр 2021
  • In my previous video, I created an AWS Lambda function using .NET Core 3.1. In today's video, I will use the same AWS Lambda function with the AWS API Gateway feature to expose the lambda function as a REST API.
    The URL to the previous video on AWS lambda function is here: • Introduction to buildi...
    Creating a REST API using API Gateway and AWS Lambda is extremely easy and it just works. This is a very good solution to cook up a passion project very quickly.
    With AWS free tier API Gateway provides up to 1 million calls per month for 12 months. That is a huge number.
    In this video, I am going to create an API Gateway. And then will create a GET method and attach that to my existing AWS Lambda Function.
    After that, I will upgrade my AWS Lambda Function to use the API Gateway request object to find query string and use that as a part of the response.
    And finally, I will demonstrate using the same lambda function for handling a POST request as well.
    My website URL: dotnetcorecentral.com/
    My GitHub repo URL: github.com/choudhurynirjhar
  • НаукаНаука

Комментарии • 45

  • @christopher5731
    @christopher5731 3 года назад +4

    Your videos on this are fantastic. I am glad you keep in the parts where you are troubleshooting because it allows us to see some things to pay attention to. Keep up the good work and thanks!

  • @antarikshverma8999
    @antarikshverma8999 2 года назад

    Your videos are always lucid and clear. Thank you for awesome content.

  • @TheMostBeautifulSights
    @TheMostBeautifulSights 3 года назад

    Thank you very much ! It is really helpful with simple sample and specific function that I need.

  • @Latif127
    @Latif127 3 года назад

    Your tutorials are awesome.

  • @ManinderSingh-pf2eg
    @ManinderSingh-pf2eg 2 года назад

    Really Appreciate your efforts.

  • @roycekuma839
    @roycekuma839 3 года назад

    Thanks heaps.

  • @ishitabiswas9947
    @ishitabiswas9947 3 года назад

    Great video

  • @mahendranchinnaiah7593
    @mahendranchinnaiah7593 3 года назад

    Thanks billion. Pls plan for Azure services once you covered all the topics in AWS.Again appreciate your effort...

    • @DotNetCoreCentral
      @DotNetCoreCentral  3 года назад

      @Mahendran Chinnaiah, thanks as always for watching! I will definitely start Azure once I complete the series on AWS.

  • @muralikrishna2118
    @muralikrishna2118 2 года назад +1

    your vedios are awsome .can you please let me know how to retrive headers

  • @mohammedalagab4323
    @mohammedalagab4323 2 года назад

    how to retrieve a list of images use lambda function or api gateway?

  • @gamerat30
    @gamerat30 2 года назад

    Hi Bro,
    Can we write multiple function handlers in Single file (Class). kindly make a tutorial regarding this 🙏

  • @cloud_architector
    @cloud_architector 3 года назад

    is there a way to add validators for QueryStringParameters? like @middy/validator for sls in nodejs?

    • @DotNetCoreCentral
      @DotNetCoreCentral  3 года назад

      @Denys Medvediev, you can validate the query parameters inside of the lambda creating a validator class and call it from the first line. I am not sure if it is possible to do it through an attribute.

  • @praneethsign
    @praneethsign 3 года назад

    Hey thanks for this video
    Can u create IAM role
    and access in Visual studio..
    my lambda function executing locally
    and not showing in AWS IAM function

    • @DotNetCoreCentral
      @DotNetCoreCentral  3 года назад

      @Praneeth Reddy, thanks for watching! I did a video on how to access AWS services like S3 from local PC using key/secret. This should help you: ruclips.net/video/ny94v86irGU/видео.html

  • @ishitabiswas9947
    @ishitabiswas9947 3 года назад

    Can you also give a demo on the advanced configurations like setting up authorization

    • @DotNetCoreCentral
      @DotNetCoreCentral  3 года назад

      @Ishita Biswas, sure I will do it in one of the future videos in couple of weeks.

  • @ManinderSingh-pf2eg
    @ManinderSingh-pf2eg 2 года назад

    Can you please Make a video for Lambda with S3 bucket file upload, read and download in .net core?

  • @avner264
    @avner264 3 года назад

    hey do you know how debug? i can't get the parameters by mock test tool
    Thank you! you help me a loot

    • @DotNetCoreCentral
      @DotNetCoreCentral  3 года назад

      @Avner Pinheiro, thanks for watching! Debugging in API gateway or in the Lambda? For API Gateway there is no real way to debug apart from checking logs. For Lambda you can, and I intend to cover that in my upcoming video.

  • @Dhandapanii
    @Dhandapanii 2 года назад

    A good way to start a day... Can you do a video on accessing SQL DB from lambda functions with Authentication and Authorization?

  • @valirjonathan2161
    @valirjonathan2161 3 года назад

    Can you please do a tutorial video on authentication and authorization so that it shows how to secure an API Gateway? For example, I have a simple page in S3 which calls an API, how to secure it so that only logged in users can access it. Thank you.

  • @Rahulsapkota
    @Rahulsapkota 2 года назад

    can you please make a video on triggering the console application inside docker from sqs

    • @DotNetCoreCentral
      @DotNetCoreCentral  2 года назад

      @Rahul sapkota, thanks for watching!
      There is no way to trigger a call from SQS to a console inside docker, in the case of the console application, you need to call SQS in a loop and get messages.

    • @Rahulsapkota
      @Rahulsapkota 2 года назад

      @@DotNetCoreCentral so any suggestion whether i need to do it through sns or how its done?

    • @DotNetCoreCentral
      @DotNetCoreCentral  2 года назад

      @@Rahulsapkota SNS also does not directly push messages to a Console app running in Docker, it can push messages to an HTTP endpoint. I usually use Amazon RabbitMQ if I need to build reactive applications which will react to a message from queue and work as a console.

    • @Rahulsapkota
      @Rahulsapkota 2 года назад

      @@DotNetCoreCentral do you have any video for this setting it up and using it

  • @cloud_architector
    @cloud_architector 3 года назад

    How to debug the func?

    • @DotNetCoreCentral
      @DotNetCoreCentral  3 года назад

      @Denys Medvediev, I will be doing a video on that shortly.

    • @cloud_architector
      @cloud_architector 3 года назад

      @@DotNetCoreCentral I found a way to do it, but the video still appreciated!

  • @MiekyYudinata
    @MiekyYudinata 2 года назад

    Is it possible if I use HTTP API, not REST API?

    • @DotNetCoreCentral
      @DotNetCoreCentral  2 года назад

      @Mieky Yudinata, I am not sure what is HHTP API, do you mean HTTP API?

    • @MiekyYudinata
      @MiekyYudinata 2 года назад

      @@DotNetCoreCentral Ah my bad. Sorry for typo. Yes that's what I mean. Is it possible?

    • @DotNetCoreCentral
      @DotNetCoreCentral  2 года назад

      @@MiekyYudinata yes it works with HTTP API as well