Bifrost icon indicating copy to clipboard operation
Bifrost copied to clipboard

Container bindings aren't optimal - ref. Per Web Request

Open einari opened this issue 8 years ago • 1 comments

The container abstraction is not optimal - question is if we need it at all. Investigate if needed.

The way things are now, we have the binding lifecycle represented as an enum - that does include Webs per web request as an option. This is not something one wants.

einari avatar Jan 15 '17 13:01 einari

Very much related to #717 -- in my opinion this class is not needed, its only use is to bind some classes as singletons, but that can be done my instantiating one object and using IContainer.Bind<T>(T instance).

bnordli avatar Jan 18 '17 19:01 bnordli