Using Generics with KIGG

Feb 21, 2011 at 10:24 PM

Has anyone been able to get generics working with KIGG?

That is, specify a generic type in a unity container section and actually get it working (ideally with UnityPerWebRequestLifetimeManager).

I can get it as far as constructing the objects (so i know the format i am using is correct) but it always fails with a "Unable to create an HttpContextBase instance" ... which i think is happening at the point the generic instance is to be stored (at least i traced it to around that point).

Appreciate if anyone has a sample and can confirm it actually works at all.