private static void OnContextEndRequest( object sender, EventArgs e) { var context = sender.ToHttpContext(); StartupApplication.DisposeScope(context); }
private static void OnContextBeginRequest( object sender, EventArgs e) { var context = sender.ToHttpContext(); StartupApplication.CreateScope(context); }