Пример #1
0
        void application_PostResolveRequestCache(object sender, EventArgs e)
        {
            HttpContextBase context = new FrontHttpContextWrapper(((HttpApplication)sender).Context);

            this.PostResolveRequestCache(context);
            //if (Site.Current != null)
            //{
            //    UrlRedirect(context);
            //}
        }
Пример #2
0
 public FrontHttpResponseWrapper(HttpResponse httpResponse, FrontHttpContextWrapper context)
     : base(httpResponse)
 {
     //httpResponse.Filter = new ObserveResponseLengthStream(httpResponse.Filter);
     _context = context;
 }