AddSingleton(), AddScoped() & AddTransient() in a .NET 7 Web API 🚀

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

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

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

    Nice informative video. Series is last of us.

  • @vintagewander
    @vintagewander ปีที่แล้ว +5

    wow exactly what I needed to learn, thanks Patrick

  • @NIKOLAOSGYPAS
    @NIKOLAOSGYPAS ปีที่แล้ว +6

    Crystal clear explanation. thank you Patrick

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

      Glad I could help. Thrilled to have you in the .NET Web Academy! 😁

  • @CFox.7
    @CFox.7 ปีที่แล้ว +2

    No idea what this is and why it popped up in my recommended but got a feeling Chat GPT will be doing this very soon

    • @Roman-uy7qp
      @Roman-uy7qp ปีที่แล้ว

      ChatGBT sucks. If it can do something in a more skilled manner than you can it means you weren't very skilled anyway.

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

    THE LAST OF US

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

    Thank you, again a very good tutorial. For the donation, can you please post a PayPal address for this, I don't want to give out my credit card details just like that.

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

    Not a fan of zombie stuff, but I really appreciate the fun example.

  • @Waaade1
    @Waaade1 8 หลายเดือนก่อน +1

    best explanation on youtube for sure ! thanks Patrick

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

    Really well explained. Please keep uploads this kind of videos. Really helpful. Thank you.

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

      Thank you for your kind feedback!

  • @mhsn27mhsn10
    @mhsn27mhsn10 3 หลายเดือนก่อน

    thank you , very simple video

  • @joaogabrielv.m328
    @joaogabrielv.m328 ปีที่แล้ว +2

    Hell yeah! This video really helped, Patrick. Keep up, man

    • @PatrickGod
      @PatrickGod  ปีที่แล้ว

      Glad I could help! 😁

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

    The Last of Us!!

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

    Thanks for the video. please record a video about API and cloud solutions. maybe CRUD

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

      You mean deploying your Web API to Azure, for instance?

    • @arturg6771
      @arturg6771 ปีที่แล้ว +4

      @@PatrickGod
      Yes Web API to Azure, it would be cool to see from you, you explain and show coolly.
      If you want to do with AWS it will also not be bad

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

      @@PatrickGod That would be awesome :) Setting up different deploys, database as a separate microservice or whatever you think is more importand

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

      @@PatrickGod It would be cool to see Azure and MongoDB or some other database

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

    Ich liebe The Last Of Us :-) Gestern die letzte Episode gesehen!
    Was halten Sie von der Spieladaption?

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

      Phänomenal. Sowohl Spiel als auch Serie, wunderbar umgesetzt. 😁

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

    hi patrick, awesome stuff as usual.
    if i have a row of 200,000 in a table, is using Ef Core a good idea? if so, how can i make the fetching process faster.. it takes way too long to fetch. thanks

    • @basszoneproduction
      @basszoneproduction ปีที่แล้ว

      I hope your found your answer already, if not. What is the purpose of fetching 200,000 in one go?

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

      @@basszoneproduction yes, it was out of curiosity.. and I didn't learn about offset and pagination. Im using that now to fetch data. But In most of my use cases, I found dapper to be faster for fetching data than ef core.

    • @basszoneproduction
      @basszoneproduction ปีที่แล้ว

      Cool!

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

    Thank you my friend, it's a great example of DI life time!

  • @AmirAliZargaran82
    @AmirAliZargaran82 5 หลายเดือนก่อน

    thanks a lot

  • @Roman-uy7qp
    @Roman-uy7qp ปีที่แล้ว +2

    You are such a legend.

    • @PatrickGod
      @PatrickGod  ปีที่แล้ว

      Thank you so much! 😅

  • @dasfahrer8187
    @dasfahrer8187 ปีที่แล้ว

    Sound like these really need to be thought about in regards to the context of the API, database updates and whether or not EF tracking has been turned off (which in an API it probably should be).

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

    thanks