Consider:
public class HomeController : Controller {
private IDependency iDependency;
public HomeController(IDependency iDependency) {
this.iDependency = iDependency;
}
}
And the fact that Controllers in ASP.NET MVC must have one empty default constructor(*) is there any way other than defining an empty (and useless in my opinion) constructor for DI?
(*) You end up with the yellow screen of death otherwise.