The Easiest Way to Create Serverless APIs in .NET

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

To get $25 worth of free AWS credits email dotnet-on-aws-feedback[at]amazon[dot]com with subject line "AWS CREDIT NICK CHAPSAS".

This video is sponsored by AWS

Hello everybody I'm Nick and in this video I will show you the easiest way to create scalable Serverless APIs in .NET using AWS Annotations.

Don't forget to comment, like and subscribe :)

Social Media:

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

I hope that one day M$ will sponsor you and You will create this kind of videos and courses related to Azure :)

xMsDanielx
Автор

What about Domain Driven Design where you would have a lot of shared business logic code? Would you actually have the same code being deployed numerous times for each lambda? Wont this affect the size of the builds and subsequently the cold start times? Can Domain Driven Design be applied in a Serverless context? Could you make a video with an example if possible? What about the trick with caching data that is instatiated outside lambda handlers between subsequent lambda calls? Could you do something simmilar using the approach mentioned in your video? What about if you have other serverless services that your lambdas depend on? For example sns/sqs, sql databases on the cloud, lambda step functions etc. Can you combine the solution mentioned with the Serverless framework?

theodoreflokos
Автор

azure functions should step up the game like this

ermanafacan
Автор

Damn you Nick, I just searched for Nick the Greek 2 to check how it's rated on IMDB !

milanpetrovic
Автор

Currently working on the FE of a project which uses aws lambdas for API and the cold start delay is a pretty big issue for the product owners, I don't understand at all why those would be used generally and not only in specific scenarios where the user would not wait for the API result

andreisalagean
Автор

Cool option. I'm personally enjoying using Minimal APIs on Azure Container Apps for deploying serverless functions. A little more setup at first, but the built-in KEDA autoscaling and serverlessness is still there. And, the Dapr integration is a nice-to-have as a future opt-in feature sets that bring queues, inter-service communication, secrets management, virtual actors, storage connectors, etc, as needed.

dcuccia
Автор

I’ve been using azure functions for 2 years now and it’s the best

osman
Автор

Yeah SAM is a good approach. But it will create a new lambda function for each API endpoint. Is this the right way to do in real-time large applications?

vivekgowda
Автор

I think this is great.
I already don’t write API controllers, I just use a source generator from my business processes.
It’s a pity that, as far as I know, source generators cannot execute against source generated code.

kabal
Автор

Have you used isolated azure functions?

MadeByGPS
Автор

Great job! something similar might exist in Azure Function? in theory. If yes, I think it will be interesting to see it

RamanSabchuk
Автор

Why didn't they just build their source generator around the existing controller annotations? It looks like they defined their own parallel annotations that make migration more difficult and also makes this code impossible to run outside of a lambda execution context.

MichaelPetito
Автор

Its awesome, but how could we get specific secret manager (hml or prd) and use it with DI?

paulomonteiro
Автор

This is awesome! Thanks for sharing Nick.

BenvdStouwe
Автор

Very nice. How this integrates with production though, I mean, custom domains mapped to api gateway, load balancer etc.?
I'm not familiar with this serverless.template that I see and it doesn't look like Serverless Framework.

romanhrytskiv
Автор

Thanks for sharing this, may I know how to debug these? Like connection to the dynamodb?

Where_Next
Автор

Hey Nick - Any idea where in your aws-videos repo we can find your annotations project?

jeffreyfontenot
Автор

Hi Nick! I noticed you're still using old-fashioned Rider UI. Have you tried the new one? It can be enabled at the Appearance Settings

valera
Автор

I wish this video was released 2 months ago, before my feature started :) Do you know maybe if it's any way to prevent Function to be a Singleton?

krzysztofziembicki
Автор

Another q: can this be deployed with native AOT to beat cold starts issue?

romanhrytskiv