11 references to Host
System (1)
net\System\Net\HttpListenerRequest.cs (1)
566
return GetKnownHeader(HttpRequestHeader.
Host
);
System.Data.Services (1)
System\Data\Services\HttpContextServiceHost.cs (1)
375
get { return this.operationContext.IncomingRequest.Headers[HttpRequestHeader.
Host
]; }
System.ServiceModel (2)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
211
string hostHeader = httpRequest.Headers[HttpRequestHeader.
Host
];
System\UriTemplateMatch.cs (1)
39
this.baseUri = UriTemplate.RewriteUri(this.originalBaseUri, this.requestProp.Headers[HttpRequestHeader.
Host
]);
System.ServiceModel.Web (7)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
80
string proxyContent = this.GetProxyContent(UriTemplate.RewriteUri(this.endpoint.Address.Uri, requestMessageProperty.Headers[HttpRequestHeader.
Host
]));
System\ServiceModel\Dispatcher\HelpPage.cs (3)
51
Uri baseUri = UriTemplate.RewriteUri(OperationContext.Current.Channel.LocalAddress.Uri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.
Host
]);
66
Uri requestUri = UriTemplate.RewriteUri(WebOperationContext.Current.IncomingRequest.UriTemplateMatch.RequestUri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.
Host
]);
73
Uri baseUri = UriTemplate.RewriteUri(OperationContext.Current.Channel.LocalAddress.Uri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.
Host
]);
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (1)
76
Uri helpUri = this.HelpUri != null ? UriTemplate.RewriteUri(this.HelpUri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.
Host
]) : null;
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
138
helpUri = this.webHttpBehavior.HelpUri != null ? UriTemplate.RewriteUri(this.webHttpBehavior.HelpUri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.
Host
]) : null;
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
364
hostName = requestProperty.Headers[HttpRequestHeader.
Host
];