コード例 #1
0
        private static void OnContextEndRequest(
            object sender,
            EventArgs e)
        {
            var context = sender.ToHttpContext();

            StartupApplication.DisposeScope(context);
        }
コード例 #2
0
        private static void OnContextBeginRequest(
            object sender,
            EventArgs e)
        {
            var context = sender.ToHttpContext();

            StartupApplication.CreateScope(context);
        }