This is the code from the brief talk on Dependency Injection with MVC.
There are two projects here. This uses Unity, MVC3, and the UNity.MVC3 nuget package which has some additional code in it to handle lifetime management (ie objects that need disposal need special note in the bootstrapper.cs file.
IoC MVC Demos
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.