HomeBlogNotesArchivesYouTubeAbout
HomeBlogNotesArchivesYouTubeAbout

Articles related to Dependency Injection

IsRegistered on Unity Container for Generic Type

This post just describes a bug that is there in the Unity (3.5.1404) IoC container, when using the IsRegistered extension method, to check for generic types and a possible fix for it. Unity IoC container provides IsRegistered ( http://msdn.microsoft.com/en…

IoC Registration by Convention

Sometime back we had seen, how to configure the unity container using code/config file and I was using a mix of this in one of my projects. This approach soon became an overhead, as the manual wiring up of registrations is really cumbersome and also error…

Configuring Unity Container: Comparing Code and Xml Configuration Side by Side

Setting up dependency containers from code is very easy, but not at all the same when done using a configuration file. The project that I am currently working on uses xml configuration for Unity container and I did struggle mapping certain dependencies, so…

  • Rahul Nath
  • About
  • Blog
  • YouTube
  • Follow me on
© Copyright, 2021 Rahul Nath