Autofac “action injection” with ASP.NET MVC model binding
问题 I'm using Autofac with ASP.NET MVC and am wondering if my view model setup in the web project is a good approach or not. In the past I only used constructer injection at the Controller level but thought it would be interesting to see if everything could be injected via Autofac. Let's say I have a view model that looks this: public class CollegeViewModel : BaseViewModel { private CollegeModel _model { get; set; } public int Id { get; set; } public string Name { get; set; } public