🍕 Template Method pattern: Refactor and make your application plug-in-able

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

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

  • @xtazyxxx3487
    @xtazyxxx3487 2 месяца назад +1

    You can inject IServiceProvider in the api directly instead of passing via the scopefactory

    • @sa-es-ir
      @sa-es-ir  2 месяца назад

      Yes we can use IServiceProvider as well but IServiceScopeFactory is lighter than that and recommended to use it.

  • @ghanshyam014
    @ghanshyam014 2 месяца назад

    Well explained !!!!

  • @rezakamrani4440
    @rezakamrani4440 2 месяца назад

    Perfect as always❤

    • @sa-es-ir
      @sa-es-ir  2 месяца назад

      Thanks buddy❤️
      Glad you think so!

  • @farzadmf
    @farzadmf 2 месяца назад +1

    Very nice video and explanation, thank you!
    Nit: please don't name your methods with gerounds ("...ing"), specially in this case, where each method represents a concrete action 🙂

    • @sa-es-ir
      @sa-es-ir  2 месяца назад +1

      Glad you like the video, I agree with your point, and thanks for pointing it out.

    • @farzadmf
      @farzadmf 2 месяца назад

      Thank you for taking it into consideration, and keep up the great work!

  • @ghanshyam014
    @ghanshyam014 2 месяца назад

    I love Pizza😋😋

    • @sa-es-ir
      @sa-es-ir  2 месяца назад

      Same here :)