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 |
How routing is done in mvc pattern?
What is domain model in mvc?
Why is mvc good?
What is mvc in struts framework?
Difference between mvc and web api?
What is the difference between web api and mvc routing?
Explain using hyperlink how you can navigate from one view to other view?
Mention what are the two ways to add constraints to a route?
Why filters are used in mvc?
What is mvc request life cycle?
What is the viewbag in mvc?
What is mvc page life cycle?