Why dependency injection is used in mvc?
Answer / Kirti Agarwal
Dependency injection is used in MVC to decouple components, making them easier to test and exchange. It helps to improve modularity, reduce dependencies, and promote loose coupling.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what is mvc?
What is validation summary in mvc?
What is the use of viewbag in mvc?
Is mvc different from a 3 layered architecture?
What does Model, View and Controller represent in an MVC application?
What are corpus tools?
What’s new in the latest version of mvc?
What is mvc token?
What are the three segments for routing important?
Mention what are the file extensions for razor views?
Is mvc architecture or framework?
What is the main purpose of mvc architecture?