Full Tutorial Repository Pattern in ASP NET Core 9 Web API

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 18

  • @Chefrachida
    @Chefrachida 16 дней назад +5

    Great video. I hope you will consider making a video about Clean Architecture with Blazor in .NET 9 with us. Thank you for your work.

    • @CliffTech
      @CliffTech  15 дней назад

      Thank you

    • @CliffTech
      @CliffTech  15 дней назад +1

      @Chefrachida Sure, we have a clean architecture video coming, and later, we will do the Clearn Architecture with Blazor as you requested. Thank you for being part of this community.

    • @chikalawrence8502
      @chikalawrence8502 14 дней назад +1

      Please sir can you do a full video on banking web API
      Using a repository pattern

    • @CliffTech
      @CliffTech  14 дней назад

      @chikalawrence8502 Thank you for supporting. We will look into that.

    • @azmisudrajat
      @azmisudrajat 10 дней назад

      @@CliffTech glad to hear this mate

  • @hugovazquez5628
    @hugovazquez5628 16 дней назад +1

    i love you ❤. keep going

    • @CliffTech
      @CliffTech  16 дней назад

      @@hugovazquez5628 Thank you for watching

  • @TranQuocViet-j1j
    @TranQuocViet-j1j 12 дней назад +1

    Thank you. I have a question: According to your video, building methods in the Repositories layer => using them in methods in the Controllers layer. So if there is also a Services layer, what is the relationship between R-S-C, thank you very much.

    • @CliffTech
      @CliffTech  11 дней назад +3

      You can always sue the Repository with the Service and later use the Service with the Controller. Thus, the Repository communicates with the Service, and the Service communicates with the Controller.

  • @masaftic
    @masaftic 7 дней назад

    isn't ef core already a repository pattern and a unit of work?

  • @IbrahimMostafa-v7i
    @IbrahimMostafa-v7i 14 дней назад +1

    thanks ,, but can you enlarge fonts on screen while your video , it is too small to what is going on screen?

    • @CliffTech
      @CliffTech  14 дней назад

      @IbrahimMostafa-v7i Yes we work on that and all upcoming videos will be nice

  • @kaligulah00000
    @kaligulah00000 15 дней назад +1

    Sir, for example... if you have an error when adding a book ( var createdBook = await _bookRepository.Add(book);).. How you should handle that kind of errors?

    • @CliffTech
      @CliffTech  15 дней назад

      @@kaligulah00000First, we can introduce a global Exception Handler to manage exceptions that catch any errors that occur. I already have a video on how to implement that here.
      Second, you can handle exceptions in the controller.

    • @kaligulah00000
      @kaligulah00000 15 дней назад

      @@CliffTech Thanks!

  • @SinaSoltani-tf8zo
    @SinaSoltani-tf8zo 10 дней назад +1

    Most useless Pattern ever created.
    There is no need to work with such pattern when you're working with Entity Framework.

  • @emmanuelkofi2457
    @emmanuelkofi2457 13 дней назад

    Or email