REFACTORING to MEDIATOR & CQS Pattern | AWS Lambda | ASP NET Core

  Рет қаралды 7,679

Rahul Nath

Rahul Nath

Күн бұрын

Пікірлер: 36
@RahulNath
@RahulNath 3 жыл бұрын
Hope you liked the video. If you want more details on the step-by-step refactoring process check out the related blog post here www.rahulpnath.com/blog/aws-serverless-refactoring-series/ Do let me know your thoughts and feedback in the comments.
@MsbowElite
@MsbowElite 3 жыл бұрын
The website is not working, error 503.
@RahulNath
@RahulNath 3 жыл бұрын
@@MsbowElite Can you try that again - tried the link just now and it looks ok
@MsbowElite
@MsbowElite 3 жыл бұрын
@@RahulNath Yeah, now it is fine, thank you.
@mdabuzar2130
@mdabuzar2130 3 жыл бұрын
only I can say, You are the best. No one can touch your feet. Always waiting for your next dhamaal.
@RahulNath
@RahulNath 3 жыл бұрын
I'm honoured. Thank you for the constant motivation! New video hopefully coming out in 2 days 😀
@MrTouqeerhameed
@MrTouqeerhameed 2 жыл бұрын
Excellent
@RahulNath
@RahulNath 2 жыл бұрын
Thank you so much Touqeer 😀
@palashsinha6163
@palashsinha6163 3 жыл бұрын
Awesome content! Great explanations! Thanks a lot Rahul. Eagerly waiting for your next video.
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Palash. Happy to see these comments!
@respectandcare-e7g
@respectandcare-e7g 2 жыл бұрын
Thank you so much Rahul for all your awesome videos! God bless.
@RahulNath
@RahulNath 2 жыл бұрын
So nice of you Sidhant!
@srikanthek737
@srikanthek737 2 жыл бұрын
Simply awesome, very clean explanation, thanks for this video
@RahulNath
@RahulNath 2 жыл бұрын
Glad you liked it!
@adriano.digiere
@adriano.digiere 3 жыл бұрын
Great video, Rahul. High quality content. Thanks.
@RahulNath
@RahulNath 3 жыл бұрын
Thank you 😀 Do let know if there are other topics you would like to see covered.
@adriano.digiere
@adriano.digiere 3 жыл бұрын
@@RahulNath Thanks. Perhaps something about TDD.
@RahulNath
@RahulNath 3 жыл бұрын
​@@adriano.digiere Great suggestion! I have a video coming up for testing the project created in this video (but that is not exactly TDD, since it will be written after ). Meanwhile I have a few videos on AutoFixture which is a great library to auto-generate test data. This is something I extensively use and find it useful to write more robust test cases. kzbin.info/aero/PL59L9XrzUa-mItWClbGuMEK5oQpU2onCq Also have a few blogs around the same www.rahulpnath.com/blog/category/autofixture/ Thank you again for your feedback (and do keep them coming!)
@adriano.digiere
@adriano.digiere 3 жыл бұрын
@@RahulNath I'll check them. Thanks.
@RahulNath
@RahulNath 3 жыл бұрын
@@adriano.digiere Great do let me know how it goes.
@anuragnair1784
@anuragnair1784 3 жыл бұрын
Thanks a lot Rahul! This is really helpful.
@RahulNath
@RahulNath 3 жыл бұрын
Happy it helps Anurag! Do let know if you have other topics you are looking for around this topic 😀
@varun6455
@varun6455 3 жыл бұрын
Great Work Rahul, this is top quality code! What would be great to see is how to use Terraform and deploy this API and the DynamoDB into AWS
@RahulNath
@RahulNath 3 жыл бұрын
Noted and thank you for the suggestion Varun!
@mahansid
@mahansid 3 жыл бұрын
Where the models should reside , should they be business/domain models or should they be kept in DAL ?
@RahulNath
@RahulNath 3 жыл бұрын
Did you get a chance to watch the video on layering kzbin.info/www/bejne/amTJmGeKac55fdk Depending on what the model/dto represents it’ll be in its appropriate layer. Let me know if you have additional questions.
@sarathbaiju6040
@sarathbaiju6040 2 жыл бұрын
Hi rahul, I have a question regarding registering depencies. Currently in this video IRepository interface and DynamoDbRepository implement that interface. My question is, imagine we have 2 or more Repositories and we want to implement all the Repository classes to IRepository interface. How we handle this? I mean how to register the dependencies and how to use them in other classes?
@RahulNath
@RahulNath 2 жыл бұрын
The IRepository is a generic interface in this case, with a generic implementation. you can register multiple based on type T - so if you have 2 tables/classes (T) you can register for both as IRepository and IRepository. Does that answer your question?
@sarathbaiju6040
@sarathbaiju6040 2 жыл бұрын
@@RahulNath sorry may be my above question is not clear. In a nutshell, Consider you have one interface and 2 classes implementing that interface. How we register that interface in service collection? This is my question.
@emanuelcordovamontiel1017
@emanuelcordovamontiel1017 6 ай бұрын
This is amazing! How can call to appsettings.json file from a AWS LAMBDA?
@RahulNath
@RahulNath 6 ай бұрын
What are you looking to use appsettings.json for ? Have you looked at using Environment variables or ParameterStore/SecretManager etc ? If you can provide some more details on what you are planning to use it for I can suggest.
@MsbowElite
@MsbowElite 3 жыл бұрын
The MediatR work properly locally but when I publish it to AWS environment, it crash with error of Register your handlers with the container. Error constructiong handle for...
@RahulNath
@RahulNath 3 жыл бұрын
What exactly is it erroring on trying to create ? Is it any specific AWS resources that you have set up locally ? Or is it the same code I’ve here that you are trying ?
@MsbowElite
@MsbowElite 3 жыл бұрын
@@RahulNath Thanks for the answer, it was my fault. I fixed it already.
@RahulNath
@RahulNath 3 жыл бұрын
@@MsbowElite Glad to know you got it working!
@techpc5453
@techpc5453 Жыл бұрын
Intro to MediatR - Implementing CQRS and Mediator Patterns
1:21:50
IAmTimCorey
Рет қаралды 230 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 20 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Building a Serverless REST API in .NET with AWS Lambda
20:13
Nick Chapsas
Рет қаралды 78 М.
Clean ASP.NET Core API using MediatR and CQRS | Setup
22:39
Nick Chapsas
Рет қаралды 325 М.
Mediator Design Pattern (C#)
11:24
Raw Coding
Рет қаралды 24 М.