public OfflineHttpContext(OfflineWebSession offlineSession, string method, string url, NameValueCollection postData) { _offlineSession = offlineSession; _request = new OfflineHttpRequest(method, url, postData); _session = new OfflineHttpSessionState(offlineSession); _server = new OfflineHttpServerUtility(offlineSession); _response = new OfflineHttpResponse(); }
public static void CreateContext(OfflineWebSession webSession, string method, string url, NameValueCollection postData) { WebAppConfig.Init(webSession.MapPath); HttpContextBase context = new OfflineHttpContext(webSession, method, url, postData); Current = context; context.SessionObject = WebAppHelper.CreateSessionObject(); WebAppConfig.Fire_SessionCreated(context.SessionObject); }
public OfflineHttpServerUtility(OfflineWebSession webSession) { _webSession = webSession; }
public ContextCreatedEventArgs(OfflineWebSession webSession, HttpContextBase httpContext) { _webSession = webSession; _httpContext = httpContext; }
public static void CreateContext(OfflineWebSession webSession, string method, string url, NameValueCollection postData ) { WebAppConfig.Init(webSession.MapPath); HttpContextBase context = new OfflineHttpContext(webSession, method, url, postData); Current = context; context.SessionObject = WebAppHelper.CreateSessionObject(); WebAppConfig.Fire_SessionCreated(context.SessionObject); }
public OfflineHttpSessionState(OfflineWebSession webSession) { _webSession = webSession; }