Dependency injection

Jun 16, 2014 at 10:13 PM
In the demo project I saw this configuration:
  .RegisterType<IProductService, ProductService>()
   .RegisterType<ICustomerService, CustomerService>()
The two sections repeat them self. How can I register all services in the application?

Jul 3, 2014 at 5:46 PM
If your using Unity you can configure it so it registers your binding by convention
Marked as answer by lelong37 on 7/3/2014 at 9:46 AM
Jul 3, 2014 at 7:51 PM
Thank you. This exactly what I looked for