ASP.NET Core Dependency Injection

แชร์
ฝัง

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

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

    Let me know what other .NET Core features you'd be interested in.
    Source code at: github.com/JasperKent/Dependency-Injection
    Remember to subscribe at th-cam.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked the video, click the 👍.

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

    This is not a dream. You are a true savior.

  • @Praveen.Kumar.
    @Praveen.Kumar. 3 ปีที่แล้ว +3

    Always enjoy watching your videos

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

    Your tutorials are very helpful! Thank you so much!

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

    Thank you very much for this. Really clear and informative.

  • @UsamaIsmail-r8t
    @UsamaIsmail-r8t ปีที่แล้ว

    Which keyboard do you use can you please tell ?
    Love the sound

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

    Just found your channel yesterday whilst looking for something regarding EF, and subscribed because I've found the videos to be very interesting, clear and informative; one thing's bugging me though...what do you store in the tiny colourful tubs?
    - An easily distracted developer

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

      Knick-knacks. Paperclips, batteries, cable ties ... Oddly, you're not the first to ask.

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

    Any possibility of a Unit Testing series?

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

      Unit Testing crops up in quite a few videos - because it's such an integral part of software development. But I'll put it on the list to do an in-depth series.

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

    Thank you very much for this.

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

    Hello, why do we have an injection of a DbContext, using the croncret type of the object, instead of some thing like IDbContext ?? can we speak about dependency injection without using any interface implemented by the concret class object expected ??

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

      Yes, you're right. We inject through an interface, allowing alternative implementations, or though a concrete class. For testing, we can either wrap the DbContext in a repository and mock that, or make our derived DBConext a base class from which we derive a mock, or use the standard DbContext configured for an in-memory DB (see th-cam.com/video/JKytAdsWaQs/w-d-xo.html)

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

      @@CodingTutorialsAreGo Thank you

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

    This tutorial would not have helped me learn what dependency injection is. A simplified example using asp.net would have helpted.