Serverless ASP.NET Core Web API with AWS Lambda | Super Affordable .NET Hosting

preview_player
Показать описание

Hosting ASP.NET Core WebAPI in AWS Lambda is way more powerful than you might think. Superior Performance, Auto Scaling Resources, and Super Affordable Pricing. In fact, you get almost 1 Million FREE Requests per month with AWS Lambda. In this video, we will explore and learn this approach.

Chapters ⌚
0:00 - Introduction
1:07 - Prerequisites
1:51 - Building a .NET 8 Web API
3:10 - Installing the Lambda Hosting Package
4:35 - Deploying ASP.NET Core Web API to AWS Lambda with CLI
6:33 - Function URLs
8:18 - Environment Variables
9:31 - Loading Configurations from JSON
12:20 - Products API
17:39 - When to deploy ASP.NET Core Web API to AWS Lambda
20:05 - Outro

⭐ Support my Work:

✉️ Join my .NET newsletter:

Let's Connect!

#dotnet #aws #serverless
Рекомендации по теме
Комментарии
Автор

I enjoyed your tutorial, condensed and to the point. Just a request, the background music is very distracting and I couldn't concentrate, didn't work well when speeding up the video, you can check with other's opinion but I haven't come across any learning sites (udemy, pluralsight, linkedin etc, .) that adds background music to coding tutorials.

softveda
Автор

great video, thanks Mukesh, really clear explanation. What a cool feature.

MatthewThirteenFourtyFour
Автор

Great tutorial, but I got internal server error after deployed, in cloud watch it said some dll not found, please help

frankieyeung
Автор

Possible to Host Dotnet web Application Framework 4.7 on aws lambda?

hariharanm
Автор

Nice walkthrough. Will Web API (Native AOT( supports this deployment. Please provide guide on that.

ganeshgm
Автор

Nice video. One of the first I have seen on .NET 8. Being new to AWS Lambda what are you using to test your functions locally? From what I understand the SAM CLI tool only supports .NET 6 still. Any guidance or suggestions would be much appreciated.

jimshadrick
Автор

Hello Mukesh, nice tutorial. I am running into an error when publishing with the CLI from Visual Studio Code at 5:27 on your video. It seems I cannot get the AIM security credentials: Error retrieving configuration for function whosaroundbackend: Unable to get IAM security credentials from EC2 Instance Metadata Service.

Any ideas?

philipperapin
Автор

Good tutorial, i have a question regarding ideal mode application
How do I avoid going for the ideal mode application? is there any solution to avoid this

yagnikpatel
Автор

this is good for minimal api. how to deploy and run api for controllers and multiple api endpoints
?

Sanatani-ks
Автор

Good solution thank you so much bhai. I have a question, i had to deploy frontend what should i do?

marjukerazi
Автор

Jesus, at first when you said about the 1mln requests, I thought that you ment 0.2$ per EACH additional request, not per each milion. I almost died from heart attack when i heard this 🤯 But yeah, 1 mln requests for 0.2$ does seam affordable.

promant
Автор

Please avoid background music it is really annoying

m.f.mfazrin
Автор

Can we create a lambda at each controller level?

vivekgowda
Автор

How do you get an AWS account. I’ve tried 3 times with 3 different emails. Still no luck! Keeps asking for a code to login in with - no code just an Email with a link. I’ve given up. Carlo

csilipo
visit shbcf.ru