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 👍.
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
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.
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 ??
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)
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 👍.
This is not a dream. You are a true savior.
Always enjoy watching your videos
Your tutorials are very helpful! Thank you so much!
Thank you very much for this. Really clear and informative.
Which keyboard do you use can you please tell ?
Love the sound
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
Knick-knacks. Paperclips, batteries, cable ties ... Oddly, you're not the first to ask.
Any possibility of a Unit Testing series?
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.
Thank you very much for this.
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 ??
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)
@@CodingTutorialsAreGo Thank you
This tutorial would not have helped me learn what dependency injection is. A simplified example using asp.net would have helpted.