73 writes to
System (37)
net\System\Net\_CookieModule.cs (1)
38httpWebRequest.Headers[HttpKnownHeaderNames.Cookie] = cookieString;
net\System\Net\Cache\_Rfc2616CacheValidators.cs (9)
1142{ctx.CacheHeaders[HttpKnownHeaderNames.ContentLength] = ctx.CacheStreamLength.ToString(NumberFormatInfo.InvariantInfo);} 1596ctx.Request.Headers[HttpKnownHeaderNames.IfNoneMatch] = str; 1651ctx.Request.Headers[HttpKnownHeaderNames.IfRange] = str; 1686ctx.Request.Headers[HttpKnownHeaderNames.IfRange] = str; 1710ctx.CacheHeaders[HttpKnownHeaderNames.ContentRange] = ranges; 1711ctx.CacheHeaders[HttpKnownHeaderNames.ContentLength] = ctx.CacheStreamLength.ToString(NumberFormatInfo.InvariantInfo); 1728{ctx.CacheHeaders[HttpKnownHeaderNames.ContentLength] = ctx.CacheEntityLength.ToString(NumberFormatInfo.InvariantInfo);} 1737cc[HttpKnownHeaderNames.CacheControl]="max-age=0"; 1738cc[HttpKnownHeaderNames.Pragma]="no-cache";
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
315CacheHeaders[HttpKnownHeaderNames.Age] = ((int)(CacheAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo); 389CacheHeaders[HttpKnownHeaderNames.Age] = ((int)(CacheAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\filewebrequest.cs (1)
143m_headers["Content-Type"] = value;
net\System\Net\HttpWebResponse.cs (2)
550m_HttpResponseHeaders[HttpKnownHeaderNames.ContentEncoding] = null; 560m_HttpResponseHeaders[HttpKnownHeaderNames.ContentEncoding] = null;
net\System\Net\mail\Message.cs (7)
371Headers[MailHeaderInfo.GetString(MailHeaderID.MimeVersion)] = "1.0"; 416Headers[MailHeaderInfo.GetString(MailHeaderID.XPriority)] = "1"; 417Headers[MailHeaderInfo.GetString(MailHeaderID.Priority)] = "urgent"; 418Headers[MailHeaderInfo.GetString(MailHeaderID.Importance)] = "high"; 421Headers[MailHeaderInfo.GetString(MailHeaderID.XPriority)] = "5"; 422Headers[MailHeaderInfo.GetString(MailHeaderID.Priority)] = "non-urgent"; 423Headers[MailHeaderInfo.GetString(MailHeaderID.Importance)] = "low";
net\System\Net\mail\MimeBasePart.cs (2)
148Headers[MailHeaderInfo.GetString(MailHeaderID.ContentID)] = value; 167Headers[MailHeaderInfo.GetString(MailHeaderID.ContentLocation)] = value;
net\System\Net\mail\MimePart.cs (4)
71Headers[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "base64"; 74Headers[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "quoted-printable"; 77Headers[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "7bit"; 80Headers[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "8bit";
net\System\Net\webclient.cs (3)
626m_headers[HttpKnownHeaderNames.ContentType] = UploadFileContentType + "; boundary=" + boundary; 649m_headers[HttpKnownHeaderNames.ContentType] = contentType; 750m_headers[HttpKnownHeaderNames.ContentType] = UploadValuesContentType;
net\System\Net\WebHeaderCollection.cs (2)
279this[UnsafeNclNativeMethods.HttpApi.HTTP_REQUEST_HEADER_ID.ToString((int)header)] = value; 312this[UnsafeNclNativeMethods.HttpApi.HTTP_RESPONSE_HEADER_ID.ToString((int)header)] = value;
net\System\Net\WebSockets\WebSocketHelpers.cs (3)
361request.Headers[HttpKnownHeaderNames.Upgrade] = WebSocketUpgradeToken; 369request.Headers[HttpKnownHeaderNames.SecWebSocketKey] = Convert.ToBase64String(keyBlob); 372request.Headers[HttpKnownHeaderNames.SecWebSocketVersion] = WebSocketProtocolComponent.SupportedVersion;
sys\system\configuration\NameValueSectionHandler.cs (1)
59result[key] = value;
System.Configuration (2)
System\Configuration\ProtectedConfigurationSection.cs (1)
48cloneParams[key] = pars[key];
System\Configuration\ProviderSettings.cs (1)
222Parameters[name] = value;
System.Data.Services (2)
System\Data\Services\BatchServiceHost.cs (1)
246set { this.responseHeaders[XmlConstants.HttpDataServiceVersion] = value; }
System\Data\Services\HttpContextServiceHost.cs (1)
291set { this.operationContext.OutgoingResponse.Headers[XmlConstants.HttpDataServiceVersion] = value; }
System.Data.Services.Client (1)
System\Data\Services\Client\WebUtil.cs (1)
151request.Headers[header.Key] = header.Value;
System.Runtime.Remoting (1)
channels\http\httpclientchannel.cs (1)
680httpWebRequest.Headers[key] = header.Value.ToString();
System.ServiceModel (10)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (4)
245request.Headers[WebSocketHelper.SecWebSocketProtocol] = this.WebSocketSettings.SubProtocol; 254request.Headers[WebSocketTransportSettings.SoapContentTypeHeader] = this.channelFactory.WebSocketSoapContentType; 258request.Headers[WebSocketTransportSettings.BinaryEncoderTransferModeHeader] = this.channelFactory.TransferMode.ToString(); 495request.Headers[WebSocketHelper.SecWebSocketVersion] = webSocketVersion;
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
2396httpWebRequest.Headers[HttpChannelUtilities.MIMEVersionHeader] = version; 2650httpWebRequest.Headers["SOAPAction"] = action; 2941listenerResponse.Headers[HttpChannelUtilities.MIMEVersionHeader] = version;
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
390this.Headers[headerKey] = headersToMerge[headerKey];
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
409this.Headers[headerKey] = headersToMerge[headerKey];
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1300httpResponseProperty.Headers["Location"] = redirectedDestination;
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (2)
64nvc[this.pathMapping[i]] = parameters[i] as string; 70nvc[this.queryMapping[i].Key] = this.qsc.ConvertValueToString(parameters[i], this.queryMapping[i].Value);
System.Web (16)
Cache\cache.cs (2)
223cacheProviderSettings["isPublic"] = "false"; 253cacheProviderSettings["isPublic"] = "true";
Configuration\BrowserDefinition.cs (2)
517_capabilities[capabilityName] = capabilityValue; 581this._capabilities[key] = definition.Capabilities[key];
Configuration\ProvidersHelper.cs (2)
38cloneParams[key] = pars[key]; 68cloneParams[key] = providerSettings[key];
Hosting\ApplicationManager.cs (2)
1086settings["name"] = cacheProviderSettings.Name; 1087settings["type"] = cacheProviderSettings.Type;
Hosting\HostingEnvironment.cs (2)
1475settings["name"] = cacheProviderSettings.Name; 1476settings["type"] = cacheProviderSettings.Type;
HttpCookie.cs (1)
352Values[key] = value;
Security\Membership.cs (1)
472cloneParams[key] = pars[key];
Security\Roles.cs (1)
543cloneParams[key] = pars[key];
SiteMapNode.cs (1)
145_attributes[key] = value;
Util\AspCompat.cs (1)
678_context.Response.Cookies[name].Values[key] = value;
XmlSiteMapProvider.cs (1)
801attributeCollection[attribute.Name] = value;
System.Web.Mobile (1)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (1)
631additionalAttributes["colspan"] = columnSpan.ToString(CultureInfo.InvariantCulture);
System.Web.Services (1)
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
531request.Headers[ContentType.ContentEncoding] = message.ContentEncoding;
513 references to
PresentationCore (4)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (1)
95string p3pHeader = httpResponse.Headers["P3P"];
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
856String contentRange = responseHeaders[ContentRangeHeader];
Core\CSharp\System\Windows\CoreCompatibilityPreferences.cs (2)
113string s = appSettings["IncludeAllInkInBoundingBox"]; 153string s = appSettings["EnableMultiMonitorDisplayClipping"];
PresentationFramework (6)
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (6)
205string s = appSettings["HandleTwoWayBindingToPropertyWithNonPublicSetter"]; 255string s = appSettings["UseSetWindowPosForTopmostWindows"]; 305string s = appSettings["IsVirtualizingStackPanel_45Compatible"]; 338_scrollingTraceTarget = appSettings["ScrollingTraceTarget"]; 356_scrollingTraceFile = appSettings["ScrollingTraceFile"]; 438string s = appSettings[nameof(ShouldThrowOnCopyOrCutFailure)];
System (94)
compmod\system\configuration\appsettingsreader.cs (1)
43string val = map[key];
net\System\Net\_AuthenticationState.cs (1)
314GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::ClearAuthReq() httpWebRequest#" + ValidationHelper.HashString(httpWebRequest) + " " + AuthorizationHeader.ToString() + ": " + ValidationHelper.ToString(httpWebRequest.Headers[AuthorizationHeader]));
net\System\Net\_Connection.cs (3)
2180string transferEncodingString = m_ResponseData.m_ResponseHeaders[HttpKnownHeaderNames.TransferEncoding]; 2300string connection = m_ResponseData.m_ResponseHeaders[HttpKnownHeaderNames.Connection]; 2305connection = m_ResponseData.m_ResponseHeaders[HttpKnownHeaderNames.ProxyConnection];
net\System\Net\Cache\_Rfc2616CacheValidators.cs (30)
236if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_server_didnt_satisfy_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 474if (ctx.Request.Headers[HttpKnownHeaderNames.IfModifiedSince] != null || 475ctx.Request.Headers[HttpKnownHeaderNames.IfNoneMatch] != null || 476ctx.Request.Headers[HttpKnownHeaderNames.IfRange] != null || 477ctx.Request.Headers[HttpKnownHeaderNames.IfMatch] != null || 478ctx.Request.Headers[HttpKnownHeaderNames.IfUnmodifiedSince] != null ) 816if (!ctx.CacheEntry.IsPrivateEntry && ctx.Request.Headers[HttpKnownHeaderNames.Authorization] != null) { 1018if (ctx.Request.Headers[HttpKnownHeaderNames.Authorization] != null) { 1067if (resp.Headers[HttpKnownHeaderNames.ContentMD5] != ctx.CacheHeaders[HttpKnownHeaderNames.ContentMD5]) { 1185((location=cc[HttpKnownHeaderNames.ContentLocation]) != null && location != ctx.CacheHeaders[HttpKnownHeaderNames.ContentLocation]) || 1217if (cc[HttpKnownHeaderNames.Connection] != null) { 1220if (cc[HttpKnownHeaderNames.KeepAlive] != null) { 1226if (cc[HttpKnownHeaderNames.ProxyAuthorization] != null) { 1229if (cc[HttpKnownHeaderNames.TE] != null) { 1232if (cc[HttpKnownHeaderNames.TransferEncoding] != null) { 1235if (cc[HttpKnownHeaderNames.Trailer] != null) { 1238if (cc[HttpKnownHeaderNames.Upgrade] != null) { 1430if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 1490if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_in_cache, ctx.CacheHeaders[HttpKnownHeaderNames.ContentRange])); 1507if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_resp, ctx.CacheHeaders[HttpKnownHeaderNames.ContentRange])); 1519if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 1535if ((ranges = ctx.Request.Headers[HttpKnownHeaderNames.Range]) != null) { 1539if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_request_range, ctx.Request.Headers[HttpKnownHeaderNames.Range])); 1600if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_none_match, ctx.Request.Headers[HttpKnownHeaderNames.IfNoneMatch])); 1615if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_modified_since, ctx.Request.Headers[HttpKnownHeaderNames.IfModifiedSince])); 1654if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_range, ctx.Request.Headers[HttpKnownHeaderNames.IfRange])); 1689if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_range, ctx.Request.Headers[HttpKnownHeaderNames.IfRange])); 1786if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_saving_request_headers, resp.Headers[HttpKnownHeaderNames.Vary]));
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
424?", Content-Range: " + resp.Headers[HttpKnownHeaderNames.ContentRange] 799s = cc[HttpKnownHeaderNames.ContentRange]; 828s = cc[HttpKnownHeaderNames.Age];
net\System\Net\filewebrequest.cs (1)
140return m_headers["Content-Type"];
net\System\Net\HttpListenerRequest.cs (4)
365string postDataCharset = Headers["x-up-devcap-post-charset"]; 483if (string.IsNullOrEmpty(this.Headers[HttpKnownHeaderNames.Connection]) || string.IsNullOrEmpty(this.Headers[HttpKnownHeaderNames.Upgrade])) 721string header = Headers[HttpKnownHeaderNames.ProxyConnection];
net\System\Net\HttpListenerResponse.cs (3)
258m_WebHeaders.Add(headerName, value[headerName]); 594GlobalLog.Print("HttpListenerResponse#" + ValidationHelper.HashString(this) + "::ComputeCookies() entering Set-Cookie: " + ValidationHelper.ToString(Headers[HttpResponseHeader.SetCookie]) +" Set-Cookie2: " + ValidationHelper.ToString(Headers[HttpKnownHeaderNames.SetCookie2])); 630GlobalLog.Print("HttpListenerResponse#" + ValidationHelper.HashString(this) + "::ComputeCookies() exiting Set-Cookie: " + ValidationHelper.ToString(Headers[HttpResponseHeader.SetCookie]) +" Set-Cookie2: " + ValidationHelper.ToString(Headers[HttpKnownHeaderNames.SetCookie2]));
net\System\Net\HttpWebRequest.cs (11)
2674newWebHeaders.Add(headerName,webHeaders[headerName]); 2764return _HttpRequestHeaders[HttpKnownHeaderNames.ContentType]; 2790return _HttpRequestHeaders[HttpKnownHeaderNames.TransferEncoding]; 2841return _HttpRequestHeaders[HttpKnownHeaderNames.Connection]; 2887return _HttpRequestHeaders[HttpKnownHeaderNames.Accept]; 2901return _HttpRequestHeaders[HttpKnownHeaderNames.Referer]; 2915return _HttpRequestHeaders[HttpKnownHeaderNames.UserAgent]; 2942return _HttpRequestHeaders[HttpKnownHeaderNames.Expect]; 2984string headerValue = _HttpRequestHeaders[headerName]; 5044_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.ProxyConnection, _HttpRequestHeaders[HttpKnownHeaderNames.Connection]); 6278string curRange = _HttpRequestHeaders[HttpKnownHeaderNames.Range];
net\System\Net\HttpWebResponse.cs (6)
173string contentEncoding = m_HttpResponseHeaders[HttpKnownHeaderNames.ContentEncoding]; 353string proxyConnectionHeader = Headers[HttpKnownHeaderNames.ProxyConnection]; 361string connectionHeader = Headers[HttpKnownHeaderNames.Connection]; 529string contentLocation = m_HttpResponseHeaders[HttpKnownHeaderNames.ContentLocation]; 540string contentEncoding = m_HttpResponseHeaders[HttpKnownHeaderNames.ContentEncoding]; 653string headerValue = m_HttpResponseHeaders[headerName];
net\System\Net\mail\MimeBasePart.cs (2)
139return Headers[MailHeaderInfo.GetString(MailHeaderID.ContentID)]; 157return Headers[MailHeaderInfo.GetString(MailHeaderID.ContentLocation)];
net\System\Net\mail\MimePart.cs (1)
56string value = Headers[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)];
net\System\Net\mail\MimeWriter.cs (1)
40WriteHeader(key, headers[key], allowUnicode);
net\System\Net\webclient.cs (10)
605string contentType = m_headers[HttpKnownHeaderNames.ContentType]; 745string contentType = m_headers[HttpKnownHeaderNames.ContentType]; 758values.Append(UrlEncode(data[name])); 920string accept = m_headers[HttpKnownHeaderNames.Accept]; 921string connection = m_headers[HttpKnownHeaderNames.Connection]; 922string contentType = m_headers[HttpKnownHeaderNames.ContentType]; 923string expect = m_headers[HttpKnownHeaderNames.Expect]; 924string referrer = m_headers[HttpKnownHeaderNames.Referer]; 925string userAgent = m_headers[HttpKnownHeaderNames.UserAgent]; 926string host = m_headers[HttpKnownHeaderNames.Host];
net\System\Net\WebHeaderCollection.cs (3)
273return this[UnsafeNclNativeMethods.HttpApi.HTTP_REQUEST_HEADER_ID.ToString((int)header)]; 301return this[UnsafeNclNativeMethods.HttpApi.HTTP_RESPONSE_HEADER_ID.ToString((int)header)]; 882statusLine = cc[string.Empty];
net\System\Net\WebSockets\ClientWebSocket.cs (6)
224request.Headers.Add(key, options.RequestHeaders[key]); 270string upgradeHeader = response.Headers[HttpKnownHeaderNames.Upgrade]; 279string connectionHeader = response.Headers[HttpKnownHeaderNames.Connection]; 288string websocketAcceptHeader = response.Headers[HttpKnownHeaderNames.SecWebSocketAccept]; 290request.Headers[HttpKnownHeaderNames.SecWebSocketKey]); 299string subProtocol = response.Headers[HttpKnownHeaderNames.SecWebSocketProtocol];
net\System\Net\WebSockets\WebSocketHelpers.cs (8)
86string secWebSocketVersion = request.Headers[HttpKnownHeaderNames.SecWebSocketVersion]; 89string origin = request.Headers[HttpKnownHeaderNames.Origin]; 95request.Headers[HttpKnownHeaderNames.SecWebSocketProtocol], 107string secWebSocketKey = request.Headers[HttpKnownHeaderNames.SecWebSocketKey]; 137request.Headers[HttpKnownHeaderNames.SecWebSocketProtocol])); 328context.Request.Headers[HttpKnownHeaderNames.Upgrade])); 331string secWebSocketVersion = context.Request.Headers[HttpKnownHeaderNames.SecWebSocketVersion]; 349if (string.IsNullOrWhiteSpace(context.Request.Headers[HttpKnownHeaderNames.SecWebSocketKey]))
System.ComponentModel.DataAnnotations (1)
DataAnnotations\AppSettings.cs (1)
31if (settings == null || !Boolean.TryParse(settings["dataAnnotations:dataTypeAttribute:disableRegEx"], out _disableRegEx)) {
System.Configuration (8)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
205_KeyEntropy = configurationValues["keyEntropy"]; 257string s = configurationValues[valueName];
System\Configuration\ProtectedConfigurationSection.cs (1)
48cloneParams[key] = pars[key];
System\Configuration\ProviderBase.cs (1)
31_Description = config["description"];
System\Configuration\ProviderSettings.cs (1)
115string valueInCollection = _PropertyNameCollection[Key];
System\Configuration\RSAProtectedConfigurationProvider.cs (3)
138_KeyContainerName = configurationValues["keyContainerName"]; 143_CspProviderName = configurationValues["cspProviderName"]; 224string s = configurationValues[valueName];
System.Data.Entity (4)
System\Data\Objects\ObjectContext.cs (1)
271string value = ConfigurationManager.AppSettings[s_UseLegacyPreserveChangesBehavior];
Util\AppSettings.cs (3)
34if (settings == null || !Boolean.TryParse(settings["EntityFramework_SimplifyLimitOperations"], out _SimplifyLimitOperations)) 39if (settings == null || !Boolean.TryParse(settings["EntityFramework_SimplifyUserSpecifiedViews"], out _SimplifyUserSpecifiedViews)) 44if (settings == null || !int.TryParse(settings["EntityFramework_QueryCacheSize"], out _QueryCacheSize) || _QueryCacheSize < 1)
System.Data.Services (7)
System\Data\Services\BatchServiceHost.cs (3)
182get { return this.requestHeaders[XmlConstants.HttpMaxDataServiceVersion]; } 188get { return this.requestHeaders[XmlConstants.HttpDataServiceVersion]; } 245get { return this.responseHeaders[XmlConstants.HttpDataServiceVersion]; }
System\Data\Services\HttpContextServiceHost.cs (3)
179return this.operationContext.IncomingRequest.Headers[XmlConstants.HttpMaxDataServiceVersion]; 188return this.operationContext.IncomingRequest.Headers[XmlConstants.HttpDataServiceVersion]; 290get { return this.operationContext.OutgoingResponse.Headers[XmlConstants.HttpDataServiceVersion]; }
System\Data\Services\Serializers\BatchWriter.cs (1)
75WriteHeaderValue(writer, header, responseHeaders[header]);
System.Data.Services.Client (2)
System\Data\Services\Client\DataServiceContext.cs (1)
4995this.buildBatchWriter.WriteLine("{0}: {1}", name, response.Headers[name]);
System\Data\Services\Client\WebUtil.cs (1)
119headers.Add(name, response.Headers[name]);
System.Runtime.Caching (3)
System\Caching\Configuration\ConfigUtil.cs (3)
19string sValue = config[valueName]; 47string sValue = config[valueName]; 68string sValue = config[valueName];
System.Runtime.Remoting (5)
channels\core\corechannel.cs (1)
1133String mdPath = request.ServerVariables["APPL_MD_PATH"];
channels\http\httpclientchannel.cs (1)
778responseHeaders[keyString] = response.Headers[keyString];
channels\http\httpremotinghandler.cs (3)
308string localAddress = context.Request.ServerVariables["LOCAL_ADDR"]; 397string queryString = httpRequest.QueryString[null]; 562String headerValue = headers[headerName];
System.Runtime.Serialization (1)
System\Runtime\Serialization\AppSettings.cs (1)
51if ((appSettingsSection == null) || !int.TryParse(appSettingsSection[MaxMimePartsAppSettingsString], out maxMimeParts))
System.ServiceModel (31)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (7)
184string actualValue = response.Headers[headerKey]; 210string serverContentType = webResponse.Headers[WebSocketTransportSettings.SoapContentTypeHeader]; 213string serverTransferMode = webResponse.Headers[WebSocketTransportSettings.BinaryEncoderTransferModeHeader]; 226string serverVersion = webResponse.Headers[WebSocketHelper.SecWebSocketVersion]; 232string serverSubProtocol = webResponse.Headers[WebSocketHelper.SecWebSocketProtocol]; 335this.webSocketKey = request.Headers[WebSocketHelper.SecWebSocketKey]; 451string headerValue = response.Headers[WebSocketHelper.SecWebSocketProtocol];
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
880return httpWebResponse.Headers["SOAPAction"]; 1328httpResponseMessage.AddHeader(key, responseProperty.Headers[key]);
System\ServiceModel\Channels\HttpRequestContext.cs (4)
213string e2eId = httpProperty.Headers[EventTraceActivity.Name]; 844string acceptEncoding = listenerContext.Request.Headers[HttpChannelUtilities.AcceptEncodingHeader]; 946return this.listenerHttpContext.listenerContext.Request.Headers["SOAPAction"]; 982message.AddHeader(webHeaderKey, this.listenerHttpContext.listenerContext.Request.Headers[webHeaderKey]);
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
390this.Headers[headerKey] = headersToMerge[headerKey];
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
409this.Headers[headerKey] = headersToMerge[headerKey];
System\ServiceModel\Channels\WebSocketHelper.cs (1)
198string version = request.Headers[WebSocketHelper.SecWebSocketVersion];
System\ServiceModel\Diagnostics\HttpListenerRequestTraceRecord.cs (2)
27writer.WriteElementString(key, this.request.Headers[key]); 36writer.WriteElementString(key, this.request.Headers[key]);
System\ServiceModel\ServiceModelAppSettings.cs (8)
143if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[UseLegacyCertificateUsagePolicyString], out useLegacyCertificateUsagePolicy)) 148if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[HttpTransportPerFactoryConnectionPoolString], out httpTransportPerFactoryConnectionPool)) 153if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[EnsureUniquePerformanceCounterInstanceNamesString], out ensureUniquePerformanceCounterInstanceNames)) 158if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[DisableOperationContextAsyncFlowString], out disableOperationContextAsyncFlow)) 163if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[UseConfiguredTransportSecurityHeaderLayoutString], out useConfiguredTransportSecurityHeaderLayout)) 168if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[UseBestMatchNamedPipeUriString], out useBestMatchNamedPipeUri)) 173if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[DeferSslStreamServerCertificateCleanupString], out deferSslStreamServerCertificateCleanup)) 178if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[FailOnSocketDuplicationErrorString], out failOnSocketDuplicationError))
System\UriTemplate.cs (3)
561kvp.Value.Lookup(result.QueryParameters[kvp.Key], result.BoundVariables); 896extraParameters.Add(key, parameters[key]); 1330ProcessBindParameter(key, parameters[key], normalizedParameters, ref extraParameters);
System\UriTemplateHelpers.cs (2)
52if (!string.IsNullOrEmpty(query[queryKeyName])) 59if (((UriTemplateLiteralQueryValue)(kvp.Value)).AsRawUnescapedString() != query[queryKeyName])
System.ServiceModel.Activation (9)
System\ServiceModel\Activation\Configuration\AppSettings.cs (1)
49if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[UseClassicReadEntityBodyModeString], out useClassicReadEntityBodyMode))
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
134webSocketVersion = application.Request.ServerVariables[WebSocketVersionServerProperty];
System\ServiceModel\Activation\HostedHttpContext.cs (2)
331message.AddHeader(webHeaderKey, this.hostedHttpContext.result.Application.Context.Request.Headers[webHeaderKey]); 829string remotePort = this.result.Application.Request.ServerVariables["REMOTE_PORT"];
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
944return this.context.Request.Headers[ContentTypeHeaderName]; 952return this.context.Request.Headers[HttpChannelUtilities.AcceptEncodingHeader]; 977return this.context.Request.Headers[SoapActionHeaderName];
System\ServiceModel\Activation\HttpRequestTraceRecord.cs (2)
27writer.WriteElementString(key, this.request.Headers[key]); 36writer.WriteElementString(key, this.request.Headers[key]);
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\AppSettings.cs (3)
79if (settings == null || !bool.TryParse(settings["microsoft:WorkflowServices:DefaultAutomaticInstanceKeyDisassociation"], out defaultAutomaticInstanceKeyDisassociation)) 84if (settings == null || !int.TryParse(settings["microsoft:WorkflowServices:FilterResumeTimeoutInSeconds"], out filterResumeTimeoutInSeconds) || 90if (settings == null || !bool.TryParse(settings["microsoft:WorkflowServices:IgnoreTransactionsForTransactedCancelAndTransactedTerminate"], out ignoreTransactionsForTransactedCancelAndTransactedTerminate))
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\MessageExtensionMethods.cs (2)
154request.AddHeader(headerKey, headers[headerKey]); 183response.AddHeader(headerKey, headers[headerKey]);
System.ServiceModel.Web (8)
System\ServiceModel\Configuration\AppSettings.cs (2)
61if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[EnableAutomaticEndpointsCompatabilityString], out enableAutomaticEndpointCompat)) 66if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[DisableHtmlErrorPageExceptionHtmlEncodingString], out disableHtmlErrorPageExceptionHtmlEncoding))
System\ServiceModel\Description\WebHttpBehavior.cs (1)
1324string callbackName = match.QueryParameters[callbackParameterName];
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
72if ((requestMessageProperty != null) && IsServiceUnchanged(requestMessageProperty.Headers[JsonGlobals.IfModifiedSinceString]))
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
332if (((HttpResponseMessageProperty)responseProperty).Headers[JsonGlobals.jsonerrorString] == JsonGlobals.trueString)
System\ServiceModel\Dispatcher\HelpPage.cs (1)
111return GetOperationHelpPage(match.BoundVariables["operation"]);
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (2)
74parameters[i] = nvc[this.pathMapping[i]]; 78string queryVal = nvc[this.queryMapping[i].Key];
System.Transactions (2)
System\Transactions\Configuration\AppSettings.cs (2)
73if (settings == null || !bool.TryParse(settings["Transactions:IncludeDistributedTransactionIdInExceptionMessage"], out includeDistributedTxIdInExceptionMessage)) 78if (settings == null || !int.TryParse(settings["Transactions:ContextKeyRemotingLeaseLifetimeInMinutes"], out contextKeyRemotingLeaseLifetimeInMinutes))
System.Web (235)
Cache\cache.cs (2)
222string providerName = (string)cacheProviderSettings["name"]; // Grab this now, as InstantiateProvider will remove it from settings 252string providerName = (string)cacheProviderSettings["name"]; // Grab this now, as InstantiateProvider will remove it from settings
Compilation\AppSettingsExpressionBuilder.cs (2)
53string value = ConfigurationManager.AppSettings[key]; 62string value = ConfigurationManager.AppSettings[key];
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
1402string capsString = nvc[s];
Configuration\BrowserCapabilitiesFactory.cs (13)
1785headerValue = ((string)(headers["UA-COLOR"])); 1789headerValue = ((string)(headers["UA-COLOR"])); 1818headerValue = ((string)(headers["UA-PIXELS"])); 1822headerValue = ((string)(headers["UA-PIXELS"])); 1855headerValue = ((string)(headers["UA-OS"])); 1883headerValue = ((string)(headers["UA-CPU"])); 1911headerValue = ((string)(headers["UA-VOICE"])); 1915headerValue = ((string)(headers["UA-VOICE"])); 2261headerValue = ((string)(headers["Accept"])); 2269headerValue = ((string)(headers["Accept"])); 2291headerValue = ((string)(headers["Accept"])); 2299headerValue = ((string)(headers["Accept"])); 2304headerValue = ((string)(headers["Accept"]));
Configuration\BrowserCapabilitiesFactoryBase.cs (1)
139sb.Append(request.Headers[key]);
Configuration\BrowserDefinition.cs (1)
581this._capabilities[key] = definition.Capabilities[key];
Configuration\CapabilitiesState.cs (1)
94string result = _request.ServerVariables[varname];
Configuration\HttpCapabilitiesEvaluator.cs (1)
333value = request.ServerVariables[key];
Configuration\ProvidersHelper.cs (3)
38cloneParams[key] = pars[key]; 68cloneParams[key] = providerSettings[key]; 91string strValue = collection[key] as string;
Configuration\RemoteWebConfigurationHost.cs (1)
349paramValues[iter] = nvc[paramKeys[iter]];
Handlers\AssemblyResourceLoader.cs (1)
516string encryptedData = queryString["d"];
Handlers\TraceHandler.cs (2)
131if (_request.QueryString["clear"] != null) { 138string strid = _request.QueryString["id"];
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 (1)
1094if (Request.QueryString["aspxerrorpath"] != null
HttpCookie.cs (1)
348return Values[key];
HttpDebugHandler.cs (3)
159string command = context.Request.Headers["Command"]; 197String sessId = context.Request.Form["DebugSessionID"]; 210string clsId = (string) valCol["autoattachclsid"];
HttpRequest.cs (7)
908String postDataCharset = Headers["x-up-devcap-post-charset"]; 2046s = QueryString[key]; 2050s = Form[key]; 2058s = ServerVariables[key]; 2237ValidateCookielessHeaderIfRequiredByConfig(_headers[CookielessHelperClass.COOKIELESS_SESSION_FILTER_HEADER]); 2873string x = c[imageFieldName + ".x"]; 2874string y = c[imageFieldName + ".y"];
HttpResponse.cs (4)
249headers.Add(new HttpResponseHeader(headerId, responseHeaders[key])); 252headers.Add(new HttpResponseHeader(key, responseHeaders[key])); 1634coding = _headers["Content-Encoding"]; 2487if (Request.QueryString[qsErrorMark] != null)
ModelBinding\NameValueCollectionValueProvider.cs (1)
81string attemptedValue = collection[key];
OutputCacheModule.cs (5)
222value = col[name]; 721string rangeHeader = request.Headers["Range"]; 742cacheControl = request.Headers["Cache-Control"]; 799pragma = request.Headers["Pragma"]; 875string acceptEncoding = request.Headers["Accept-Encoding"];
Profile\HttpProfileBase.cs (1)
412if (baseProperties[prop.Name] == null) { //not in the base class
Profile\SqlProfileProvider.cs (2)
49if (string.IsNullOrEmpty(config["description"])) { 59_AppName = config["applicationName"];
Security\ADMembershipProvider.cs (9)
322if (string.IsNullOrEmpty(config["description"])) 330appName = config["applicationName"]; 338string temp = config["connectionStringName"]; 351string connProtection = config["connectionProtection"]; 366string username = config["connectionUsername"]; 370string password = config["connectionPassword"]; 391passwordStrengthRegularExpression = config["passwordStrengthRegularExpression"]; 594temp = config["passwordCompatMode"]; 3146string sValue = config[valueName];
Security\AuthStoreRoleProvider.cs (4)
83if (string.IsNullOrEmpty(config["description"])) { 91_ScopeName = config["scopeName"]; 95_ConnectionString = config["connectionStringName"]; 108_AppName = config["applicationName"];
Security\CookielessHelper.cs (5)
48_Headers = _Context.Request.Headers[COOKIELESS_SESSION_FILTER_HEADER]; 251string cookieHeader = context.Request.Headers["Cookie"]; 259string qs = context.Request.QueryString[s_AutoDetectName]; 339string cookieHeader = _Context.Request.Headers["Cookie"]; 346string qs = _Context.Request.QueryString[s_AutoDetectName];
Security\FormsAuthentication.cs (4)
530String returnUrl = context.Request.QueryString[ReturnUrlVar]; 534returnUrl = context.Request.Form[ReturnUrlVar]; 650string defaultUrl = configurationData["defaultUrl"]; 654string loginUrl = configurationData["loginUrl"];
Security\FormsAuthenticationModule.cs (2)
391encValue = context.Request.QueryString[name]; 410encValue = context.Request.Form[name];
Security\Membership.cs (2)
432string passwordFormat = ps.Parameters["passwordFormat"]; 472cloneParams[key] = pars[key];
Security\PassportIdentity.cs (6)
56String strTVariable = context.Request.QueryString["t"]; 57String strPVariable = context.Request.QueryString["p"]; 91context.Request.ServerVariables["SERVER_PROTOCOL"] + "\r\n"; 94context.Request.ServerVariables["ALL_RAW"], 824str = context.Request.Headers["Accept-Auth"]; 1035String strRU = context.Request.QueryString["ru"];
Security\Roles.cs (1)
543cloneParams[key] = pars[key];
Security\SQLMembershipProvider.cs (5)
112if (string.IsNullOrEmpty(config["description"])) { 130_PasswordStrengthRegularExpression = config["passwordStrengthRegularExpression"]; 154_AppName = config["applicationName"]; 163string strTemp = config["passwordFormat"]; 189string temp = config["passwordCompatMode"];
Security\SQLRoleProvider.cs (2)
52if (string.IsNullOrEmpty(config["description"])) { 64_AppName = config["applicationName"];
Security\WindowsTokenRoleProvider.cs (2)
46if (string.IsNullOrEmpty(config["description"])) { 54_AppName = config["applicationName"];
SiteMapNode.cs (1)
116text = _attributes[key];
SiteMapProvider.cs (1)
317if (string.IsNullOrEmpty(attributes["description"])) {
State\StateRuntime.cs (3)
341valueAsString = context.Request.Headers[header]; 383valueAsString = context.Request.Headers[header]; 429exclusiveAccess = request.Headers[StateHeaders.EXCLUSIVE_NAME];
StaticFileHandler.cs (2)
346string ifRangeHeader = request.Headers["If-Range"]; 535rangeHeader = request.Headers["Range"];
UI\ClientScriptManager.cs (1)
194unsafeField = _owner.RequestValueCollection[Page.EventValidationPrefixID];
UI\HtmlControls\HtmlInputCheckBox.cs (1)
148string post = postCollection[postDataKey];
UI\HtmlControls\HtmlInputImage.cs (2)
287string postX = postCollection[RenderedNameAttribute + ".x"]; 288string postY = postCollection[RenderedNameAttribute + ".y"];
UI\HtmlControls\HtmlInputRadioButton.cs (1)
210string postValue = postCollection[RenderedNameAttribute];
UI\Page.cs (31)
1052string fieldCountStr = RequestValueCollection[ViewStateFieldCountID]; 1055_requestViewState = RequestValueCollection[ViewStateFieldPrefixID]; 1071string viewStateChunk = RequestValueCollection[key]; 1970if (ret[ViewStateFieldPrefixID] == null && 1971ret[ViewStateFieldCountID] == null && 1972ret[postEventSourceID] == null && 2147if (!VerifyClientStateIdentifier(_requestValueCollection[ViewStateGeneratorFieldID])) { 2173string xpos = _requestValueCollection[_scrollPositionXID]; 2177string ypos = _requestValueCollection[_scrollPositionYID]; 3325string eventSource = postData[postEventSourceID]; 3338string eventArgument = postData[postEventArgumentID]; 4668exportedWebPartID = Request.QueryString["webPart"]; 4673if (String.Equals(Request.QueryString["scope"], "shared", StringComparison.OrdinalIgnoreCase)) { 4677string queryString = Request.QueryString["query"]; 4688if (_requestValueCollection[ViewStateEncryptionID] != null) { 4693callbackControlId = _requestValueCollection[callbackID]; 4702if (_requestValueCollection[previousPageID] != null) { 4705DecryptString(_requestValueCollection[previousPageID], Purpose.WebForms_Page_PreviousPageID)); 4964exportedWebPartID = Request.QueryString["webPart"]; 4969if (String.Equals(Request.QueryString["scope"], "shared", StringComparison.OrdinalIgnoreCase)) { 4973string queryString = Request.QueryString["query"]; 4984if (_requestValueCollection[ViewStateEncryptionID] != null) { 4989callbackControlId = _requestValueCollection[callbackID]; 4998if (_requestValueCollection[previousPageID] != null) { 5001DecryptString(_requestValueCollection[previousPageID], Purpose.WebForms_Page_PreviousPageID)); 5314string param = _requestValueCollection[callbackParameterID]; 5331bool needsCallbackLoadScript = !String.IsNullOrEmpty(_requestValueCollection[callbackLoadScriptID]); 5347string param = _requestValueCollection[callbackParameterID]; 5367bool needsCallbackLoadScript = !String.IsNullOrEmpty(_requestValueCollection[callbackLoadScriptID]); 5379bool needsCallbackLoadScript = !String.IsNullOrEmpty(_requestValueCollection[callbackLoadScriptID]); 5383index = _requestValueCollection[callbackIndexID];
UI\PartialCachingControl.cs (3)
504string val = reqValCollection[varyByParam]; 531string val = reqValCollection[temp]; 533combinedHashCode.AddObject(reqValCollection[temp]);
UI\TraceContext.cs (1)
849row[SR.Trace_Value] = collection[keys[i]];
UI\ValidationSettings.cs (1)
16string configValue = ConfigurationManager.AppSettings["ValidationSettings:UnobtrusiveValidationMode"];
UI\ViewStateException.cs (5)
68_remoteAddr = request.ServerVariables["REMOTE_ADDR"]; 69_remotePort = request.ServerVariables["REMOTE_PORT"]; 70_userAgent = request.ServerVariables["HTTP_USER_AGENT"]; 71_referer = request.ServerVariables["HTTP_REFERER"]; 72_path = request.ServerVariables["PATH_INFO"];
UI\WebControls\CheckBox.cs (1)
600string post = postCollection[postDataKey];
UI\WebControls\CheckBoxList.cs (1)
373bool newCheckState = (postCollection[postDataKey] != null);
UI\WebControls\DetailsView.cs (1)
3137string hiddenFieldState = Page.RequestValueCollection[hiddenFieldID];
UI\WebControls\FormParameter.cs (1)
108return formCollection[FormField];
UI\WebControls\GridView.cs (1)
3666string hiddenFieldState = Page.RequestValueCollection[hiddenFieldID];
UI\WebControls\HiddenField.cs (1)
110string postData = postCollection[postDataKey];
UI\WebControls\ImageButton.cs (2)
390string postX = postCollection[name + ".x"]; 391string postY = postCollection[name + ".y"];
UI\WebControls\login.cs (1)
1345((!Page.IsPostBack) && (Page.Request.QueryString[_failureParameterName] != null));
UI\WebControls\QueryStringParameter.cs (1)
108return queryStringCollection[QueryStringField];
UI\WebControls\RadioButton.cs (1)
131string post = postCollection[UniqueGroupName];
UI\WebControls\RadioButtonList.cs (1)
249string post = postCollection[postDataKey];
UI\WebControls\TextBox.cs (1)
649string postData = postCollection[postDataKey];
UI\WebControls\TreeView.cs (5)
2445if ((Context.Request.Form[checkBoxFieldID] != null) || 2446(Context.Request.QueryString[checkBoxFieldID] != null)) { 3349string postedSelectedNodeID = postCollection[SelectedNodeFieldID]; 3362string log = postCollection[PopulateLogID]; 3390string expandState = postCollection[ExpandStateID];
UI\WebParts\CatalogZoneBase.cs (2)
424string selectedCheckBoxValues = postCollection[CheckBoxName]; 433_selectedZoneID = postCollection[ZonesID];
UI\WebParts\ConnectionsZone.cs (2)
661string selectedValue = Page.Request.Form[list.UniqueID]; 745string selectedValue = Page.Request.Form[list.UniqueID];
UI\WebParts\SqlPersonalizationProvider.cs (3)
450if (string.IsNullOrEmpty(configSettings["description"])) { 459_applicationName = configSettings["applicationName"]; 468string connectionStringName = configSettings["connectionStringName"];
UnvalidatedRequestValues.cs (3)
116string qsValue = QueryString[field]; 121string formValue = Form[field]; 131string svValue = _request.ServerVariables[field];
Util\AppSettings.cs (39)
38if (settings == null || !Boolean.TryParse(settings["aspnet:UseHostHeaderForRequestUrl"], out _useHostHeaderForRequestUrl)) 41if (settings == null || !Boolean.TryParse(settings["aspnet:AllowAnonymousImpersonation"], out _allowAnonymousImpersonation)) 44if (settings == null || !Boolean.TryParse(settings["aspnet:ScriptResourceAllowNonJsFiles"], out _scriptResourceAllowNonJsFiles)) 47if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyEncryption"], out _useLegacyEncryption)) 50if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyMachineKeyEncryption"], out _useLegacyMachineKeyEncryption)) 53if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyFormsAuthenticationTicketCompatibility"], out _useLegacyFormsAuthenticationTicketCompatibility)) 56if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyEventValidationCompatibility"], out _useLegacyEventValidationCompatibility)) 61if (settings == null || !Boolean.TryParse(settings["aspnet:AlwaysIgnoreViewStateValidationErrors"], out _alwaysIgnoreViewStateValidationErrors)) 64if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedHttpUserName"], out _allowRelaxedHttpUserName)) 67if (settings == null || !Boolean.TryParse(settings["aspnet:JavaScriptDoNotEncodeAmpersand"], out _javaScriptDoNotEncodeAmpersand)) 70if (settings == null || !Boolean.TryParse(settings["aspnet:UseTaskFriendlySynchronizationContext"], out _useTaskFriendlySynchronizationContext)) 73if (settings == null || !Boolean.TryParse(settings["aspnet:AllowAsyncDuringSyncStages"], out _allowAsyncDuringSyncStages)) 76if (settings == null || !int.TryParse(settings["aspnet:MaxHttpCollectionKeys"], out _maxHttpCollectionKeys) || _maxHttpCollectionKeys < 0) 79if (settings == null || !int.TryParse(settings["aspnet:MaxJsonDeserializerMembers"], out _maxJsonDeserializerMembers) || _maxJsonDeserializerMembers < 0) 82if (settings == null || !Boolean.TryParse(settings["aspnet:DoNotDisposeSpecialHttpApplicationInstances"], out _doNotDisposeSpecialHttpApplicationInstances)) 86_formsAuthReturnUrlVar = settings["aspnet:FormsAuthReturnUrlVar"]; 88if (settings == null || !Boolean.TryParse(settings["aspnet:RestrictXmlControls"], out _restrictXmlControls)) 91if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedRelativeUrl"], out _allowRelaxedRelativeUrl)) 94if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyRequestUrlGeneration"], out _useLegacyRequestUrlGeneration)) 97if (settings == null || !Boolean.TryParse(settings["aspnet:AllowUtf7RequestContentEncoding"], out _allowUtf7RequestContentEncoding)) 100if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedUnicodeDecoding"], out _allowRelaxedUnicodeDecoding)) 103if (settings == null || !Boolean.TryParse(settings["aspnet:DontUsePercentUUrlEncoding"], out _dontUsePercentUUrlEncoding)) 106if (settings == null || !int.TryParse(settings["aspnet:UpdatePanelMaxScriptLength"], out _updatePanelMaxScriptLength) || _updatePanelMaxScriptLength < 0) 112if (settings == null || !int.TryParse(settings["aspnet:MaxAcceptLanguageFallbackCount"], out _maxAcceptLanguageFallbackCount) || _maxAcceptLanguageFallbackCount <= 0) 115if (settings == null || !Boolean.TryParse(settings["aspnet:PortableCompilationOutput"], out _portableCompilationOutput)) 118if (settings == null || string.IsNullOrWhiteSpace(_portableCompilationOutputSnapshotType = settings["aspnet:PortableCompilationOutputSnapshotType"])) 121if (settings == null || string.IsNullOrWhiteSpace(_portableCompilationOutputSnapshotTypeOptions = settings["aspnet:PortableCompilationOutputSnapshotTypeOptions"])) 124if (settings == null || !Boolean.TryParse(settings["aspnet:EnsureSessionStateLockedOnFlush"], out _ensureSessionStateLockedOnFlush)) 127if (settings == null || !Boolean.TryParse(settings["aspnet:UseRandomizedStringHashAlgorithm"], out _useRandomizedStringHashAlgorithm)) 130if (settings == null || !Boolean.TryParse(settings["aspnet:EnableAsyncModelBinding"], out _enableAsyncModelBinding)) 133if (settings == null || !int.TryParse(settings["aspnet:RequestQueueLimitPerSession"], out _requestQueueLimitPerSession) || _requestQueueLimitPerSession < 0) 136if (settings == null || !Boolean.TryParse(settings["aspnet:LogMembershipPasswordFormatWarning"], out _logMembershipPasswordFormatWarning)) 139if (settings == null || !Boolean.TryParse(settings["aspnet:AvoidDuplicatedSetCookie"], out _avoidDuplicatedSetCookie)) 142if (settings == null || !Boolean.TryParse(settings["aspnet:GetValidationMemberName"], out _getValidationMemberName)) 145if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyClientServicesJsonHandling"], out _useLegacyClientServicesJsonHandling)) 148if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyMultiValueHeaderHandling"], out _useLegacyMultiValueHeaderHandling)) 151if (settings == null || !Boolean.TryParse(settings["aspnet:SuppressSameSiteNone"], out _suppressSameSiteNone)) 182return (settings != null && Boolean.TryParse(settings[key], out value)) ? value : (bool?)null; 188return (settings != null && int.TryParse(settings[key], out value)) ? value : (int?)null;
Util\SecUtil.cs (6)
61string connectionString = config["connectionString"]; 66string connectionStringName = config["connectionStringName"]; 173string sValue = config[valueName]; 188string sValue = config[valueName]; 220string sValue = config[valueName]; 231string sValue = config[valueName];
WebSockets\AspNetWebSocketContextImpl.cs (3)
157return Headers["Origin"]; 199return Headers["Sec-WebSocket-Key"]; 211return Headers["Sec-WebSocket-Version"];
XmlSiteMapProvider.cs (1)
843if (string.IsNullOrEmpty(attributes["description"])) {
System.Web.DataVisualization (4)
WebForm\General\ChartHttpHandler.cs (4)
156_installed = !String.IsNullOrEmpty(WebConfigurationManager.AppSettings[ChartHttpHandlerAppSection]); 178string configSettings = WebConfigurationManager.AppSettings[ChartHttpHandlerAppSection]; 551writer.Write("<h4>" + SR.DiagnosticSettingsConfig(WebConfigurationManager.AppSettings[ChartHttpHandlerAppSection]) + "</h4>"); 990return this._ssCollection[name];
System.Web.DynamicData (1)
DynamicData\DynamicDataRoute.cs (1)
113routeData.Values[key] = httpContext.Request.QueryString[key];
System.Web.Extensions (24)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (4)
112_GetCredentialsTypeName = config["credentialsProvider"]; 113_ConnectionString = config["connectionStringName"]; 114ServiceUri = config["serviceUri"]; 137string temp = config["savePasswordHashLocally"];
ClientServices\Providers\ClientRoleProvider.cs (4)
53ServiceUri = config["serviceUri"]; 55string temp = config["cacheTimeout"]; 59_ConnectionString = config["connectionStringName"]; 81temp = config["honorCookieExpiry"];
ClientServices\Providers\ClientSettingsProvider.cs (5)
147string temp = System.Configuration.ConfigurationManager.AppSettings["ClientSettingsProvider.ServiceUri"]; 151temp = System.Configuration.ConfigurationManager.AppSettings["ClientSettingsProvider.ConnectionStringName"]; 164temp = System.Configuration.ConfigurationManager.AppSettings["ClientSettingsProvider.HonorCookieExpiry"]; 173temp = config["serviceUri"]; 177temp = config["connectionStringName"];
Handlers\ScriptResourceHandler.cs (1)
286string encryptedData = context.Request.QueryString["d"];
Script\Services\RestHandler.cs (1)
90string val = queryString[name];
Script\Services\WebServiceClientProxyGenerator.cs (1)
40string modifiedSince = context.Request.Headers["If-Modified-Since"];
UI\PageRequestManager.cs (2)
336string asyncPost = request.Form[AsyncPostFormField]; 347string postBackSourceInfo = postCollection[postDataKey];
UI\ScriptManager.cs (4)
844_zip = HeaderUtility.IsEncodingInAcceptList(IPage.Request.Headers["Accept-encoding"], "gzip"); 920SetStateValue(key, state[key]); 1215_initialState.Add(key, state[key]); 1228string serverState = postCollection[postDataKey];
UI\WebControls\DataPager.cs (2)
200return IPage.Request.QueryString[QueryStringField]; 346sb.Append(HttpUtility.UrlEncode(request.QueryString[field]));
System.Web.Mobile (24)
Mobile\CookielessData.cs (2)
30String inboundValue = HttpContext.Current.Request.QueryString[name]; 33inboundValue = HttpContext.Current.Request.Form[name];
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (1)
133if (baseCollection != null && baseCollection[EventSourceKey] == _postedFromOtherFile)
UI\MobileControls\Adapters\HtmlCommandAdapter.cs (2)
125String postX = data[name + ".x"]; 126String postY = data[name + ".y"];
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
122String protocol = Page.Request.ServerVariables["SERVER_PROTOCOL"]; 354baseCollection[EventSourceKey] == _postedFromOtherFile)
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (1)
112Page.Request.QueryString[Constants.UniqueFilePathSuffixVariableWithoutEqual];
UI\MobileControls\Adapters\WmlPageAdapter.cs (2)
156baseCollection[MobilePage.ViewStateID]; 512String charset = Page.Request.Headers["x-up-devcap-charset"];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCommandAdapter.cs (2)
40String postX = data[name + ".x"]; 41String postY = data[name + ".y"];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (1)
409return(String) ConfigurationManager.AppSettings[XhtmlConstants.CssStateLocationAppSettingKey];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (1)
284if (baseCollection != null && baseCollection[EventSourceKey] == XhtmlConstants.PostedFromOtherFile) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlCssHandler.cs (1)
27String cssQueryStringValue = (String) context.Request.QueryString[XhtmlConstants.CssQueryStringName];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
335WriteAttribute (key, additionalAttributes[key], true /* encode */);
UI\MobileControls\Command.cs (1)
81else if(data[key] != null)
UI\MobileControls\MobilePage.cs (6)
632fullQueryString = Request.ServerVariables["QUERY_STRING"]; 931if (Page.Request.QueryString[MobileRedirect.QueryStringVariable] == MobileRedirect.QueryStringValue) 947String eventSource = collection[postEventSourceID]; 951RaisePagePostBackEvent(eventSource, collection[postEventArgumentID]); 1017if(!DesignMode && Request.Headers["__vs_debug"] != null) 1125String clientViewStateString = _requestValueCollection[ViewStateID];
UI\MobileControls\TextBox.cs (1)
56String value = data[key];
System.Web.Services (4)
System\Web\Services\Protocols\RemoteDebugger.cs (1)
224string bufferString = response.Headers[debuggerHeader];
System\Web\Services\Protocols\SoapClientProtocol.cs (2)
534if (this.version != SoapProtocolVersion.Soap12 && request.Headers[Soap.Action] == null) { 607message.ContentEncoding = response.Headers[ContentType.ContentEncoding];
System\Web\Services\Protocols\ValueCollectionParameterReader.cs (1)
62string value = collection[paramInfo.Name];
System.Workflow.Activities (1)
LocalService\ExternalDataExchangeService.cs (1)
87configurationSectionName = parameters[key];
System.Workflow.Runtime (15)
Hosting\DbResourceAllocator.cs (1)
71connectionString = parameters[ConnectionStringToken];
Hosting\DefaultWorkflowSchedulerService.cs (1)
70string p = parameters[key];
Hosting\DefaultWorkflowTransactionService.cs (1)
38_enableRetries = bool.Parse(parameters[key]);
Hosting\ManualWorkflowSchedulerService.cs (1)
88string p = parameters[key];
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
66_enableRetries = bool.Parse(parameters[key]);
Hosting\SqlWorkflowPersistenceService.cs (4)
761int seconds = Convert.ToInt32(parameters[SqlWorkflowPersistenceService.InstanceOwnershipTimeoutSecondsToken], System.Globalization.CultureInfo.CurrentCulture); 770_unloadOnIdle = bool.Parse(parameters[key]); 774int interval = int.Parse(parameters[key], CultureInfo.CurrentCulture); 786_enableRetries = bool.Parse(parameters[key]);
Tracking\SqlTrackingService.cs (6)
157_isTrans = bool.Parse(parameters[key]); 159_defaultProfile = bool.Parse(parameters[key]); 161_partition = bool.Parse(parameters[key]); 164_interval = double.Parse(parameters[key], NumberFormatInfo.InvariantInfo); 169_unvalidatedConnectionString = parameters[key]; 172_enableRetries = bool.Parse(parameters[key]);
System.WorkflowServices (12)
System\ServiceModel\Configuration\PersistenceProviderElement.cs (2)
126writer.WriteAttributeString(key, this.persistenceProviderArguments[key]); 155result ^= key.GetHashCode() ^ this.persistenceProviderArguments[key].GetHashCode();
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (4)
81ConnectionStringSettings settings = ConfigurationManager.ConnectionStrings[parameters[key]]; 86SR2.GetString(SR2.ConnectionStringNameIncorrect, parameters[key])); 92this.SerializeAsText = bool.Parse(parameters[key]); 95this.LockTimeout = TimeSpan.Parse(parameters[key], CultureInfo.InvariantCulture);
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (6)
85ConvertToTimeSpan(parameters[ChannelManagerService.IdleTimeoutSetting]); 90SR2.GetString(SR2.Error_InvalidIdleTimeout, parameters[ChannelManagerService.IdleTimeoutSetting]), 102ConvertToTimeSpan(parameters[ChannelManagerService.LeaseTimeoutSetting]); 107SR2.GetString(SR2.Error_InvalidLeaseTimeout, parameters[ChannelManagerService.LeaseTimeoutSetting]), 119Convert.ToInt32(parameters[ChannelManagerService.MaxIdleChannelsPerEndpointSetting], System.Globalization.CultureInfo.CurrentCulture); 124SR2.GetString(SR2.Error_InvalidMaxIdleChannelsPerEndpoint, parameters[ChannelManagerService.MaxIdleChannelsPerEndpointSetting]),
System.Xml (1)
System\Xml\Serialization\AppSettings.cs (1)
39if ((appSettingsSection == null) || !bool.TryParse(appSettingsSection[UseLegacySerializerGenerationAppSettingsString], out tempUseLegacySerializerGeneration)) {
WindowsBase (2)
Base\System\Windows\BaseCompatibilityPreferences.cs (2)
222string s = appSettings[nameof(MatchPackageSignatureMethodToPackagePartDigestMethod)]; 346string s = appSettings["HandleDispatcherRequestProcessingFailure"];