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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 36

  • @RahulNath
    @RahulNath  3 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      The website is not working, error 503.

    • @RahulNath
      @RahulNath  3 ปีที่แล้ว +1

      @@MsbowElite Can you try that again - tried the link just now and it looks ok

    • @MsbowElite
      @MsbowElite 3 ปีที่แล้ว +1

      @@RahulNath Yeah, now it is fine, thank you.

  • @mdabuzar2130
    @mdabuzar2130 3 ปีที่แล้ว +1

    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 😀

  • @palashsinha6163
    @palashsinha6163 3 ปีที่แล้ว +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!

  • @sidhant_verma
    @sidhant_verma 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 ปีที่แล้ว +1

      @@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. 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!)

    • @adriano.digiere
      @adriano.digiere 3 ปีที่แล้ว

      @@RahulNath I'll check them. Thanks.

    • @RahulNath
      @RahulNath  3 ปีที่แล้ว

      @@adriano.digiere Great do let me know how it goes.

  • @MrTouqeerhameed
    @MrTouqeerhameed 2 ปีที่แล้ว

    Excellent

    • @RahulNath
      @RahulNath  2 ปีที่แล้ว

      Thank you so much Touqeer 😀

  • @anuragnair1784
    @anuragnair1784 3 ปีที่แล้ว

    Thanks a lot Rahul! This is really helpful.

    • @RahulNath
      @RahulNath  3 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

    Where the models should reside , should they be business/domain models or should they be kept in DAL ?

    • @RahulNath
      @RahulNath  3 ปีที่แล้ว +1

      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.

  • @MsbowElite
    @MsbowElite 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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!

  • @emanuelcordovamontiel1017
    @emanuelcordovamontiel1017 8 หลายเดือนก่อน

    This is amazing! How can call to appsettings.json file from a AWS LAMBDA?

    • @RahulNath
      @RahulNath  8 หลายเดือนก่อน

      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.

  • @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.

  • @techpc5453
    @techpc5453 2 ปีที่แล้ว