JasperFx / lamar

Fast Inversion of Control Tool and Successor to StructureMap
https://jasperfx.github.io/lamar
MIT License
566 stars 117 forks source link

is there a replacement for HttpContextLifecycle in Lamar #241

Closed minoseah629 closed 4 years ago

minoseah629 commented 4 years ago

this class existed in structuremap.

is there a plan to bring it in?

HttpContextLifecycle

jeremydmiller commented 4 years ago

You don't need it in ASP.Net Core because you effectively get that for free with the Scoped() lifecycle. Same if you're using a nested container per request in ASP.Net MVC v5 or Web API

But no, I don't intend to bring that back.