fixed dependency resolver to use workcontext from HTTPContext