This project is read-only.

Description

It is very light weight Dependency Resolver based on patterns & practices - Unity. It can resolve both MVC Controller and WebApi Controller.

You can also install the package from NuGet.

PM> Install-Package UnityDependencyResolver

protected void Application_Start()
{
  AreaRegistration.RegisterAllAreas();
 
  WebApiConfig.Register(GlobalConfiguration.Configuration);
  FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  RouteConfig.RegisterRoutes(RouteTable.Routes);
 
  Bootstrapper.Initialize(); //Do not forget to add this in global.asax
}

Last edited Jul 4, 2014 at 11:01 PM by arunendapally, version 3