PerRequestTask - where is context?

Aug 30, 2012 at 1:25 PM

This article describes how to create per request task. However it's already over 2 years old, new interface (Execute() vs ExecuteCore(PerRequestExecutionContext context) has been implemented and, most notably, 'context' parameter is missing. Is there another way to access it? I need to close RavenDb session in it and I can't figure out how to access it. Is there a way to access the container? I'm using StructureMap version of MvcExtensions. BTW, I'm really liking the library and would like to use all its features. Please update documentation if you release new version. I'll be happy to contribute with documentation if I understand what's going on.