69 references to Uri
dotnet-svcutil-lib (69)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (1)
539return CreateChannel(address, address.Uri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
112return this.InternalCreateChannel(address, address.Uri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (4)
404if (MessageVersion.Addressing == AddressingVersion.None && remoteAddress.Uri != via) 406throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateToMustEqualViaException(remoteAddress.Uri, via)); 414remoteAddress = remoteAddress != null && !WebSocketHelper.IsWebSocketUri(remoteAddress.Uri) ? 415new EndpointAddress(WebSocketHelper.NormalizeHttpSchemeWithWsScheme(remoteAddress.Uri), remoteAddress) :
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
74if (MessageVersion.Addressing == AddressingVersion.None && remoteAddress.Uri != via) 76throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateToMustEqualViaException(remoteAddress.Uri, via));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (9)
591Uri localUri = localAddress.Uri; 593if ((replyTo != null) && !replyTo.IsAnonymous && (localUri != replyTo.Uri)) 595string text = string.Format(SRServiceModel.SFxRequestHasInvalidReplyToOnClient, replyTo.Uri, localUri); 601if ((faultTo != null) && !faultTo.IsAnonymous && (localUri != faultTo.Uri)) 603string text = string.Format(SRServiceModel.SFxRequestHasInvalidFaultToOnClient, faultTo.Uri, localUri); 659if (RemoteAddress != null && RemoteAddress.Uri != null) 661remoteAddress = RemoteAddress.Uri.AbsoluteUri; 989if (RemoteAddress != null && RemoteAddress.Uri != null) 991remoteAddress = RemoteAddress.Uri.AbsoluteUri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
339via = address.Uri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SessionConnectionReader.cs (1)
364throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(FaultStringDecoder.GetFaultException(_decoder.Fault, _channel.RemoteAddress.Uri.ToString(), _messageEncoder.ContentType));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
91if (address.Uri.Scheme == /*TODO: Uri.UriSchemeHttps*/ "https" && transportBindingElement is HttpTransportBindingElement && !(transportBindingElement is HttpsTransportBindingElement))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
482this.LocalAddress != null && this.LocalAddress.Uri != null ? this.LocalAddress.Uri.AbsoluteUri : string.Empty, 569WcfEventSource.Instance.MessageSentByTransport(eventTraceActivity, this.RemoteAddress.Uri.AbsoluteUri); 640WcfEventSource.Instance.MessageSentByTransport(eventTraceActivity, this.RemoteAddress.Uri.AbsoluteUri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportOutputChannel.cs (1)
42toUri = to.Uri;
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (1)
534_channel = cf.ServiceChannelFactory.CreateServiceChannel(client.Endpoint.Address, client.Endpoint.Address.Uri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (4)
74CreateChannelFactory(address.Uri.Scheme); 943get { return _address.Uri.ToString(); } 1137((IClientChannel)metadataClient).RemoteAddress.Uri.ToString()))); 1143_section = MetadataRetriever.CreateMetadataSection(reader, ((IClientChannel)metadataClient).RemoteAddress.Uri.ToString());
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (1)
130return _address.Uri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpointCollection.cs (1)
110if (endpoint != null && endpoint.Address.Uri == address)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (3)
358addressBinding.Location = endpoint.Address.Uri.AbsoluteUri; 1211if (endpoint.Address != null && endpoint.Address.Uri != null) 1212endpointIdentifier = endpoint.Address.Uri.ToString();
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexChannelFactory.cs (1)
199return CreateChannel(callbackInstance, address, address.Uri);
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (7)
307Uri uri = this.Uri; 433Uri thisTo = this.Uri; 434Uri otherTo = endpointAddress.Uri; 1037writer.WriteString(this.Uri.AbsoluteUri); 1054writer.WriteString(this.Uri.AbsoluteUri); 1126writer.WriteString(this.Uri.AbsoluteUri); 1284_uri = address.Uri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (2)
36if (reference.Identity == null && reference.Uri != via) 184Uri toAddress = reference.Uri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
416return string.Format(CultureInfo.InvariantCulture, "host/{0}", target.Uri.DnsSafeHost);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (5)
2298addressToSerialize.Uri, 2852if (mexAddress == null || mexAddress.IsAnonymous || mexAddress.Uri.Equals(s_selfIssuerUri)) 2901metadataSet = policyFetcher.GetMetadata(mexAddress.Uri, MetadataExchangeClientMode.HttpGet); 3027if (isIssuerSpecified && !parameters.IssuerAddress.Uri.Equals(endpoint.Address.Uri))
Metadata\MetadaExchangeResolver.cs (18)
90string uriQuery = this.EndpointAddress.Uri.Query; 91string baseUri = this.EndpointAddress.Uri.AbsoluteUri.Trim('/'); 93bool isMexUri = this.EndpointAddress.Uri.AbsoluteUri.EndsWith(mexUri, StringComparison.OrdinalIgnoreCase); 94bool isHttp = this.EndpointAddress.Uri.Scheme == MetadataConstants.Uri.UriSchemeHttp || this.EndpointAddress.Uri.Scheme == MetadataConstants.Uri.UriSchemeHttps; 98this.ServerCertificateValidationProvider?.BeforeServerCertificateValidation(this.EndpointAddress.Uri); 104metadataResolved = await ResolveMetadataAsync(this.EndpointAddress.Uri, MetadataExchangeClientMode.HttpGet, true, cancellationToken).ConfigureAwait(false); 108baseUri = this.EndpointAddress.Uri.AbsoluteUri.Remove(this.EndpointAddress.Uri.AbsoluteUri.Length - uriQuery.Length); 114metadataResolved = await ResolveMetadataAsync(this.EndpointAddress.Uri, MetadataExchangeClientMode.MetadataExchange, true, cancellationToken).ConfigureAwait(false); 117baseUri = this.EndpointAddress.Uri.AbsoluteUri.Remove(this.EndpointAddress.Uri.AbsoluteUri.Length - mexUri.Length); 156this.ServerCertificateValidationProvider?.AfterServerCertificateValidation(this.EndpointAddress.Uri); 163_metadataException = new MetadataExchangeException(MetadataResources.ErrUnableToConnectToUriFormat, this.EndpointAddress.Uri.AbsoluteUri, MetadataResources.EnableMetadataHelpMessage); 252this.GetWebRequest(this.EndpointAddress.Uri, null, null); 281authenticateUser = RequiresAuthentication(ex, this.EndpointAddress.Uri, out bool _); 369string scheme = endpointAddress.Uri.Scheme; 403throw new MetadataExchangeException(MetadataResources.ErrCannotCreateAMetadataExchangeClientFormat, endpointAddress.Uri.OriginalString, scheme);