DEPENDENCY INJECTION Lambda | Lambda Annotations Framework | .NET ON AWS | Serverless | Amazon

Published: 06 September 2023
on channel: Rahul Nath
2,198
51

Hey👋The Lambda Annotations Framework provides a programming model for .NET developers to create AWS Lambda Functions.

In previous videos, we learned how to get started with the Annotations Framework and also how to build a CRUD API using the Annotations Framework. We saw how the Annotations Framework makes the development experience with Lambda Functions very similar to building APIs using the ASP.NET Core Framework.

Another feature that the Annotations Framework provides is support for Dependency Injection, which takes the development experience with Lambda Functions a level up.

In this video let’s learn how to setup Dependency Injection when building Lambda Functions using the Annotations Framework.

00:00 Introduction
01:02 Solution Walkthrough
01:44 DI Intro
02:44 Startup.cs
03:59 Registering a Dependency
06:34 Constructor Injection
08:56 Function Injection
10:15 Service Lifetime
11:37 Lambda Lifecycle
12:40 Testing on Lambda
14:49 Scaling Lambda Functions
18:18 Under the Hood
20:52 Overriding Function Lifetime
23:22 Avoid State
23:52 Conclusion

🔗Blog - https://www.rahulpnath.com/blog/lambd...
🔗Lambda Annotations Framework - https://aws.amazon.com/blogs/develope...

Additional Watching
📹Lambda Annotations Framework -    • Lambda Annotations Framework Introduc...  
📹Lambda Annotations CRUD API -    • SERVERLESS CRUD API | Lambda Annotati...  
🔗Lambda Lifecycle - https://www.rahulpnath.com/blog/lambd...
📹 .NET Dependency Injection -    • DEPENDENCY INJECTION in ASP.NET Core ...  
📹AWS Lambda -    • AWS LAMBDA For The .NET Developer: Ho...  
📹Lambda Udemy Course - https://bit.ly/aws-lambda-udemy
📹Lambda Development Environment -    • SETUP AWS FREE Tier Account and .NET ...  
📹AWS Credential Management -    • AWS CREDENTIALS: How To Manage - Gett...  
📹 ASP Series - https://bit.ly/asp-net-core-series
📹AWS Series - https://bit.ly/aws-net-series

Come say hi! ✋
🌍 Blog - https://rahulpnath.com/
✉ Subscribe to my Newsletter - https://www.rahulpnath.com/subscribe
🐦Twitter -   / rahulpnath  
📸Instagram -   / rahulpnath  

#dotnet #aws #lambda


Watch video DEPENDENCY INJECTION Lambda | Lambda Annotations Framework | .NET ON AWS | Serverless | Amazon online without registration, duration hours minute second in high quality. This video was added by user Rahul Nath 06 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,19 once and liked it 5 people.