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.
@@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. th-cam.com/play/PL59L9XrzUa-mItWClbGuMEK5oQpU2onCq.html 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!)
Did you get a chance to watch the video on layering th-cam.com/video/43fg4T4iFGw/w-d-xo.html Depending on what the model/dto represents it’ll be in its appropriate layer. Let me know if you have additional questions.
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...
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 ?
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.
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?
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?
@@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.
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.
The website is not working, error 503.
@@MsbowElite Can you try that again - tried the link just now and it looks ok
@@RahulNath Yeah, now it is fine, thank you.
only I can say, You are the best.
No one can touch your feet.
Always waiting for your next dhamaal.
I'm honoured. Thank you for the constant motivation! New video hopefully coming out in 2 days 😀
Awesome content! Great explanations! Thanks a lot Rahul. Eagerly waiting for your next video.
Thank you Palash. Happy to see these comments!
Thank you so much Rahul for all your awesome videos! God bless.
So nice of you Sidhant!
Simply awesome, very clean explanation, thanks for this video
Glad you liked it!
Great video, Rahul. High quality content. Thanks.
Thank you 😀 Do let know if there are other topics you would like to see covered.
@@RahulNath Thanks. Perhaps something about TDD.
@@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. th-cam.com/play/PL59L9XrzUa-mItWClbGuMEK5oQpU2onCq.html
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!)
@@RahulNath I'll check them. Thanks.
@@adriano.digiere Great do let me know how it goes.
Excellent
Thank you so much Touqeer 😀
Thanks a lot Rahul! This is really helpful.
Happy it helps Anurag! Do let know if you have other topics you are looking for around this topic 😀
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
Noted and thank you for the suggestion Varun!
Where the models should reside , should they be business/domain models or should they be kept in DAL ?
Did you get a chance to watch the video on layering th-cam.com/video/43fg4T4iFGw/w-d-xo.html
Depending on what the model/dto represents it’ll be in its appropriate layer. Let me know if you have additional questions.
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...
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 ?
@@RahulNath Thanks for the answer, it was my fault. I fixed it already.
@@MsbowElite Glad to know you got it working!
This is amazing! How can call to appsettings.json file from a AWS LAMBDA?
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.
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?
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?
@@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.