質問

Which Structuremap v3 Lifecycle is recommended to replace the old HybridLifecycle? Specifically for a UnitOfWork in a web app environment?

役に立ちましたか?

解決

Add reference to StructureMap.Web Assembly.

Import these namespaces(they contain extension methods):

Imports StructureMap.Web
Imports StructureMap.Web.Pipeline

then you can use:

HybridHttpOrThreadLocalScoped
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top