Hello,
When I added the following on DefaultRegistry:
For<IExample>().HttpContextScoped().Use<Example>();
I get the following error when using container.AssertConfigurationIsValid():
An exception of type 'System.InvalidOperationException' occurred in System.Core.dll but was not handled in user code.
I know that if I remove HttpContextScoped() it works. Why is that?
Thank You