382 instantiations of EndpointAddress
Binding.Custom.IntegrationTests (3)
CustomBindingTests.4.0.0.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
CustomBindingTests.4.1.0.cs (2)
35factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(new Uri(Endpoints.Tcp_CustomBinding_SslStreamSecurity_Address), endpointIdentity)); 73factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address));
Binding.Http.IntegrationTests (15)
BasicHttpBindingTests.4.0.0.cs (9)
37serviceProxy = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 76factory = new ChannelFactory<IWcfService>(customBinding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 112factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 158factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 214factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 254factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 298factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 346factory = new ChannelFactory<IWcfDecompService>(customBinding, new EndpointAddress(Endpoints.HttpBaseAddress_BasicDecomp)); 388new EndpointAddress(app.Urls.First(u => u.StartsWith("http:"))));
NetHttpBindingTests.4.0.0.cs (1)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttp + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)));
NetHttpsBindingTests.4.1.0.cs (3)
32factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding))); 69factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary)); 99factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary));
OperationContextTests.cs (1)
41factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
WSHttpBindingTests.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.WSHttpBindingBaseAddress + Enum.GetName(typeof(WSMessageEncoding), messageEncoding)));
Binding.ReliableSession.IntegrationTests (15)
NetHttpBindingTests.cs (6)
38factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 77factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetHttp + endpointSuffix)); 114factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 199factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 282factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 372factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix));
NetTcpBindingTests.cs (3)
33factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetTcp + endpointSuffix)); 71factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetTcp + endpointSuffix)); 110factory = new DuplexChannelFactory<IWcfReliableDuplexService>(instanceContext, customBinding, new EndpointAddress(Endpoints.ReliableDuplexSession_NetTcp + endpointSuffix));
WSHttpBindingTests.cs (6)
38factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 77factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_WSHttp + endpointSuffix)); 114factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 199factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 282factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 372factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix));
Binding.Tcp.IntegrationTests (10)
NetTcpBindingTests.4.0.0.cs (5)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 60factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 98factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 139factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 181factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address));
NetTcpBindingTests.4.1.0.cs (2)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 64factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address));
OperationContextAsyncFlowTests.cs (3)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 63factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 113EndpointAddress endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_DuplexCallback_Address);
Binding.UDS.IntegrationTests (5)
UDSBindingTests.cs (5)
45new System.ServiceModel.EndpointAddress(uriBuilder.ToString())); 80new System.ServiceModel.EndpointAddress(uri)); 116new System.ServiceModel.EndpointAddress(new Uri(uriBuilder.ToString()), identity)); 160new System.ServiceModel.EndpointAddress(new Uri("net.uds://" + UDS.GetUDSFilePath()))); 195new System.ServiceModel.EndpointAddress(uriBuilder.ToString()));
Binding.WS.FederationHttp.IntegrationTests (6)
WSFederationHttpBindingTests.cs (6)
38issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + endpointSuffix)); 40serviceEndpointAddress = new EndpointAddress(new Uri(tokenTargetAddress)); 99issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + "wsHttp/wstrustFeb2005")); 101serviceEndpointAddress = new EndpointAddress(new Uri(tokenTargetAddress)); 151issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + "wsHttp/wstrust13")); 153serviceEndpointAddress = new EndpointAddress(new Uri(tokenTargetAddress));
Client.ChannelLayer.IntegrationTests (13)
DuplexChannelShapeTests.4.0.0.cs (2)
41channel = factory.CreateChannel(new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 96channel = factory.CreateChannel(new EndpointAddress(Endpoints.Tcp_NoSecurity_Address));
DuplexChannelShapeTests.4.1.0.cs (2)
38channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_NetHttpsWebSockets)); 98channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_NetHttpWebSockets));
DuplexChannelWithSynchronizationContext.cs (4)
35EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 96EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 175EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 238factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address));
RequestReplyChannelShapeTests.4.0.0.cs (4)
40channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 94channel = factory.CreateChannel(new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 146channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 202channel = factory.CreateChannel(new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
RequestReplyChannelShapeTests.4.1.0.cs (1)
40channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary));
Client.ClientBase.IntegrationTests (30)
ChannelBaseTests.4.0.0.cs (5)
32client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 71client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 123client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 178client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 228client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(endpoint));
ClientBaseTests.4.0.0.cs (16)
30client = new MyClientBase<IWcfService>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 71client = new MyClientBase<IWcfService>(customBinding, new EndpointAddress(endpoint)); 75ServiceEndpoint serviceEndpoint = new ServiceEndpoint(cd, customBinding, new EndpointAddress(endpoint)); 120client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 165client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 215client = new MyClientBase(customBinding, new EndpointAddress(endpoint)); 290client = new MyClientBase(customBinding, new EndpointAddress(endpoint)); 369client = new MyClientBase(customBinding, new EndpointAddress(endpoint)); 446client = new MyClientBase(customBinding, new EndpointAddress(endpoint)); 496client = new MyClientBase(customBinding, new EndpointAddress(endpoint)); 547client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 598client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 651client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 701client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 736client = new MyClientBase(binding, new EndpointAddress(Endpoints.Tcp_CustomBinding_NoSecurity_Text_Address)); 772client = new MyClientBase<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ClientBaseTests.4.1.0.cs (2)
25new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 69new EndpointAddress(uri));
ClientBaseTests.4.4.0.cs (1)
32client = new MyClientBase(customBinding, new EndpointAddress(endpoint));
DuplexClientBaseTests.4.1.0.cs (2)
30duplexService = new MyDuplexClientBase<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address_Text)); 78duplexService = new MyDuplexClientBase<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Callback_Address));
MessageInspectorTests.4.4.0.cs (2)
32EndpointAddress endPoint = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 85EndpointAddress endPoint = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
SessionTests.cs (2)
213var helloEndpoint = new EndpointAddress(url); 505var duplexEndpoint = new EndpointAddress(Endpoints.Tcp_Session_Tests_Duplex_Service);
Client.ExpectedExceptions.IntegrationTests (22)
CallbackDebugBehaviorTests.cs (2)
37endpointAddress = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address); 63var endpointAddress2 = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address);
CallbackErrorHandlerTests.cs (1)
29endpointAddress = new EndpointAddress(Endpoints.DuplexCallbackErrorHandler_Address);
ExpectedExceptionTests.4.0.0.cs (6)
32endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 73endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 120endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 162endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 197endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 259factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ExpectedExceptionTests.4.1.0.cs (12)
33endpointAddress = new EndpointAddress(nonExistentHost); 71setupHostFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 104factory = new ChannelFactory<IWcfRestartService>(binding, new EndpointAddress(restartServiceAddress)); 132factory = new ChannelFactory<IWcfRestartService>(binding, new EndpointAddress(restartServiceAddress)); 165endpointAddress = new EndpointAddress(notFoundUrl); 204endpointAddress = new EndpointAddress(protocolExceptionUri); 246endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address); 296endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address); 348endpointAddress = new EndpointAddress(Endpoints.Tcp_ExpiredServerCertResource_Address); 391endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_RevokedServerCertResource_Address), new DnsEndpointIdentity(Endpoints.Tcp_RevokedServerCertResource_HostName)); 439endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_InvalidEkuServerCertResource_Address), new DnsEndpointIdentity(Endpoints.Tcp_InvalidEkuServerCertResource_HostName)); 513factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ExpectedExceptionTests.4.1.1.cs (1)
33endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName));
Client.TypedClient.IntegrationTests (12)
TypedProxyDuplexTests.4.1.0.cs (2)
36factory = new DuplexChannelFactory<IWcfDuplexTaskReturnService>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address)); 71factory = new DuplexChannelFactory<IWcfDuplexTaskReturnService>(typeof(DuplexTaskReturnServiceCallback), binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address));
TypedProxyTests.4.0.0.cs (9)
130endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 183endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 233endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 297endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 361endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 460endpointAddress = new EndpointAddress(endpoint); 506endpointAddress = new EndpointAddress(endpoint); 547endpointAddress = new EndpointAddress(endpoint); 589endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address);
TypedProxyTests.4.1.0.cs (1)
66endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_DuplexCallback_Address);
Contract.Data.IntegrationTests (4)
DataContractTests.4.0.0.cs (1)
34endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address);
DataContractTests.4.1.0.cs (2)
34factory = new DuplexChannelFactory<IWcfDuplexService_DataContract>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_DataContractDuplexCallback_Address)); 73factory = new DuplexChannelFactory<IWcfDuplexService_Xml>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_XmlDuplexCallback_Address));
DataContractTests.4.1.1.cs (1)
26factory = new ChannelFactory<IDataContractResolverService>(new BasicHttpBinding(), new EndpointAddress(Endpoints.DataContractResolver_Address));
Contract.Fault.IntegrationTests (9)
FaultExceptionTests.4.0.0.cs (8)
28endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 62endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 97factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 134factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 171factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 208factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 241factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
FaultExceptionTests.cs (1)
32client = new MyClientBase<IWcfService>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
Contract.Message.IntegrationTests (6)
MessageContractCommon.4.1.0.cs (1)
48ChannelFactory<IMessageContract> factory = new ChannelFactory<IMessageContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
MessageContractTests.4.4.0.cs (2)
26factory = new ChannelFactory<IWcfService_4_4_0>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_4_4_0_Basic)); 98factory = new ChannelFactory<IWcfService_4_4_0>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_4_4_0_Basic));
MessageContractTests.cs (1)
37factory = new ChannelFactory<IUnderstoodHeaders>(binding, new EndpointAddress(Endpoints.UnderstoodHeaders));
MessageTests.4.0.0.cs (2)
29IRequestChannel channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Contract.Service.IntegrationTests (29)
ServiceContractTests.4.0.0.cs (10)
33factory = new ChannelFactory<IServiceContractIntOutService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncIntOut_Address)); 80factory = new ChannelFactory<IServiceContractUniqueTypeOutService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncUniqueTypeOut_Address)); 126factory = new ChannelFactory<IServiceContractIntRefService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncIntRef_Address)); 174factory = new ChannelFactory<IServiceContractUniqueTypeRefService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncUniqueTypeRef_Address)); 222factory = new ChannelFactory<IServiceContractUniqueTypeOutSyncService>(binding, new EndpointAddress(Endpoints.ServiceContractSyncUniqueTypeOut_Address)); 268factory = new ChannelFactory<IServiceContractUniqueTypeRefSyncService>(binding, new EndpointAddress(Endpoints.ServiceContractSyncUniqueTypeRef_Address)); 304factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 356factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 410factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 459factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ServiceContractTests.4.1.0.cs (18)
35factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 107factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 143factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 180factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 248factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 310factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 365factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 402factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 437factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 473factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 510factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 547factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 584factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 649factory = new ChannelFactory<IWcfServiceGenerated>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 692factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 782factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 872factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ServiceKnownTypeTests.4.0.0.cs (1)
93var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
Contract.XmlSerializer.IntegrationTests (22)
XmlSerializerFormatSoapTest.cs (1)
91endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Soap);
XmlSerializerFormatTest.4.0.0.cs (9)
21EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 34EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 47EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 72EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 85EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 101EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 121EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 159EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 196EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress);
XmlSerializerFormatTest.4.1.0.cs (3)
19var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 46var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 73MyClientBase<IWcfServiceXml_OperationContext> client = new MyClientBase<IWcfServiceXml_OperationContext>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
XmlSerializerFormatTest.cs (9)
77endpointAddress = new EndpointAddress(Endpoints.XmlSFAttribute_Address); 137endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 169endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 217endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitSingleNs_Address); 265endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitSingleNs_Address); 315endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncDualNs_Address); 372endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitDualNs_Address); 429endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitDualNs_Address); 487endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncWithHeaders_Address);
dotnet-svcutil.xmlserializer.IntegrationTests (22)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
91endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Soap);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (9)
21EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 34EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 47EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 72EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 85EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 101EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 121EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 159EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 196EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (3)
19var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 46var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 73MyClientBase<IWcfServiceXml_OperationContext> client = new MyClientBase<IWcfServiceXml_OperationContext>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (9)
77endpointAddress = new EndpointAddress(Endpoints.XmlSFAttribute_Address); 137endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 169endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 217endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitSingleNs_Address); 265endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitSingleNs_Address); 315endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncDualNs_Address); 372endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitDualNs_Address); 429endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitDualNs_Address); 487endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncWithHeaders_Address);
Encoding.Encoders.IntegrationTests (5)
BinaryEncodingTests.4.0.0.cs (2)
32endpointAddress = new EndpointAddress(Endpoints.HttpBinary_Address); 70endpointAddress = new EndpointAddress(Endpoints.HttpBinary_Address);
TextEncodingTests.4.0.0.cs (1)
32endpointAddress = new EndpointAddress(Endpoints.Tcp_CustomBinding_NoSecurity_Text_Address);
TextEncodingTests.4.1.0.cs (2)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 60factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
31endpointAddress = new EndpointAddress(Endpoints.HttpSoap12_Address); 67endpointAddress = new EndpointAddress(Endpoints.HttpSoap11_Address);
MessageVersionTests.cs (5)
31endpointAddress = new EndpointAddress(Endpoints.HttpSoap12WSA2004_Address); 67endpointAddress = new EndpointAddress(Endpoints.HttpSoap11WSA2004_Address); 103endpointAddress = new EndpointAddress(Endpoints.HttpSoap12WSANone_Address); 139endpointAddress = new EndpointAddress(Endpoints.HttpSoap11WSA10_Address); 175endpointAddress = new EndpointAddress(Endpoints.TcpSoap11WSA10_Address);
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
36channelFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderBuffered_Address)); 80factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderStreamed_Address));
Extensibility.WebSockets.IntegrationTests (12)
WebSocketTests.4.1.0.cs (12)
142endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 210endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 379endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 444endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyStreamed_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 510endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 565endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 622endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 679endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 729factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpDuplexWebSocket_Address)); 770factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpWebSocketTransport_Address)); 814factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpWebSocketTransport_Address)); 855channelFactory = new ChannelFactory<IVerifyWebSockets>(binding, new EndpointAddress(Endpoints.WebSocketHttpVerifyWebSocketsUsed_Address));
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
NamedPipeMetadataImporter.cs (1)
37ChannelFactory<IMetadataExchange> factory = new ChannelFactory<IMetadataExchange>(CreateNamedPipeBinding(), new EndpointAddress(uri.AbsoluteUri));
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
69factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(address)); 101ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(address));
Security.TransportSecurity.IntegrationTests (56)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Http_DigestAuth_NoDomain_Address)); 90factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Http_DigestAuth_NoDomain_Address));
Https\ClientCredentialTypeTests.4.1.0.cs (3)
48endpointAddress = new EndpointAddress(Endpoints.Https_BasicAuth_Address); 123endpointAddress = new EndpointAddress(Endpoints.Https_BasicAuth_Address); 183endpointAddress = new EndpointAddress(Endpoints.Https_BasicAuth_Address);
Https\HttpsTests.4.1.0.cs (12)
41factory = new ChannelFactory<IWcfService>(basicHttpsBinding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 83ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address_Text)); 122ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 161ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap11_Address)); 200ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 242endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_DefaultBinding_Address_Text)); 290endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_DefaultBinding_Address_Text), identity); 331endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_DefaultBinding_Address_Text), identity); 371endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_ClientCertificateAuth_Address)); 420endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_ClientCertificateAuth_Address)); 482endpointAddress = new EndpointAddress(uriBuilder.Uri); 542endpointAddress = new EndpointAddress(uriBuilder.Uri);
Https\HttpsTests.4.1.1.cs (4)
38endpointAddress = new EndpointAddress( 89endpointAddress = new EndpointAddress(new Uri( 148endpointAddress = new EndpointAddress( 195endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_SecModeTrans_ClientCredTypeNone_ServerCertValModeChainTrust_Address));
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
81new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 135new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 188new EndpointAddress(new Uri(Endpoints.Https_WindowsAuth_Address), new SpnEndpointIdentity(spn))); 238new EndpointAddress( 282new EndpointAddress( 335new EndpointAddress( 385new EndpointAddress(
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
71factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 115new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 160new EndpointAddress( 200new EndpointAddress( 251new EndpointAddress( 299new EndpointAddress(
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
35var endpointAddress = new EndpointAddress(localhostEndpointUri); 107var endpointAddress = new EndpointAddress(domainNameEndpointUri); 189var endpointAddress = new EndpointAddress(fqdnEndpointUri);
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
33endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_Address), 82endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_CustomValidation_Address), 134endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_With_ServerAltName_Address));
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
40endpointAddress = new EndpointAddress( 90endpointAddress = new EndpointAddress(new Uri( 148endpointAddress = new EndpointAddress(new Uri( 194endpointAddress = new EndpointAddress(new Uri( 243endpointAddress = new EndpointAddress(new Uri(
Tcp\ClientCredentialTypeTests.OSX.cs (1)
65endpointAddress = new EndpointAddress(
Tcp\IdentityTests.4.1.0.cs (1)
29EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName));
Tcp\IdentityTests.4.1.1.cs (1)
29EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity("wrongone"));
Tcp\StreamingTests.4.1.0.cs (8)
39factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 79factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 119factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 160factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 212factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 269factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 310factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 351factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address));
System.ServiceModel.Federation.Tests (2)
WSTrustChannelSecurityTokenProviderTest.cs (2)
28var issuerAddress = new EndpointAddress(new Uri("http://localhost/issuer.svc")); 29var targetAddress = new EndpointAddress(new Uri("http://localhost/target.svc"));
System.ServiceModel.Http.Tests (3)
ServiceModel\BasicHttpsBindingTest.cs (1)
72var factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(FakeAddress.HttpsAddress));
ServiceModel\HttpIdentityTests.cs (2)
15var endpointAddress = new EndpointAddress(new Uri("https://serverhostname/fakeService.svc"), identity); 27var endpointAddress = new EndpointAddress(new Uri("https://serverhostname/fakeService.svc"), identity);
System.ServiceModel.NetFramingBase (3)
System\ServiceModel\Channels\FramingChannels.cs (1)
19private static EndpointAddress s_anonymousEndpointAddress = new EndpointAddress(EndpointAddress.AnonymousUri, new AddressHeader[0]);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
424serviceReference = new EndpointAddress(via);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
226reference = new EndpointAddress(via);
System.ServiceModel.Primitives (8)
System\ServiceModel\ChannelFactory.cs (1)
386: this(binding, new EndpointAddress(remoteAddress))
System\ServiceModel\DuplexChannelFactory.cs (3)
19: this((object)callbackInstanceType, binding, new EndpointAddress(remoteAddress)) 36: this((object)callbackInstance, binding, new EndpointAddress(remoteAddress)) 76: this(callbackObject, binding, new EndpointAddress(remoteAddress))
System\ServiceModel\EndpointAddress.cs (3)
206s_anonymousAddress = new EndpointAddress(AnonymousUri); 609return new EndpointAddress(addressingVersion, uri, identity, headers, buffer, metadataSection, extensionSection, pspSection); 1309return new EndpointAddress(
System\ServiceModel\Security\IdentityVerifier.cs (1)
38reference = new EndpointAddress(via);
System.ServiceModel.Primitives.Tests (56)
Channels\BehaviorExtensionTest.cs (2)
28EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 61EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000");
Channels\CustomBindingTest.cs (1)
30IRequestChannel channel = factory.CreateChannel(new EndpointAddress("http://localhost/WcfProjectNService.svc"));
Channels\CustomChannelTest.cs (12)
56EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 147EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 240EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 291EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 348EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 407EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 445EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 485EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 536EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 587EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 639EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 692EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000");
Description\ContractDescriptionTest.cs (1)
176EndpointAddress address = new EndpointAddress(FakeAddress.HttpAddress);
Description\OperationBehaviorTest.cs (2)
30duplexService = new MyDuplexClientBase<ICustomOperationBehaviorDuplexService>(context, binding, new EndpointAddress(FakeAddress.TcpAddress)); 51ChannelFactory<IXmlTestingType> factory = new ChannelFactory<IXmlTestingType>(binding, new EndpointAddress(baseAddress));
Description\OperationContractAttributeTest.cs (1)
52var helloEndpoint = new EndpointAddress(url);
ServiceModel\ChannelFactoryTest.cs (8)
31EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 88EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 143EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 189factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(FakeAddress.HttpAddress)); 217factory = new ChannelFactory<IRequestChannel>(binding, new EndpointAddress(FakeAddress.HttpAddress)); 252new EndpointAddress(FakeAddress.HttpAddress)); 284new EndpointAddress(FakeAddress.HttpAddress)); 313new EndpointAddress(FakeAddress.HttpAddress));
ServiceModel\ClientBaseTest.cs (11)
20MyClientBase client = new MyClientBase(binding, new EndpointAddress("http://myendpoint")); 35EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 54EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 75EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 82MyClientBase2 client3 = new MyClientBase2(binding, new EndpointAddress("http://myendpoint")); 86MyClientBase2 client4 = new MyClientBase2(binding, new EndpointAddress("http://myotherendpoint")); 104EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 141EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 160EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 181MyClientBase client = new MyClientBase(binding, new EndpointAddress("http://myendpoint")); 200MyClientBase client = new MyClientBase(customBinding, new EndpointAddress("http://myendpoint"));
ServiceModel\DeliveryRequirementsTest.cs (6)
17EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 27EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 37EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 47EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 57EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 66EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress);
ServiceModel\DuplexChannelFactoryTest.cs (5)
145EndpointAddress endpoint = new EndpointAddress("net.tcp://not-an-endpoint"); 157EndpointAddress endpoint = new EndpointAddress(remoteAddress); 191EndpointAddress endpoint = new EndpointAddress("net.tcp://not-an-endpoint"); 202EndpointAddress endpoint = new EndpointAddress(FakeAddress.HttpAddress); 221EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.TcpAddress);
ServiceModel\DuplexClientBaseTest.cs (5)
20EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 34EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 46EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 54EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 71EndpointAddress endpoint = new EndpointAddress(FakeAddress.HttpAddress);
ServiceModel\MessageContractTest.4.4.0.cs (2)
194EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 276EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000");
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\UnixDomainSocketChannelFactory.cs (1)
46address = new EndpointAddress(uriBuilder.Uri, hostIdentity,address.Headers.ToArray());
UnitTests.Common (1)
TestHelpers.cs (1)
91EndpointAddress address = new EndpointAddress(FakeAddress.HttpAddress);
572 references to EndpointAddress
Binding.Tcp.IntegrationTests (1)
OperationContextAsyncFlowTests.cs (1)
113EndpointAddress endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_DuplexCallback_Address);
Binding.WS.FederationHttp.IntegrationTests (6)
WSFederationHttpBindingTests.cs (6)
28EndpointAddress issuerAddress = null; 29EndpointAddress serviceEndpointAddress = null; 89EndpointAddress issuerAddress = null; 90EndpointAddress serviceEndpointAddress = null; 141EndpointAddress issuerAddress = null; 142EndpointAddress serviceEndpointAddress = null;
Client.ChannelLayer.IntegrationTests (3)
DuplexChannelWithSynchronizationContext.cs (3)
35EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 96EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 175EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address));
Client.ClientBase.IntegrationTests (6)
MessageInspectorTestHelpers.cs (2)
22public MI_ClientBase_ClientAuth(string authType, string accessToken, BasicHttpBinding binding, EndpointAddress endPoint) 43public MI_ClientBase(string authType, string accessToken, BasicHttpBinding binding, EndpointAddress endPoint)
MessageInspectorTests.4.4.0.cs (2)
32EndpointAddress endPoint = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 85EndpointAddress endPoint = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
SessionTests.cs (2)
213var helloEndpoint = new EndpointAddress(url); 505var duplexEndpoint = new EndpointAddress(Endpoints.Tcp_Session_Tests_Duplex_Service);
Client.ExpectedExceptions.IntegrationTests (17)
CallbackDebugBehaviorTests.cs (2)
22EndpointAddress endpointAddress; 63var endpointAddress2 = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address);
CallbackErrorHandlerTests.cs (1)
19EndpointAddress endpointAddress;
ExpectedExceptionTests.4.0.0.cs (5)
23EndpointAddress endpointAddress = null; 60EndpointAddress endpointAddress = null; 107EndpointAddress endpointAddress = null; 153EndpointAddress endpointAddress = null; 188EndpointAddress endpointAddress = null;
ExpectedExceptionTests.4.1.0.cs (8)
22EndpointAddress endpointAddress = null; 156EndpointAddress endpointAddress = null; 194EndpointAddress endpointAddress = null; 232EndpointAddress endpointAddress = null; 287EndpointAddress endpointAddress = null; 339EndpointAddress endpointAddress = null; 383EndpointAddress endpointAddress = null; 431EndpointAddress endpointAddress = null;
ExpectedExceptionTests.4.1.1.cs (1)
22EndpointAddress endpointAddress = null;
Client.TypedClient.IntegrationTests (10)
TypedProxyTests.4.0.0.cs (9)
120EndpointAddress endpointAddress = null; 173EndpointAddress endpointAddress = null; 221EndpointAddress endpointAddress = null; 284EndpointAddress endpointAddress = null; 348EndpointAddress endpointAddress = null; 452EndpointAddress endpointAddress = null; 499EndpointAddress endpointAddress = null; 540EndpointAddress endpointAddress = null; 577EndpointAddress endpointAddress = null;
TypedProxyTests.4.1.0.cs (1)
56EndpointAddress endpointAddress = null;
Contract.Data.IntegrationTests (1)
DataContractTests.4.0.0.cs (1)
22EndpointAddress endpointAddress = null;
Contract.Fault.IntegrationTests (2)
FaultExceptionTests.4.0.0.cs (2)
22EndpointAddress endpointAddress = null; 56EndpointAddress endpointAddress = null;
Contract.Service.IntegrationTests (1)
ServiceKnownTypeTests.4.0.0.cs (1)
93var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
Contract.XmlSerializer.IntegrationTests (21)
XmlSerializerFormatSoapTest.cs (1)
83EndpointAddress endpointAddress;
XmlSerializerFormatTest.4.0.0.cs (9)
21EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 34EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 47EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 72EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 85EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 101EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 121EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 159EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 196EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress);
XmlSerializerFormatTest.4.1.0.cs (2)
19var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 46var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
XmlSerializerFormatTest.cs (9)
71EndpointAddress endpointAddress = null; 131EndpointAddress endpointAddress = null; 163EndpointAddress endpointAddress = null; 211EndpointAddress endpointAddress = null; 259EndpointAddress endpointAddress = null; 307EndpointAddress endpointAddress = null; 364EndpointAddress endpointAddress = null; 421EndpointAddress endpointAddress = null; 478EndpointAddress endpointAddress = null;
dotnet-svcutil.xmlserializer.IntegrationTests (21)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
83EndpointAddress endpointAddress;
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (9)
21EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 34EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 47EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 72EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 85EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 101EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 121EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 159EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress); 196EndpointAddress endpointAddress = new EndpointAddress(s_basicEndpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (2)
19var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 46var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (9)
71EndpointAddress endpointAddress = null; 131EndpointAddress endpointAddress = null; 163EndpointAddress endpointAddress = null; 211EndpointAddress endpointAddress = null; 259EndpointAddress endpointAddress = null; 307EndpointAddress endpointAddress = null; 364EndpointAddress endpointAddress = null; 421EndpointAddress endpointAddress = null; 478EndpointAddress endpointAddress = null;
Encoding.Encoders.IntegrationTests (3)
BinaryEncodingTests.4.0.0.cs (2)
24EndpointAddress endpointAddress = null; 61EndpointAddress endpointAddress = null;
TextEncodingTests.4.0.0.cs (1)
21EndpointAddress endpointAddress = null;
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
21EndpointAddress endpointAddress = null; 57EndpointAddress endpointAddress = null;
MessageVersionTests.cs (5)
21EndpointAddress endpointAddress = null; 57EndpointAddress endpointAddress = null; 93EndpointAddress endpointAddress = null; 129EndpointAddress endpointAddress = null; 165EndpointAddress endpointAddress = null;
Extensibility.WebSockets.IntegrationTests (8)
WebSocketTests.4.1.0.cs (8)
122EndpointAddress endpointAddress; 189EndpointAddress endpointAddress; 358EndpointAddress endpointAddress; 427EndpointAddress endpointAddress; 494EndpointAddress endpointAddress; 549EndpointAddress endpointAddress; 606EndpointAddress endpointAddress; 662EndpointAddress endpointAddress;
ScenarioTests.Common.Tests (4)
ScenarioTestTypes.cs (4)
821public MyClientBase(Binding binding, EndpointAddress endpointAddress) 835public MyClientBase(Binding binding, EndpointAddress endpointAddress) 849public MyClientBaseWithChannelBase(Binding binding, EndpointAddress endpointAddress) 913public MyDuplexClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress)
Security.TransportSecurity.IntegrationTests (28)
Https\ClientCredentialTypeTests.4.1.0.cs (3)
35EndpointAddress endpointAddress = null; 106EndpointAddress endpointAddress = null; 172EndpointAddress endpointAddress = null;
Https\HttpsTests.4.1.0.cs (7)
232EndpointAddress endpointAddress = null; 277EndpointAddress endpointAddress = null; 319EndpointAddress endpointAddress = null; 360EndpointAddress endpointAddress = null; 410EndpointAddress endpointAddress = null; 463EndpointAddress endpointAddress; 523EndpointAddress endpointAddress;
Https\HttpsTests.4.1.1.cs (4)
27EndpointAddress endpointAddress = null; 78EndpointAddress endpointAddress = null; 138EndpointAddress endpointAddress = null; 185EndpointAddress endpointAddress = null;
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
35var endpointAddress = new EndpointAddress(localhostEndpointUri); 107var endpointAddress = new EndpointAddress(domainNameEndpointUri); 189var endpointAddress = new EndpointAddress(fqdnEndpointUri);
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
22EndpointAddress endpointAddress = null; 71EndpointAddress endpointAddress = null; 123EndpointAddress endpointAddress = null;
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
29EndpointAddress endpointAddress = null; 78EndpointAddress endpointAddress = null; 137EndpointAddress endpointAddress = null; 183EndpointAddress endpointAddress = null; 232EndpointAddress endpointAddress = null;
Tcp\ClientCredentialTypeTests.OSX.cs (1)
54EndpointAddress endpointAddress = null;
Tcp\IdentityTests.4.1.0.cs (1)
29EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName));
Tcp\IdentityTests.4.1.1.cs (1)
29EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity("wrongone"));
System.ServiceModel (1)
netstandard.cs (1)
150[assembly: TypeForwardedTo(typeof(EndpointAddress))]
System.ServiceModel.Federation (10)
System\ServiceModel\Federation\WSTrustChannel.cs (2)
38EndpointAddress endpointAddress = RequestChannel.GetProperty<EndpointAddress>();
System\ServiceModel\Federation\WSTrustChannelFactory.cs (3)
32public WSTrustChannelFactory(Binding binding, EndpointAddress endpointAddress) 46public override IWSTrustChannelContract CreateChannel(EndpointAddress endpointAddress, Uri via) 63private EndpointAddress EndpointAddress { get; }
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
120EndpointAddress target = SecurityTokenRequirement.GetProperty<EndpointAddress>(TargetAddressProperty);
System\ServiceModel\Federation\WsTrustTokenParameters.cs (2)
181public static WSTrustTokenParameters CreateWSFederationTokenParameters(Binding issuerBinding, EndpointAddress issuerAddress) 196public static WSTrustTokenParameters CreateWS2007FederationTokenParameters(Binding issuerBinding, EndpointAddress issuerAddress)
System\ServiceModel\Security\SecurityUtils.cs (1)
13internal static void ThrowIfNegotiationFault(Message message, EndpointAddress target)
System.ServiceModel.Federation.Tests (2)
WSTrustChannelSecurityTokenProviderTest.cs (2)
28var issuerAddress = new EndpointAddress(new Uri("http://localhost/issuer.svc")); 29var targetAddress = new EndpointAddress(new Uri("http://localhost/target.svc"));
System.ServiceModel.Http.Tests (2)
ServiceModel\HttpIdentityTests.cs (2)
15var endpointAddress = new EndpointAddress(new Uri("https://serverhostname/fakeService.svc"), identity); 27var endpointAddress = new EndpointAddress(new Uri("https://serverhostname/fakeService.svc"), identity);
System.ServiceModel.NetFramingBase (31)
System\ServiceModel\Channels\ConnectionPool.cs (3)
45protected abstract TKey GetPoolKey(EndpointAddress address, Uri via); 201public TItem TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, out TKey key) 662protected override string GetPoolKey(EndpointAddress address, Uri via)
System\ServiceModel\Channels\FramingChannels.cs (6)
19private static EndpointAddress s_anonymousEndpointAddress = new EndpointAddress(EndpointAddress.AnonymousUri, new AddressHeader[0]); 22EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddress, Uri via) 28EndpointAddress remoteAddress, Uri via) 153EndpointAddress remoteAddress, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool)
System\ServiceModel\Channels\ITransportFactorySettings.cs (1)
24string GetConnectionPoolKey(EndpointAddress address, Uri via);
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (3)
220protected override TChannel OnCreateChannel(EndpointAddress address, Uri via) 380protected abstract string GetConnectionPoolKey(EndpointAddress address, Uri via); 390string IConnectionOrientedTransportChannelFactorySettings.GetConnectionPoolKey(EndpointAddress address, Uri via) => GetConnectionPoolKey(address, via);
System\ServiceModel\Channels\OutputChannel.cs (1)
18public abstract EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (4)
140public override StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via) 264EndpointAddress remoteAddress, Uri via) 419private static void EnsureOutgoingIdentity(IdentityVerifier verifier, EndpointAddress serviceReference, Uri via, AuthorizationContext authorizationContext) 446private static Exception CreateIdentityCheckException(EndpointIdentity identity, AuthorizationContext authorizationContext, string errorString, EndpointAddress serviceReference)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
23EndpointAddress remoteAddress, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool)
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorBase.cs (2)
17protected StreamSecurityUpgradeInitiatorBase(string upgradeString, EndpointAddress remoteAddress, Uri via) 24protected EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\StreamUpgradeProvider.cs (1)
47public abstract StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via);
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
26EndpointAddress localAddress, 28EndpointAddress remoteAddress, 40public EndpointAddress LocalAddress { get; }
System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
69internal static SecurityTokenRequirement CreateSspiTokenRequirement(EndpointAddress target, Uri via, string transportScheme) 81SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (4)
55public override StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via) 122WindowsStreamSecurityUpgradeProvider parent, EndpointAddress remoteAddress, Uri via) 208var referenceAddress = RemoteAddress; 221private static void AdjustAddress(ref EndpointAddress reference, Uri via)
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\NamedPipeChannelFactory.cs (1)
35protected override string GetConnectionPoolKey(EndpointAddress address, Uri via)
System.ServiceModel.Primitives (309)
System\ServiceModel\ChannelFactory.cs (12)
115internal EndpointAddress CreateEndpointAddress(ServiceEndpoint endpoint) 218protected void InitializeEndpoint(EndpointAddress address) 235protected void InitializeEndpoint(Binding binding, EndpointAddress address) 375InitializeEndpoint((EndpointAddress)null); 381: this(binding, (EndpointAddress)null) 391public ChannelFactory(Binding binding, EndpointAddress remoteAddress) 451public TChannel CreateChannel(EndpointAddress address) 461public virtual TChannel CreateChannel(EndpointAddress address, Uri via) 490internal UChannel CreateChannel<UChannel>(EndpointAddress address, Uri via) 496internal UChannel CreateChannel<UChannel>(EndpointAddress address) 549public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress) 563public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\Channels\Addressing.cs (23)
172private FromHeader(EndpointAddress from, AddressingVersion version) 178public EndpointAddress From { get; } 190public static FromHeader Create(EndpointAddress from, AddressingVersion addressingVersion) 213EndpointAddress from = ReadHeaderValue(reader, version); 225public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 228return EndpointAddress.ReadFrom(addressingVersion, reader); 237public FullFromHeader(EndpointAddress from, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 266private FaultToHeader(EndpointAddress faultTo, AddressingVersion version) 272public EndpointAddress FaultTo { get; } 289public static FaultToHeader Create(EndpointAddress faultTo, AddressingVersion addressingVersion) 307EndpointAddress faultTo = ReadHeaderValue(reader, version); 319public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 322return EndpointAddress.ReadFrom(version, reader); 331public FullFaultToHeader(EndpointAddress faultTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 581private ReplyToHeader(EndpointAddress replyTo, AddressingVersion version) 587public EndpointAddress ReplyTo { get; } 605s_anonymousReplyToHeader10 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressing10); 613public static ReplyToHeader Create(EndpointAddress replyTo, AddressingVersion addressingVersion) 636EndpointAddress replyTo = ReadHeaderValue(reader, version); 640if ((object)replyTo == (object)EndpointAddress.AnonymousAddress) 660public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 663return EndpointAddress.ReadFrom(version, reader); 672public FullReplyToHeader(EndpointAddress replyTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
System\ServiceModel\Channels\ChannelFactoryBase.cs (4)
108public TChannel CreateChannel(EndpointAddress address) 118public TChannel CreateChannel(EndpointAddress address, Uri via) 133private TChannel InternalCreateChannel(EndpointAddress address, Uri via) 156protected abstract TChannel OnCreateChannel(EndpointAddress address, Uri via);
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (14)
18private EndpointAddress _to; 20protected ClientReliableChannelBinder(EndpointAddress to, Uri via, IChannelFactory<TChannel> factory, 78public static IClientReliableChannelBinder CreateBinder(EndpointAddress to, Uri via, 227public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via, 236public override EndpointAddress LocalAddress 252public override EndpointAddress RemoteAddress 311public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via, 342public DuplexSessionClientReliableChannelBinder(EndpointAddress to, Uri via, 386public RequestClientReliableChannelBinder(EndpointAddress to, Uri via, 425public override EndpointAddress LocalAddress 429return EndpointAddress.AnonymousAddress; 433public override EndpointAddress RemoteAddress 488public RequestClientReliableChannelBinder(EndpointAddress to, Uri via, 519public RequestSessionClientReliableChannelBinder(EndpointAddress to, Uri via,
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (2)
40public override EndpointAddress LocalAddress => Binder.LocalAddress; 48public override EndpointAddress RemoteAddress => Binder.RemoteAddress;
System\ServiceModel\Channels\CreateSequence.cs (4)
52info.AcksTo = EndpointAddress.ReadFrom(messageVersion.Addressing, reader, wsrmFeb2005Dictionary.AcksTo, wsrmNs); 72EndpointAddress endpoint = EndpointAddress.ReadFrom(messageVersion.Addressing, reader, 174EndpointAddress localAddress = _binder.LocalAddress;
System\ServiceModel\Channels\CreateSequenceResponse.cs (2)
28public EndpointAddress AcceptAcksTo { get; set; } 80createSequenceResponse.AcceptAcksTo = EndpointAddress.ReadFrom(addressingVersion, reader,
System\ServiceModel\Channels\DuplexChannel.cs (3)
12protected DuplexChannel(ChannelManagerBase channelManager, EndpointAddress localAddress) : base(channelManager) 17public virtual EndpointAddress LocalAddress { get; } 18public abstract EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\IChannelFactory.cs (2)
16TChannel CreateChannel(EndpointAddress to); 17TChannel CreateChannel(EndpointAddress to, Uri via);
System\ServiceModel\Channels\IInputChannel.cs (1)
12EndpointAddress LocalAddress { get; }
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (2)
17public LocalAddressProvider(EndpointAddress localAddress, MessageFilter filter) 33public EndpointAddress LocalAddress { get; }
System\ServiceModel\Channels\IOutputChannel.cs (1)
12EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\IReliableChannelBinder.cs (2)
17EndpointAddress LocalAddress { get; } 18EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\IReplyChannel.cs (1)
10EndpointAddress LocalAddress { get; }
System\ServiceModel\Channels\IRequestChannel.cs (1)
12EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\LayeredChannelFactory.cs (5)
95public virtual EndpointAddress LocalAddress 239private EndpointAddress _localAddress; 242public LayeredDuplexChannel(ChannelManagerBase channelManager, IInputChannel innerInputChannel, EndpointAddress localAddress, IOutputChannel innerOutputChannel) 251public override EndpointAddress LocalAddress 256public EndpointAddress RemoteAddress
System\ServiceModel\Channels\MessageHeaders.cs (3)
180public EndpointAddress FaultTo 214public EndpointAddress From 311public EndpointAddress ReplyTo
System\ServiceModel\Channels\OutputChannel.cs (1)
18public abstract EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\ReliableChannelBinder.cs (2)
91public abstract EndpointAddress LocalAddress 106public abstract EndpointAddress RemoteAddress
System\ServiceModel\Channels\ReliableChannelFactory.cs (1)
111protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
824EndpointAddress address = binder.LocalAddress; 1746bool ordered, UniqueId inputId, EndpointAddress acceptAcksTo)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (1)
66public override EndpointAddress RemoteAddress
System\ServiceModel\Channels\RequestChannel.cs (2)
21protected RequestChannel(ChannelManagerBase channelFactory, EndpointAddress to, Uri via, bool manualAddressing) 39public EndpointAddress RemoteAddress { get; }
System\ServiceModel\Channels\RequestReplyCorrelator.cs (8)
95EndpointAddress destination = null; 113destination = EndpointAddress.AnonymousAddress; 191private readonly EndpointAddress _replyTo; 207internal EndpointAddress FaultTo { get; } 209internal EndpointAddress From { get; } 226internal EndpointAddress ReplyTo 231private bool IsTrivial(EndpointAddress address) 234return (address == null) || (address == EndpointAddress.AnonymousAddress);
System\ServiceModel\Channels\SecurityChannelFactory.cs (10)
140protected override TChannel OnCreateChannel(EndpointAddress address, Uri via) 252UChannel innerChannel, EndpointAddress to, Uri via) 263public EndpointAddress RemoteAddress { get; } 337public SecurityOutputChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputChannel innerChannel, EndpointAddress to, Uri via) 391public SecurityOutputSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputSessionChannel innerChannel, EndpointAddress to, Uri via) 407public SecurityRequestChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestChannel innerChannel, EndpointAddress to, Uri via) 490public SecurityRequestSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestSessionChannel innerChannel, EndpointAddress to, Uri via) 506public SecurityDuplexChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexChannel innerChannel, EndpointAddress to, Uri via) 516public EndpointAddress LocalAddress 671public SecurityDuplexSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexSessionChannel innerChannel, EndpointAddress to, Uri via)
System\ServiceModel\Channels\ServiceChannel.cs (9)
39private EndpointAddress _localAddress; 247public EndpointAddress LocalAddress 324public EndpointAddress RemoteAddress 565EndpointAddress localAddress = LocalAddress; 566EndpointAddress replyTo = headers.ReplyTo; 570headers.ReplyTo = localAddress ?? EndpointAddress.AnonymousAddress; 584EndpointAddress faultTo = headers.FaultTo; 594EndpointAddress from = headers.From; 882EndpointAddress address = RemoteAddress ?? LocalAddress;
System\ServiceModel\Channels\ServiceChannelFactory.cs (10)
309public virtual ServiceChannel CreateServiceChannel(EndpointAddress address, Uri via) 326public TChannel CreateChannel<TChannel>(EndpointAddress address) 331public TChannel CreateChannel<TChannel>(EndpointAddress address, Uri via) 417protected abstract IChannelBinder CreateInnerChannelBinder(EndpointAddress address, Uri via); 518protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 537protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 557protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 578protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 607protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 633protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
System\ServiceModel\Channels\ServiceChannelProxy.cs (4)
698EndpointAddress IContextChannel.LocalAddress 720EndpointAddress IOutputChannel.RemoteAddress 730EndpointAddress IContextChannel.RemoteAddress 810EndpointAddress IRequestChannel.RemoteAddress
System\ServiceModel\Channels\TransportOutputChannel.cs (3)
14private EndpointAddress _to; 18protected TransportOutputChannel(ChannelManagerBase channelManager, EndpointAddress to, Uri via, bool manualAddressing, MessageVersion messageVersion) 61public override EndpointAddress RemoteAddress
System\ServiceModel\Channels\TransportSecurityHelpers.cs (6)
65internal static SecurityTokenRequirement CreateSspiTokenRequirement(EndpointAddress target, Uri via, string transportScheme) 77SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters) 94SecurityTokenManager tokenManager, EndpointAddress target, Uri via, 117SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, ChannelParameterCollection channelParameters) 171SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, 189EndpointAddress target, Uri via, string transportScheme)
System\ServiceModel\Channels\WsrmMessageInfo.cs (5)
679public EndpointAddress AcksTo { get; set; } = EndpointAddress.AnonymousAddress; 762public EndpointAddress AcceptAcksTo { get; set; } 923public EndpointAddress ReplyTo { get; private set; } 947ReplyTo = EndpointAddress.AnonymousAddress;
System\ServiceModel\ClientBase.cs (6)
58protected ClientBase(Binding binding, EndpointAddress remoteAddress) 127protected ClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress) 1027EndpointAddress IContextChannel.LocalAddress 1043EndpointAddress IContextChannel.RemoteAddress 1163EndpointAddress IOutputChannel.RemoteAddress 1198EndpointAddress IRequestChannel.RemoteAddress
System\ServiceModel\Description\DispatcherBuilder.cs (2)
86&& EndpointAddress.UriEquals(ListenUri, other.ListenUri, true /* ignoreCase */, true /* includeHost */); 91return EndpointAddress.UriGetHashCode(ListenUri, true /* includeHost */);
System\ServiceModel\Description\ServiceEndpoint.cs (2)
31public ServiceEndpoint(ContractDescription contract, Binding binding, EndpointAddress address) 38public EndpointAddress Address { get; set; }
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
45internal static void TraceIdentityDeterminationSuccess(EndpointAddress epr, EndpointIdentity identity, Type identityVerifier) 49internal static void TraceIdentityDeterminationFailure(EndpointAddress epr, Type identityVerifier)
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (2)
42public EndpointAddress LocalAddress 47public EndpointAddress RemoteAddress
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (5)
110public EndpointAddress LocalAddress 133public EndpointAddress RemoteAddress 237EndpointAddress address = _channel.RemoteAddress ?? _channel.LocalAddress; 1077public EndpointAddress LocalAddress 1082public EndpointAddress RemoteAddress
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (2)
13private EndpointAddress _originalAddress = null; 34public EndpointAddress EndpointAddress
System\ServiceModel\Dispatcher\IChannelBinder.cs (2)
15EndpointAddress LocalAddress { get; } 16EndpointAddress RemoteAddress { get; }
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
502EndpointAddress replyTo = rpc.ReplyToInfo.ReplyTo;
System\ServiceModel\Dispatcher\InputChannelBinder.cs (2)
39public EndpointAddress LocalAddress 44public EndpointAddress RemoteAddress
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (2)
41public EndpointAddress LocalAddress 49public EndpointAddress RemoteAddress
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (2)
39public EndpointAddress LocalAddress 44public EndpointAddress RemoteAddress
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (3)
40public EndpointAddress LocalAddress 42get { return EndpointAddress.AnonymousAddress; } 45public EndpointAddress RemoteAddress
System\ServiceModel\DuplexChannelFactory.cs (12)
21public DuplexChannelFactory(Type callbackInstanceType, Binding binding, EndpointAddress remoteAddress) 38public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress) 64InitializeEndpoint((EndpointAddress)null); 70: this(callbackObject, binding, (EndpointAddress)null) 80public DuplexChannelFactory(object callbackObject, Binding binding, EndpointAddress remoteAddress) 150public TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address) 160public override TChannel CreateChannel(EndpointAddress address, Uri via) 165public virtual TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address, Uri via) 222public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress) 227public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress, Uri via) 232public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress) 240public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\DuplexClientBase.cs (1)
15protected DuplexClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress)
System\ServiceModel\EndpointAddress.cs (27)
18private static EndpointAddress s_anonymousAddress; 114internal EndpointAddress(Uri newUri, EndpointAddress oldEndpointAddress) 200internal static EndpointAddress AnonymousAddress 389internal bool EndpointEquals(EndpointAddress endpointAddress) 441EndpointAddress address = obj as EndpointAddress; 507public static EndpointAddress ReadFrom(XmlDictionaryReader reader) 513internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version) 542EndpointAddress ea = ReadFromDriver(version, reader); 547public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader) 560EndpointAddress ea = ReadFromDriver(addressingVersion, reader); 565public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 573EndpointAddress ea = ReadFromDriver(addressingVersion, reader); 578private static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader) 1186public static bool operator ==(EndpointAddress address1, EndpointAddress address2) 1196public static bool operator !=(EndpointAddress address1, EndpointAddress address2) 1213private EndpointAddress _epr; 1220public EndpointAddressBuilder(EndpointAddress address) 1252Fx.Assert(reader.Name == EndpointAddress.DummyName, "EndpointAddressBuilder: Expected dummy element not found"); 1265writer.WriteStartElement(EndpointAddress.DummyName, EndpointAddress.DummyNamespace); 1266EndpointAddress.Copy(writer, reader); 1286Fx.Assert(reader.Name == EndpointAddress.DummyName, "EndpointAddressBuilder: Expected dummy element not found"); 1296_extensionBuffer = EndpointAddress.ReadExtensions(reader, null, null, out identity, out tmp); 1307public EndpointAddress ToEndpointAddress()
System\ServiceModel\IContextChannel.cs (2)
14EndpointAddress LocalAddress { get; } 17EndpointAddress RemoteAddress { get; }
System\ServiceModel\ProgrammaticEndpointTrait.cs (2)
13private EndpointAddress _remoteAddress; 18EndpointAddress remoteAddress,
System\ServiceModel\Security\AcceleratedTokenProvider.cs (2)
144protected override IAsyncRequestChannel CreateClientChannel(EndpointAddress target, Uri via) 155protected override Task<AcceleratedTokenProviderState> CreateNegotiationStateAsync(EndpointAddress target, Uri via, TimeSpan timeout)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (3)
29EndpointAddress targetAddress = initiatorRequirement.TargetAddress; 190EndpointAddress targetAddress = initiatorRequirement.TargetAddress; 227EndpointAddress localAddress;
System\ServiceModel\Security\IdentityVerifier.cs (9)
31public abstract bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity); 33private static void AdjustAddress(ref EndpointAddress reference, Uri via) 42internal bool TryGetIdentity(EndpointAddress reference, Uri via, out EndpointIdentity identity) 48internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, Uri via, AuthorizationContext authorizationContext) 54internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 64private void EnsureIdentity(EndpointAddress serviceReference, AuthorizationContext authorizationContext, String errorString) 87private Exception CreateIdentityCheckException(EndpointIdentity identity, AuthorizationContext authorizationContext, string errorString, EndpointAddress serviceReference) 153public override bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity) 179private EndpointIdentity TryCreateDnsIdentity(EndpointAddress reference)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (1)
21public InitiatorSessionSymmetricTransportSecurityProtocol(SessionSymmetricTransportSecurityProtocolFactory factory, EndpointAddress target, Uri via) : base(factory, target, via)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (13)
27private EndpointAddress _issuerAddress; 29private EndpointAddress _targetAddress; 55public EndpointAddress IssuerAddress 68public EndpointAddress TargetAddress 279protected void EnsureEndpointAddressDoesNotRequireEncryption(EndpointAddress target) 343static protected void ThrowIfFault(Message message, EndpointAddress target) 399protected abstract Task<T> CreateNegotiationStateAsync(EndpointAddress target, Uri via, TimeSpan timeout); 404protected abstract Task InitializeChannelFactoriesAsync(EndpointAddress target, TimeSpan timeout); 405protected abstract IAsyncRequestChannel CreateClientChannel(EndpointAddress target, Uri via); 423nextMessage.Headers.ReplyTo = EndpointAddress.AnonymousAddress; 519EndpointAddress temp = (negotiationState == null) ? null : negotiationState.RemoteAddress; 639private static Exception WrapExceptionIfRequired(Exception e, EndpointAddress targetAddress, EndpointAddress issuerAddress)
System\ServiceModel\Security\IssuanceTokenProviderState.cs (2)
26public EndpointAddress TargetAddress { get; set; } 28public EndpointAddress RemoteAddress { get; set; }
System\ServiceModel\Security\NegotiationTokenProvider.cs (2)
151protected override Task InitializeChannelFactoriesAsync(EndpointAddress target, TimeSpan timeout) 156protected override IAsyncRequestChannel CreateClientChannel(EndpointAddress target, Uri via)
System\ServiceModel\Security\SecurityProtocol.cs (4)
34protected SecurityProtocol(SecurityProtocolFactory factory, EndpointAddress target, Uri via) 46public EndpointAddress Target { get; } 492internal async Task<IList<SupportingTokenSpecification>> TryGetSupportingTokensAsync(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout) 587internal static async Task<SecurityToken> GetTokenAsync(SecurityTokenProvider provider, EndpointAddress target, TimeSpan timeout)
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
421public SecurityProtocol CreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, bool isReturnLegSecurityRequired, TimeSpan timeout) 456protected abstract SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (9)
260internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via) 310protected ClientSecuritySessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 327public EndpointAddress RemoteAddress { get; } 333protected EndpointAddress InternalLocalAddress 602closeMessage.Headers.ReplyTo = EndpointAddress.AnonymousAddress; 1398protected ClientSecuritySimplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 1430public SecurityRequestSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 1536public ClientSecurityDuplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 1543public EndpointAddress LocalAddress
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (17)
34private EndpointAddress _targetAddress; 40private EndpointAddress _localAddress; 79public EndpointAddress TargetAddress 89public EndpointAddress LocalAddress 417private IAsyncRequestChannel CreateChannel(SecuritySessionOperation operation, EndpointAddress target, Uri via) 447private Message CreateRequest(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, out object requestState) 479private void OnOperationSuccess(SecuritySessionOperation operation, EndpointAddress target, SecurityToken issuedToken, SecurityToken currentToken) 483private void OnOperationFailure(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, Exception e, IChannel channel) 491private async Task<SecurityToken> DoOperationAsync(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout) 560private RequestSecurityToken CreateRst(EndpointAddress target, out object requestState) 590message.Headers.ReplyTo = EndpointAddress.AnonymousAddress; 595protected virtual Message CreateIssueRequest(EndpointAddress target, out object requestState) 669protected virtual Message CreateRenewRequest(EndpointAddress target, SecurityToken currentSessionToken, out object requestState) 695protected static void ThrowIfFault(Message message, EndpointAddress target) 734protected override IAsyncRequestChannel OnCreateChannel(EndpointAddress address, Uri via) 792IRequestChannel IChannelFactory<IRequestChannel>.CreateChannel(EndpointAddress to) 797IRequestChannel IChannelFactory<IRequestChannel>.CreateChannel(EndpointAddress to, Uri via)
System\ServiceModel\Security\SecurityUtils.cs (7)
207internal static string GetSpnFromIdentity(EndpointIdentity identity, EndpointAddress target) 238internal static string GetSpnFromTarget(EndpointAddress target) 846X509FindType findType, object findValue, EndpointAddress target) 858X509FindType findType, object findValue, EndpointAddress target, out X509Certificate2 certificate) 865X509FindType findType, object findValue, EndpointAddress target, bool throwIfMultipleOrNoMatch) 901X509FindType findType, object findValue, EndpointAddress target, int certCount) 972internal static void ThrowIfNegotiationFault(Message message, EndpointAddress target)
System\ServiceModel\Security\SessionSymmetricTransportSecurityProtocolFactory.cs (1)
39protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\Tokens\InitiatorServiceModelSecurityTokenRequirement.cs (2)
18public EndpointAddress TargetAddress 22return GetPropertyOrDefault<EndpointAddress>(TargetAddressProperty, null);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (6)
22public EndpointAddress IssuerAddress; 23public EndpointAddress IssuerMetadataAddress; 67public IssuedSecurityTokenParameters(string tokenType, EndpointAddress issuerAddress) 73public IssuedSecurityTokenParameters(string tokenType, EndpointAddress issuerAddress, Binding issuerBinding) 89public EndpointAddress IssuerAddress { get; set; } 91public EndpointAddress IssuerMetadataAddress { get; set; }
System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (4)
119public EndpointAddress IssuerAddress 123return GetPropertyOrDefault<EndpointAddress>(IssuerAddressProperty, null); 204internal EndpointAddress DuplexClientLocalAddress 208return GetPropertyOrDefault<EndpointAddress>(duplexClientLocalAddressProperty, null);
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
18public TransportSecurityProtocol(TransportSecurityProtocolFactory factory, EndpointAddress target, Uri via)
System\ServiceModel\Security\TransportSecurityProtocolFactory.cs (1)
33protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System.ServiceModel.Primitives.Tests (61)
Channels\BehaviorExtensionTest.cs (2)
28EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 61EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000");
Channels\CustomChannelTest.cs (17)
41mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 56EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 131mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 147EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 223mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 240EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 274mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 291EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 333mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 348EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 407EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 445EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 485EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 536EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 587EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 639EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 692EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000");
Description\ContractDescriptionTest.cs (1)
176EndpointAddress address = new EndpointAddress(FakeAddress.HttpAddress);
Description\OperationContractAttributeTest.cs (1)
52var helloEndpoint = new EndpointAddress(url);
ServiceModel\ChannelFactoryTest.cs (3)
31EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 88EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 143EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress);
ServiceModel\ClientBaseTest.cs (9)
35EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 54EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 75EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 104EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 141EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 160EndpointAddress endpointAddress = new EndpointAddress("http://myendpoint"); 211public MyClientBase(Binding binding, EndpointAddress endpointAddress) 232public MyClientBase2(Binding binding, EndpointAddress endpointAddress) 245public MyClientBase3(Binding binding, EndpointAddress endpointAddress)
ServiceModel\DeliveryRequirementsTest.cs (6)
17EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 27EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 37EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 47EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 57EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress); 66EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.HttpAddress);
ServiceModel\DuplexChannelFactoryTest.cs (7)
23EndpointAddress remoteAddress = null; 131DuplexChannelFactory<IWcfDuplexService> factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, (EndpointAddress)null); 145EndpointAddress endpoint = new EndpointAddress("net.tcp://not-an-endpoint"); 157EndpointAddress endpoint = new EndpointAddress(remoteAddress); 191EndpointAddress endpoint = new EndpointAddress("net.tcp://not-an-endpoint"); 202EndpointAddress endpoint = new EndpointAddress(FakeAddress.HttpAddress); 221EndpointAddress endpointAddress = new EndpointAddress(FakeAddress.TcpAddress);
ServiceModel\DuplexClientBaseTest.cs (6)
20EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 23Assert.Equal<EndpointAddress>(endpoint, duplexClientBase.Endpoint.Address); 34EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 46EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 54EndpointAddress endpoint = new EndpointAddress(FakeAddress.TcpAddress); 71EndpointAddress endpoint = new EndpointAddress(FakeAddress.HttpAddress);
ServiceModel\MessageContractTest.4.4.0.cs (4)
154mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 194EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000"); 254mockChannelFactory.OnCreateChannelOverride = (EndpointAddress endpoint, Uri via) => 276EndpointAddress address = new EndpointAddress("myprotocol://localhost:5000");
ServiceModel\ThrowingOnCloseBindingElement.cs (5)
125protected override TChannel OnCreateChannel(EndpointAddress to, Uri via) 192public EndpointAddress RemoteAddress => InnerChannel.RemoteAddress; 209public EndpointAddress RemoteAddress => InnerChannel.RemoteAddress; 252public EndpointAddress LocalAddress => InnerChannel.LocalAddress; 273public EndpointAddress RemoteAddress => InnerChannel.RemoteAddress;
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\UnixDomainSocketChannelFactory.cs (2)
34protected override string GetConnectionPoolKey(EndpointAddress address, Uri via) 39protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Channels\UnixPosixIdentitySecurityUpgradeProvider.cs (1)
24public override StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via)
UnitTests.Common (13)
MockChannelBase.cs (5)
11private readonly EndpointAddress _address; 15public MockChannelBase(ChannelManagerBase manager, MessageEncoderFactory encoderFactory, EndpointAddress address) 49public Func<EndpointAddress> GetEndpointPropertyOverride { get; set; } 72public EndpointAddress RemoteAddress 77public EndpointAddress DefaultGetEndpointProperty()
MockChannelFactory.cs (3)
46public Func<EndpointAddress, Uri, IChannel> OnCreateChannelOverride { get; set; } 71protected override TChannel OnCreateChannel(EndpointAddress address, Uri via) 76public IChannel DefaultOnCreateChannel(EndpointAddress address, Uri via)
MockRequestChannel.cs (1)
22public MockRequestChannel(ChannelManagerBase manager, MessageEncoderFactory encoderFactory, EndpointAddress address, Uri via)
TestHelpers.cs (4)
50public MyClientBase(Binding binding, EndpointAddress endpointAddress) 59public MyClientBase(Binding binding, EndpointAddress endpointAddress) 68public MyDuplexClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress) 91EndpointAddress address = new EndpointAddress(FakeAddress.HttpAddress);