Articles : Page 1 of 1
- Filter:
- DependencyInjection
- AJAX
-
Dependency Injection in ASP.NET MVC: Views
May 1019Other posts in this series: Controllers Contextual controller injection Filters Action Results And now for a bit more controversial shift. While most folks doing DI in ASP.NET MVC see the benefit of the ability to provide injection around the controller-side of things (filters, action results, controllers etc.), I’ve also seen a lot of benefit from injection on the view side. But before delve into the how, let’s first look at the why. The responsibility of a view is to render a model...
- 1

