Re: PerWebRequestLifeStyle won’t work from Application_Start

2016-05-24 Thread Marvin Glenn Lacuna
Thanks to this discussion. I understand it clearer. I actually wrote a blog post that explains the issue in a code-level by decompiling the Castle.Windsor.dll. Fixed and Explained: Forgot to register the http module Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, here

Re: PerWebRequestLifeStyle won’t work from Application_Start

2016-05-24 Thread hammett
No need to decompile it. The code is right here: https://github.com/castleproject/Windsor/blob/master/src/Castle.Windsor/MicroKernel/Lifestyle/PerWebRequestLifestyleModule.cs On Tue, May 24, 2016 at 9:15 PM, Marvin Glenn Lacuna wrote: > Thanks to this discussion. I