how use web.config?

Nov 17, 2012 at 11:49 AM

I host my wcfservice with IIS,and I write unity config with web.config file

how to write WcfServiceFactory.ConfigureContainer?

Feb 6, 2013 at 2:45 PM
If you prefer to configure Unity using xml configuration instead of the type-safe fluent method then you can probably just call container.LoadConfiguration(); from within the ConfigureContainer method of WcfServiceFactory.