Why to use Dependency Injection?

  Рет қаралды 24,447

Interview Happy

Interview Happy

Жыл бұрын

1. Full .NET Interview Course
C# / ASP.NET Core / MVC / API - Top 500 Interview Questions
www.udemy.com/course/csharp-o...
Don't worry if course not helping you, Udemy has 30 days Free Refund Policy.
2. Quick Revision Book (PDF format)
Top 500 .NET Interview Questions - OOPS/ C#/ ASP.Net/ MVC/ SQL /.Net Core /Web API
imojo.in/interviewhappy
50% Discount Applied on above link.
Don't worry if book not helping you, I will return 100% of your money with in 7 days of purchase. Just mail me at anuragrawat123@gmail.com.
My best wishes are with you.

Пікірлер: 18
@sitaramthirumalasetty9205
@sitaramthirumalasetty9205 Жыл бұрын
Can i have the video link of how to implement dependency injection in controller
@rkumartiwari1496
@rkumartiwari1496 9 ай бұрын
After watching this video i am happy 😊
@theekshanmi3472
@theekshanmi3472 Жыл бұрын
Could you please give the Detailed explanation of dependency injection concept in C# with examples in real-time senarios.
@quranandsoul1375
@quranandsoul1375 4 ай бұрын
Sir please make a detailed video on TYPES OF DEPENDENCY INJECTION
@theparagbagga
@theparagbagga 3 ай бұрын
Happy bhai iski next video kahan hai
@ScitechExplorerEnglish
@ScitechExplorerEnglish Жыл бұрын
Sir can you make a video on upcasting and downcasting of base - derived types in c#....and why there is need for upcasting and downcasting
@interviewhappy
@interviewhappy Жыл бұрын
Soon I will add some more interview questions.
@sourabhsalve8290
@sourabhsalve8290 Жыл бұрын
Will u please explain - if we change method signature then do we need to change code in each and every controller? or for this type of change there is another solution. And in this type of situation how we can say it is loosely coupled?
@interviewhappy
@interviewhappy Жыл бұрын
Yes we have change. We have some limitations in this loosely coupled way.
@techwithchanchal
@techwithchanchal 7 ай бұрын
I can't find the next video anywhere. could somebody please share ?
@shardendumishra6229
@shardendumishra6229 Жыл бұрын
How to block multiple login with same credentials in different browsers and in different devices
@interviewhappy
@interviewhappy Жыл бұрын
We can maintain some flag at server side, whether the user is active or not. Session is a traditional way but their can be other approaches.
@lgiorgos1
@lgiorgos1 Жыл бұрын
I guess instead of DI I could use public static methods. Why wouldn't I do that instead of DI?
@mahek2001
@mahek2001 Жыл бұрын
Static methods are difficult to test and mock , that's why its avoided.
@karpagamm7169
@karpagamm7169 9 ай бұрын
Int num1 = 20; int num2 = 30; num1 ^= num2 ^= num1 ^= num2; Console.Writeline(num1 + " , " + num2); Ans : 0,20.. kindly explain this code sir..
@shrujankmr
@shrujankmr Жыл бұрын
sir it cover only 50% of the solution..
@navalkish
@navalkish Жыл бұрын
Sorry to say but in all your videos, you are leaving the people in question mode. Try to complete things in a single video.
@interviewhappy
@interviewhappy Жыл бұрын
sure
SOLID  Principal - Interview Questions and Answers
24:04
Interview Happy
Рет қаралды 84 М.
C# Dependency Injection with Real Time Example
9:59
Tek Tuition
Рет қаралды 72 М.
How to bring sweets anywhere 😋🍰🍫
00:32
TooTool
Рет қаралды 14 МЛН
Эффект Карбонаро и бесконечное пиво
01:00
История одного вокалиста
Рет қаралды 6 МЛН
КАРМАНЧИК 2 СЕЗОН 6 СЕРИЯ
21:57
Inter Production
Рет қаралды 509 М.
Top 30  .Net Core Interview Questions in 30 mins - .NET C#
37:11
Interview Happy
Рет қаралды 284 М.
LINQ in C# .NET
6:49
Interview Happy
Рет қаралды 34 М.
Collections in C# .NET
6:03
Interview Happy
Рет қаралды 29 М.
The .NET dependency injection methods you are not using
11:49
Nick Chapsas
Рет қаралды 91 М.
What is Dependency Inversion Principle ?
3:58
Interview Happy
Рет қаралды 31 М.
How to bring sweets anywhere 😋🍰🍫
00:32
TooTool
Рет қаралды 14 МЛН