370 references to Request
System.Runtime.Remoting (18)
channels\core\corechannel.cs (3)
877if ((httpContext != null) && httpContext.Request.IsSecureConnection) 880Uri requestUrl = httpContext.Request.Url; 1132HttpRequest request = HttpContext.Current.Request;
channels\http\httpremotinghandler.cs (13)
88HttpRequest httpRequest = context.Request; 161int port = context.Request.Url.Port; 227if (String.Compare(context.Request.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) != 0) { 233if (context.Request.QueryString.Count != 1) 236string[] values = context.Request.QueryString.GetValues(0); 255if (File.Exists(context.Request.PhysicalPath)) 263String rawUrl = context.Request.RawUrl; 308string localAddress = context.Request.ServerVariables["LOCAL_ADDR"]; 309string remoteAddress = context.Request.UserHostAddress; 310return (context.Request.Url.IsLoopback || (localAddress != null && remoteAddress != null && localAddress == remoteAddress)); 340HttpRequest request = context.Request; 394HttpRequest httpRequest = context.Request; 546HttpRequest httpRequest = context.Request;
metadata\sdlchannelsink.cs (2)
369HttpRequest request = context.Request; 376int port = context.Request.Url.Port;
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedHttpContext.cs (2)
329foreach (string webHeaderKey in this.hostedHttpContext.result.Application.Context.Request.Headers.Keys) 331message.AddHeader(webHeaderKey, this.hostedHttpContext.result.Application.Context.Request.Headers[webHeaderKey]);
System.Web (277)
Abstractions\HttpContextWrapper.cs (1)
171return new HttpRequestWrapper(_context.Request);
Configuration\AuthenticationConfig.cs (2)
75String requestPath = context.Request.Path; 91decodedLoginUrl = HttpUtility.UrlDecode(loginUrl, context.Request.ContentEncoding);
Configuration\HttpCapabilitiesBase.cs (1)
403string ua = HttpCapabilitiesDefaultProvider.GetUserAgent(HttpContext.Current.Request);
Configuration\RuntimeConfig.cs (1)
189config = GetLKGRuntimeConfig(context.Request.FilePathObject);
DefaultHttpHandler.cs (3)
33_executeUrlHeaders = new NameValueCollection(_context.Request.Headers); 58return context.Request.MapPath(virtualPath); 92HttpRequest request = context.Request;
DynamicValidationShim.cs (3)
24context.Request.EnableGranularRequestValidation(); 29return context.Request.ValidateInputWasCalled; 34UnvalidatedRequestValues unvalidated = context.Request.Unvalidated;
ErrorFormatter.cs (2)
128HttpRequest request = (context != null) ? context.Request : null; 261HttpRequest request = (context != null) ? context.Request : null;
Handlers\AssemblyResourceLoader.cs (4)
306secureConnection = ((HttpContext.Current != null) && (HttpContext.Current.Request != null) && 307HttpContext.Current.Request.IsSecureConnection); 472string requestPath = context.Request.Path; 514NameValueCollection queryString = context.Request.QueryString;
Handlers\TraceHandler.cs (2)
88(!context.Request.IsLocal && HttpRuntime.Profile.LocalOnly)) { 96_request = _context.Request;
Handlers\TransferRequestHandler.cs (1)
34context.Request.EntityBody,
Hosting\IIS7WorkerRequest.cs (4)
1559httpContext.Request.InternalRewritePath(VirtualPath.CreateAllowNull(_filePath), VirtualPath.CreateAllowNull(_pathInfo), _queryString, _rebaseClientPath); 2110ctx.Request.SynchronizeServerVariable(name, value); 2190ctx.Request.SynchronizeHeader(name, value); 2216ctx.Request.SynchronizeHeader(name, value);
HttpApplication.cs (11)
358request = _context.Request; 1430return context.Request.Browser.Type; 1641context.ConfigurationPath = context.Request.ApplicationPathObject; 3275_application.Context.Request.ValidateInputIfRequiredByConfig(); 3300HttpRequest request = context.Request; 3384HttpRequest request = context.Request; 3394Debug.Assert(context.ConfigurationPath == context.Request.FilePathObject, "context.ConfigurationPath (" + 3395context.ConfigurationPath + ") != context.Request.FilePath (" + context.Request.FilePath + ")"); 3536error.SetFormatter(new PageForbiddenErrorFormatter(context.Request.Path, SR.GetString(SR.Handler_access_denied))); 3659context.Request.StoreReferenceToResponseCookies(context.Response.GetCookiesNoCreate()); 4342context.Request.ValidateInputIfRequiredByConfig();
HttpApplicationFactory.cs (1)
601if (context.Request.IsDebuggingRequest)
HttpBufferlessInputStream.cs (3)
51_rawContent = new HttpRawUploadedContent(_fileThreshold, _context.Request.ContentLength); 54int contentLength = _context.Request.ContentLength; 323_context.Request.SetRawContent(_rawContent);
HttpClientCertificate.cs (9)
130String flags = context.Request.ServerVariables["CERT_FLAGS"]; 140_Cookie = context.Request.ServerVariables["CERT_COOKIE"]; 141_Issuer = context.Request.ServerVariables["CERT_ISSUER"]; 142_ServerIssuer = context.Request.ServerVariables["CERT_SERVER_ISSUER"]; 143_Subject = context.Request.ServerVariables["CERT_SUBJECT"]; 144_ServerSubject = context.Request.ServerVariables["CERT_SERVER_SUBJECT"]; 145_SerialNumber = context.Request.ServerVariables["CERT_SERIALNUMBER"]; 154String keySize = context.Request.ServerVariables["CERT_KEYSIZE"]; 155String skeySize = context.Request.ServerVariables["CERT_SECRETKEYSIZE"];
HttpContext.cs (12)
514Request.InternalRewritePath(VirtualPath.Create(originalUrl), null, true); 681obj = Request; 1094if (Request.QueryString["aspxerrorpath"] != null 1278_Profile = ProfileBase.Create(Request.IsAuthenticated ? User.Identity.Name : Request.AnonymousID, Request.IsAuthenticated); 1548virtualPath = Request.FilePathObject.Combine(virtualPath); 1557Request.InternalRewritePath(virtualPath, qs, rebaseClientPath); 1579filePath = Request.FilePathObject.Combine(filePath); 1588Request.InternalRewritePath(filePath, pathInfo, queryString, setClientFilePath); 2214return (Request != null) ? Request.UserLanguages : null;
HttpCookie.cs (2)
299if (context != null && context.Request != null) { 300HttpBrowserCapabilities browser = context.Request.Browser;
HttpDebugHandler.cs (5)
153context.Response.Write(SR.GetString(SR.Debugging_forbidden, context.Request.Path)); 159string command = context.Request.Headers["Command"]; 191context.Response.Write(SR.GetString(SR.Debug_Access_Denied, context.Request.Path)); 197String sessId = context.Request.Form["DebugSessionID"]; 223context.Response.Write(SR.GetString(SR.Debug_Access_Denied, context.Request.Path));
HTTPNotFoundHandler.cs (5)
32SR.GetString(SR.Path_not_found, context.Request.Path)); 59SR.GetString(SR.Path_forbidden, context.Request.Path)); 88SR.GetString(SR.Path_forbidden, context.Request.HttpMethod)); 116SR.GetString(SR.Method_for_path_not_implemented, context.Request.HttpMethod, context.Request.Path));
HttpResponse.cs (4)
143return _context.Request; 2281_context.Request.AppendToLogQueryString(param); 2597if (_context != null && _context.Request != null) { 2598entity = _context.Request.EntityBody;
HttpRuntime.cs (4)
1469if (!context.Request.IsDebuggingRequest) { 1584context.Request.Dispose(); 1676if (!context.Request.IsDebuggingRequest) { 2117context.Request.Dispose();
httpserverutility.cs (6)
223realPath = _context.Request.MapPath(path); 317HttpRequest request = _context.Request; 415HttpRequest request = _context.Request; 431HttpRequest request = _context.Request; 763HttpRequest request = _context.Request; 1019Encoding e = (_context != null) ? _context.Request.ContentEncoding : Encoding.UTF8;
HttpWriter.cs (3)
839_response.Context.Request.SetDynamicCompression(false /*enable*/); 1259_response.Context.Request.SetDynamicCompression(true /*enable*/); 1333_response.Context.Request.SetDynamicCompression(true /*enable*/);
ImplicitAsyncPreloadModule.cs (1)
43HttpRequest request = context.Request;
Management\WebEvents.cs (1)
1943request = context.Request;
OutputCacheModule.cs (5)
156request = context.Request; 316return CreateOutputCachedItemKey(context.Request.Path, context.Request.HttpVerb, context, cachedVary); 565request = context.Request; 1028request = context.Request;
Profile\ProfileModule.cs (3)
126if (context.Request.IsAuthenticated && !string.IsNullOrEmpty(context.Request.AnonymousID) && _MigrateEventHandler != null) 128ProfileMigrateEventArgs e = new ProfileMigrateEventArgs(context, context.Request.AnonymousID);
Profile\SqlProfileProvider.cs (2)
154sName = (context.Request.IsAuthenticated ? context.User.Identity.Name : context.Request.AnonymousID);
Security\AnonymousIdentificationModule.cs (18)
71if (!s_Enabled || !context.Request.IsAuthenticated) { 85if (!CookielessHelperClass.UseCookieless(context, false, s_CookieMode) || context.Request.Browser.Cookies) 88if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false") 104context.Response.Redirect(context.Request.RawUrl, false); 151isAuthenticated = context.Request.IsAuthenticated; 163if (s_RequireSSL && !context.Request.IsSecureConnection) 167cookie = context.Request.Cookies[s_CookieName]; 178if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false") 192cookie = context.Request.Cookies[s_CookieName]; 210context.Request.AnonymousID = decodedValue.AnonymousId; 215if (context.Request.AnonymousID == null) { 223context.Request.AnonymousID = e.AnonymousID; 227if (string.IsNullOrEmpty(context.Request.AnonymousID)) { 228context.Request.AnonymousID = Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture); 230if (context.Request.AnonymousID.Length > MAX_ID_LENGTH) 233if (s_RequireSSL && !context.Request.IsSecureConnection && !cookieLess) 259encValue = GetEncodedValue(new AnonymousIdData(context.Request.AnonymousID, dtExpireTime)); 274context.Response.Redirect(context.Request.RawUrl);
Security\CookielessHelper.cs (19)
48_Headers = _Context.Request.Headers[COOKIELESS_SESSION_FILTER_HEADER]; 71string path = _Context.Request.ClientFilePath.VirtualPathString; 96_Context.Request.ClientFilePath = VirtualPath.CreateAbsolute(path); 98string rawUrl = _Context.Request.RawUrl; 104_Context.Request.RawUrl = path; 107_Context.Request.ValidateCookielessHeaderIfRequiredByConfig(_Headers); // ensure that the path doesn't contain invalid chars 112string filePath = _Context.Request.FilePath; 116_Context.Request.PathInfoObject, 228bool fRet = (!context.Request.Browser.Cookies || 229!context.Request.Browser.SupportsRedirectWithCookie); 238if (!context.Request.Browser.Cookies || !context.Request.Browser.SupportsRedirectWithCookie) { 251string cookieHeader = context.Request.Headers["Cookie"]; 259string qs = context.Request.QueryString[s_AutoDetectName]; 292redirectPath = _Context.Request.RawUrl; 326if (!_Context.Request.Browser.Cookies || !_Context.Request.Browser.SupportsRedirectWithCookie) { 339string cookieHeader = _Context.Request.Headers["Cookie"]; 346string qs = _Context.Request.QueryString[s_AutoDetectName];
Security\FileAuthorizationModule.cs (5)
156fileName = context.Request.PhysicalPathInternal; 162HttpVerb verb = context.Request.HttpVerb; 167|| context.Request.HttpMethod == "OPTIONS") 287context.Response.Write((new FileAccessFailedErrorFormatter(context.Request.PhysicalPathInternal)).GetErrorMessage(context, false)); 307oCacheKey = CacheInternal.PrefixFileSecurity + context.Request.PhysicalPathInternal;
Security\FormsAuthentication.cs (10)
408if (!CookielessHelperClass.UseCookieless(context, false, CookieMode) || context.Request.Browser.Cookies) 411if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false") 450if (!context.Request.IsSecureConnection && RequireSSL) 530String returnUrl = context.Request.QueryString[ReturnUrlVar]; 534returnUrl = context.Request.Form[ReturnUrlVar]; 541if (!UrlPath.IsPathOnSameServer(returnUrl, context.Request.Url)) 749context.Request.QueryStringEncoding ); 752returnUrl = HttpUtility.UrlEncode(context.Request.RawUrl, context.Request.ContentEncoding); 917if (!absUri.IsLoopback && !string.Equals(context.Request.Url.Host, absUri.Host, StringComparison.OrdinalIgnoreCase))
Security\FormsAuthenticationModule.cs (14)
136cookie = e.Context.Request.Cookies[FormsAuthentication.FormsCookieName]; 156e.Context.Response.Redirect(e.Context.Request.RawUrl); 159cookie = e.Context.Request.Cookies[FormsAuthentication.FormsCookieName]; 260String strUrl = context.Request.RawUrl; 303strRedirect = loginUrl + "&" + FormsAuthentication.ReturnUrlVar + "=" + HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding); 306strRedirect = loginUrl + "?" + FormsAuthentication.ReturnUrlVar + "=" + HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding); 346HttpCookie cookie = context.Request.Cookies[name]; 361context.Request.Cookies.Remove(name); 371if (cookielessTicket || !FormsAuthentication.RequireSSL || context.Request.IsSecureConnection) // Make sure it is NOT a secure cookie over an in-secure connection 384context.Request.Cookies.Remove(name); 391encValue = context.Request.QueryString[name]; 410encValue = context.Request.Form[name]; 436if (FormsAuthentication.RequireSSL && !context.Request.IsSecureConnection) // Bad scenario: valid ticket over non-SSL 450string strUrl = FormsAuthentication.RemoveQueryStringVariableFromUrl(context.Request.RawUrl, name);
Security\PassportAuthenticationModule.cs (4)
183String strUrl = context.Request.Url.ToString(); 188String strLogoTag = id.LogoTag2(HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding)); 211String strUrl = context.Request.Url.ToString(); 221strRedirect = redirectUrl + strSep + "ReturnUrl=" + HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding);
Security\PassportIdentity.cs (12)
56String strTVariable = context.Request.QueryString["t"]; 57String strPVariable = context.Request.QueryString["p"]; 58HttpCookie cookieAuth = context.Request.Cookies["MSPAuth"]; 59HttpCookie cookieProf = context.Request.Cookies["MSPProf"]; 60HttpCookie cookieProfC = context.Request.Cookies["MSPProfC"]; 89String strRequestLine = context.Request.HttpMethod + " " + 90context.Request.RawUrl + " " + 91context.Request.ServerVariables["SERVER_PROTOCOL"] + "\r\n"; 94context.Request.ServerVariables["ALL_RAW"], 95context.Request.IsSecureConnection ? 1 : 0, 824str = context.Request.Headers["Accept-Auth"]; 1035String strRU = context.Request.QueryString["ru"];
Security\RoleManagerModule.cs (6)
102if (context.User.Identity.IsAuthenticated && (!Roles.CookieRequireSSL || context.Request.IsSecureConnection)) 107HttpCookie cookie = context.Request.Cookies[Roles.CookieName]; 129if (context.Request.Cookies[Roles.CookieName] != null) 167if (Roles.CookieRequireSSL && !context.Request.IsSecureConnection) 169if (context.Request.Cookies[Roles.CookieName] != null) 174if (rp.CachedListChanged && context.Request.Browser.Cookies)
Security\Roles.cs (2)
430if (context == null || !context.Request.Browser.Cookies) 433if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false")
Security\UrlAuthorizationModule.cs (3)
143if (!settings.EveryoneAllowed && !settings.IsUserAllowed(context.User, context.Request.RequestType)) 175return !settings.IsUserAllowed(_AnonUser, context.Request.RequestType); 182return settings.EveryoneAllowed || settings.IsUserAllowed(context.User, context.Request.RequestType);
SiteMapProvider.cs (3)
137string rawUrl = context.Request.RawUrl; 157result = FindSiteMapNode(context.Request.Path + "?" + qs); 163result = FindSiteMapNode(context.Request.Path);
State\SessionIDManager.cs (3)
146request = context.Request; 300cookie = context.Request.Cookies[Config.CookieName]; 365HttpRequest request = context.Request;
State\StateRuntime.cs (7)
263switch (context.Request.HttpVerb) { 341valueAsString = context.Request.Headers[header]; 383valueAsString = context.Request.Headers[header]; 412HttpRequest request = context.Request; 511HttpRequest request = context.Request; 638string key = CreateKey(context.Request); 684key = CreateKey(context.Request);
StaticFileHandler.cs (2)
335HttpRequest request = context.Request; 479HttpRequest request = context.Request;
UI\Control.cs (5)
416if (context != null && context.Request.Browser != null) { 417AdapterInternal = context.Request.Browser.GetAdapter(this); 1035VirtualPathData data = RouteCollection.GetVirtualPath(Context.Request.RequestContext, routeName, routeParameters); 1181VirtualPath templateSourceVirtualDirectory = context.Request.CurrentExecutionFilePathObject.Parent; 3033string baseRequestDir = Context.Request.ClientBaseDir.VirtualPathString;
UI\ControlAdapter.cs (2)
71if (context != null && context.Request != null) { 72_browser = context.Request.Browser;
UI\HtmlControls\HtmlInputFile.cs (1)
124get { return Context.Request.Files[RenderedNameAttribute];}
UI\HtmlForm.cs (3)
275VirtualPath clientFilePath = Context.Request.ClientFilePath; 295VirtualPath currentFilePath = Context.Request.CurrentExecutionFilePathObject; 304if (cookieless && Context.Request != null && Context.Response != null) {
UI\Page.cs (13)
1163if (Context != null && Context.Request != null) { 1165return Context.Request.RequestContext.RouteData; 1453if (Context != null && Context.Request != null && Context.Request.Browser != null) { 1454return Context.Request.Browser.CreateHtmlTextWriter(tw); 1938if (Context.Request == null) 3900_context.Request != null && 3901_context.Request.UserLanguages != null) { 3903return CultureUtil.CreateReadOnlyCulture(_context.Request.UserLanguages, specific); 4072HttpBrowserCapabilities browser = currentContext.Request.Browser; 5566_request = context.Request; 6274String s = Context.Request.CurrentExecutionFilePath; 6275String filePath = Context.Request.FilePath;
UI\PageParser.cs (1)
130virtualPath = context.Request.FilePathObject.Combine(virtualPath);
UI\PartialCachingControl.cs (1)
453HttpBrowserCapabilities browserCap = Context.Request.Browser;
UI\TemplateControl.cs (1)
352return(Context.Request.Browser.IsBrowser(filterName));
UI\TraceContext.cs (9)
542_context.Request.FillInCookiesCollection(cookieCollection, false /*includeResponse */); 769string url = _context.Request.RawUrl; 775row[SR.Trace_Request_Type] = _context.Request.HttpMethod; 777row[SR.Trace_Request_Encoding] = _context.Request.ContentEncoding.EncodingName; 792AddCollectionToRequestData(requestData, SR.Trace_Headers_Collection, _context.Request.Unvalidated.Headers); 811AddCollectionToRequestData(requestData, SR.Trace_Form_Collection, _context.Request.Unvalidated.Form); 819AddCollectionToRequestData(requestData, SR.Trace_Querystring_Collection, _context.Request.Unvalidated.QueryString); 827AddCollectionToRequestData(requestData, SR.Trace_Server_Variables, _context.Request.ServerVariables); 839_context.Request.InsertEntityBody();
UI\ViewStateException.cs (1)
57HttpRequest request = context != null ? context.Request : null;
UI\WebControls\AccessDataSource.cs (1)
236filename = Context.Request.MapPath(filename, AppRelativeTemplateSourceDirectory, true);
UI\WebControls\CheckBoxList.cs (1)
298if (!DesignMode && !Context.Request.Browser.Tables) {
UI\WebControls\CookieParameter.cs (3)
102if (context == null || context.Request == null) { 106HttpCookieCollection cookieCollection = ValidateInput ? context.Request.Cookies : context.Request.Unvalidated.Cookies;
UI\WebControls\FileUpload.cs (2)
195return Context.Request.Files[UniqueID]; 211result = Context.Request.Files.GetMultiple(UniqueID);
UI\WebControls\FormParameter.cs (3)
103if (context == null || context.Request == null) { 107NameValueCollection formCollection = ValidateInput ? context.Request.Form : context.Request.Unvalidated.Form;
UI\WebControls\QueryStringParameter.cs (3)
103if (context == null || context.Request == null) { 107NameValueCollection queryStringCollection = ValidateInput ? context.Request.QueryString : context.Request.Unvalidated.QueryString;
UI\WebControls\RadioButtonList.cs (1)
342if (!DesignMode && !Context.Request.Browser.Tables) {
UI\WebControls\RouteParameter.cs (1)
94if (context == null || context.Request == null || control == null) {
UI\WebControls\TextBox.cs (1)
354return Context != null && Context.Request.Browser["supportsVCard"] == "true";
UI\WebControls\TreeView.cs (2)
2445if ((Context.Request.Form[checkBoxFieldID] != null) || 2446(Context.Request.QueryString[checkBoxFieldID] != null)) {
UI\WebControls\Wizard.cs (1)
1191browser = context.Request.Browser;
UrlMappingsModule.cs (1)
34HttpRequest request = context.Request;
Util\AppVerifier.cs (4)
201if (!context.HideRequestResponse && context.Request != null) { 478if (!originalHttpContext.HideRequestResponse && originalHttpContext.Request != null) { 555if (!context.HideRequestResponse && context.Request != null) { 655return context.Request.EnsureRawUrl();
Util\AspCompat.cs (6)
641return CollectionToString(_context.Request.QueryString); 643return CollectionToString(_context.Request.Form); 647return CollectionToString(_context.Request.ServerVariables); 654return CookiesToString(_context.Request.Cookies); 658return _context.Request.TotalBytes; 662return _context.Request.InputStream.Read(bytes, 0, size);
Util\Profiler.cs (1)
52return (_pageOutput && !(_localOnly && !HttpContext.Current.Request.IsLocal));
System.Web.DataVisualization (19)
Common\Utilities\ImageLoader.cs (1)
211image = LoadFromFile(HttpContext.Current.Request.MapPath(imageURL));
WebForm\ChartWebControl.cs (3)
2803if (((this.Context != null) && (this.Context.Request != null)) && (this.Context.Request.Browser != null)) 2805return this.Context.Request.Browser.CreateHtmlTextWriter(tw);
WebForm\General\ChartHttpHandler.cs (15)
260String key = context.Request["i"]; 261CurrentGuidKey = context.Request["g"]; 363String appDir = Path.GetDirectoryName(HttpContext.Current.Request.CurrentExecutionFilePath ?? "").Replace("\\","/"); 526if (context.Request.Browser != null) 527writer = context.Request.Browser.CreateHtmlTextWriter(w); 707if (context.Request["i"] != null && ProcessSavedChartImage(context)) 711else if (context.Request["trace"] != null && Diagnostics.IsTraceEnabled) 716else if (context.Request[handlerCheckQry] != null) 1322if (!String.IsNullOrEmpty(HttpContext.Current.Request.AnonymousID)) 1325return HttpContext.Current.Request.AnonymousID; 1340if (String.IsNullOrEmpty(HttpContext.Current.Request.AnonymousID)) 1345return HttpContext.Current.Request.AnonymousID; 2005if (HttpContext.Current.Request != null) 2007Url = HttpContext.Current.Request.Url.ToString(); 2008Verb = HttpContext.Current.Request.HttpMethod;
System.Web.Extensions (31)
ApplicationServices\ApplicationServiceHelper.cs (1)
114if (enforceSSL && _authRequiresSSL && !context.Request.IsSecureConnection) {
ApplicationServices\ProfileService.cs (2)
292if (!authenticatedUserOnly && context != null && !string.IsNullOrEmpty(context.Request.AnonymousID)) { // Use Anonymous ID? 293name = context.Request.AnonymousID;
Handlers\ScriptModule.cs (4)
28if (context == null || context.Request == null) { 32string path = context.Request.FilePath; 129if (PageRequestManager.IsAsyncPostBackRequest(new HttpRequestWrapper(context.Request))) { 166HttpRequest request = app.Context.Request;
Handlers\ScriptResourceHandler.cs (2)
231!context.Request.Browser.IsBrowser("IE") || 232(context.Request.Browser.MajorVersion > 6));
Profile\ProfileService.cs (1)
26WebServiceData webServiceData = WebServiceData.GetWebServiceData(context, context.Request.FilePath);
Script\Services\RestHandler.cs (8)
29if (context.Request.PathInfo.Length < 2 || context.Request.PathInfo[0] != '/') { 34WebServiceData webServiceData = WebServiceData.GetWebServiceData(context, context.Request.FilePath); 35string methodName = context.Request.PathInfo.Substring(1); 86NameValueCollection queryString = context.Request.QueryString; 100TextReader reader = new StreamReader(context.Request.InputStream); 114if (context.Request.HttpMethod == "GET") { 123else if (context.Request.HttpMethod == "POST") {
Script\Services\RestHandlerFactory.cs (3)
20if (IsClientProxyRequest(context.Request.PathInfo)) { 35return IsRestMethodCall(context.Request) || IsClientProxyRequest(context.Request.PathInfo);
Script\Services\WebServiceClientProxyGenerator.cs (4)
36WebServiceData webServiceData = WebServiceData.GetWebServiceData(context, context.Request.FilePath); 40string modifiedSince = context.Request.Headers["If-Modified-Since"]; 51bool debug = RestHandlerFactory.IsClientProxyDebugRequest(context.Request.PathInfo); 67WebServiceClientProxyGenerator proxyGenerator = new WebServiceClientProxyGenerator(context.Request.FilePath, debug);
Script\Services\WebServiceData.cs (1)
131data = WebServiceData.GetApplicationService(context.Request.AppRelativeCurrentExecutionFilePath);
Security\AuthenticationService.cs (1)
37return HttpContext.Current.Request.IsAuthenticated;
UI\AuthenticationServiceManager.cs (1)
86(context != null && context.Request.IsAuthenticated)) {
UI\ScriptManager.cs (3)
591_isRestMethodCall = (Context != null) && RestHandlerFactory.IsRestMethodCall(Context.Request); 600_isSecureConnection = (Context != null) && (Context.Request != null) && Context.Request.IsSecureConnection;
System.Web.Mobile (19)
Mobile\CookielessData.cs (2)
30String inboundValue = HttpContext.Current.Request.QueryString[name]; 33inboundValue = HttpContext.Current.Request.Form[name];
Mobile\ErrorHandlerModule.cs (1)
165MobileCapabilities caps = context.Request.Browser as MobileCapabilities;
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (2)
49String type = ((MobileCapabilities)context.Request.Browser).PreferredRenderingType; 50bool javascriptSupported = context.Request.Browser.JavaScript;
UI\MobileControls\Adapters\HtmlPageAdapter.cs (4)
77String type = ((MobileCapabilities)context.Request.Browser).PreferredRenderingType; 78bool javascriptSupported = context.Request.Browser.JavaScript; 399MobileCapabilities caps = (MobileCapabilities)context.Request.Browser; 409context.Request.ContentEncoding = Encoding.GetEncoding(preferredRequestEncoding);
UI\MobileControls\Adapters\UpWmlPageAdapter.cs (1)
39MobileCapabilities capabilities = ((MobileCapabilities)context.Request.Browser);
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
61MobileCapabilities capabilities = ((MobileCapabilities)context.Request.Browser);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (1)
307String type = ((MobileCapabilities)context.Request.Browser).PreferredRenderingType;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlCssHandler.cs (1)
27String cssQueryStringValue = (String) context.Request.QueryString[XhtmlConstants.CssQueryStringName];
UI\MobileControls\ControlsConfig.cs (1)
111context.Request.UserAgent));
UI\MobileControls\DeviceSpecific.cs (1)
128MobileCapabilities caps = (MobileCapabilities)context.Request.Browser;
UI\MobileControls\MobilePage.cs (4)
497String s = Context.Request.CurrentExecutionFilePath; 498String filePath = Context.Request.FilePath; 532_absoluteFilePath = Response.ApplyAppPathModifier(Context.Request.CurrentExecutionFilePath); 919Adapter.DeterminePostBackMode(Context.Request,
System.Workflow.Runtime (2)
Hosting\WorkflowWebHostingModule.cs (2)
69HttpCookie routingCookie = HttpContext.Current.Request.Cookies.Get("WF_WorkflowInstanceId"); 81HttpCookie cookie = HttpContext.Current.Request.Cookies.Get("WF_WorkflowInstanceId");
System.Xaml.Hosting (2)
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (2)
34PathInfo pathInfo = PathCache.EnsurePathInfo(context.Request.AppRelativeCurrentExecutionFilePath); 245this.hostedXamlType = GetCompiledCustomString(context.Request.AppRelativeCurrentExecutionFilePath);