perwebrequest
Testing Castle windsor Component with PerWebRequest lifestyle
I\'m trying to do some testing with castle windsor involved, in one of my tests I want to check the windsor installers, so I check that the container can resolve my components given its interface.[详细]
2023-02-28 09:32 分类:问答Windsor PerWebRequest resolution in Application_Start
I am injecting HttpContextBase into a caching class. HttpContextBase is registered as PerWebRequest. I interact with the caching class on each web request and this works fine, but I also need to initi[详细]
2023-01-03 07:45 分类:问答Castle Windsor PerWebRequest LifeStyle and Application_EndRequest
I\'m registering some components related to Linq2Sql using PerWebRequest lifestyle.I see them get created, but they get destroyed before my global\'s Application_EndRequest method gets called.Is that[详细]
2022-12-14 15:37 分类:问答