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