I would like to use autofac and the Repository Pattern (iRepository) but can't seem to see a way to configure autofac using XML configuration.
As anyone else come across this issue?
I would like to use autofac and the Repository Pattern (iRepository) but can't seem to see a way to configure autofac using XML configuration.
As anyone else come across this issue?
Autofac does not currently have support for registering open generics via XML configuration. The XML configuration mechanism is handy, but is not a complete 1:1 featureset of Autofac (and it probably never will be).
The recommended way to handle more complex configuration is to use XML configuration in combination with Autofac modules.