375 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)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttp + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)));
NetHttpsBindingTests.4.1.0.cs (3)
31factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding))); 68factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary)); 97factory = 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)
37factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 75factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetHttp + endpointSuffix)); 111factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 195factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 277factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 366factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix));
NetTcpBindingTests.cs (3)
32factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetTcp + endpointSuffix)); 69factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetTcp + endpointSuffix)); 107factory = new DuplexChannelFactory<IWcfReliableDuplexService>(instanceContext, customBinding, new EndpointAddress(Endpoints.ReliableDuplexSession_NetTcp + endpointSuffix));
WSHttpBindingTests.cs (6)
37factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 75factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_WSHttp + endpointSuffix)); 111factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 195factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 277factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 366factory = 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)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 66factory = 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)
37issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + endpointSuffix)); 39serviceEndpointAddress = new EndpointAddress(new Uri(tokenTargetAddress)); 97issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + "wsHttp/wstrustFeb2005")); 99serviceEndpointAddress = new EndpointAddress(new Uri(tokenTargetAddress)); 148issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + "wsHttp/wstrust13")); 150serviceEndpointAddress = 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)
34EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 94EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 172EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 235factory = 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)
39channel = 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)); 68new 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)); 77duplexService = 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)
36endpointAddress = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address); 62var 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); 203endpointAddress = new EndpointAddress(protocolExceptionUri); 245endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address); 295endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address); 346endpointAddress = new EndpointAddress(Endpoints.Tcp_ExpiredServerCertResource_Address); 388endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_RevokedServerCertResource_Address), new DnsEndpointIdentity(Endpoints.Tcp_RevokedServerCertResource_HostName)); 435endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_InvalidEkuServerCertResource_Address), new DnsEndpointIdentity(Endpoints.Tcp_InvalidEkuServerCertResource_HostName)); 509factory = 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)
33factory = new DuplexChannelFactory<IWcfDuplexService_DataContract>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_DataContractDuplexCallback_Address)); 71factory = 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)
39channelFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderBuffered_Address)); 83factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderStreamed_Address));
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
48factory = new ChannelFactory<IWcfChannelExtensibilityContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_ChannelExtensibility));
Extensibility.WebSockets.IntegrationTests (12)
WebSocketTests.4.1.0.cs (12)
141endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 209endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 376endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 440endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyStreamed_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 505endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 559endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 615endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 671endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 720factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpDuplexWebSocket_Address)); 760factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpWebSocketTransport_Address)); 803factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpWebSocketTransport_Address)); 843channelFactory = 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)); 481endpointAddress = new EndpointAddress(uriBuilder.Uri); 540endpointAddress = new EndpointAddress(uriBuilder.Uri);
Https\HttpsTests.4.1.1.cs (4)
38endpointAddress = new EndpointAddress( 89endpointAddress = new EndpointAddress(new Uri( 147endpointAddress = new EndpointAddress( 193endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_SecModeTrans_ClientCredTypeNone_ServerCertValModeChainTrust_Address));
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
80new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 133new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 185new EndpointAddress(new Uri(Endpoints.Https_WindowsAuth_Address), new SpnEndpointIdentity(spn))); 234new EndpointAddress( 278new EndpointAddress( 330new EndpointAddress( 380new EndpointAddress(
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 116new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 162new EndpointAddress( 203new EndpointAddress( 254new EndpointAddress( 301new EndpointAddress(
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
33var endpointAddress = new EndpointAddress(localhostEndpointUri); 104var endpointAddress = new EndpointAddress(domainNameEndpointUri); 186var 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)
39endpointAddress = new EndpointAddress( 89endpointAddress = new EndpointAddress(new Uri( 146endpointAddress = new EndpointAddress(new Uri( 192endpointAddress = new EndpointAddress(new Uri( 240endpointAddress = 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)
40factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 81factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 122factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 164factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 216factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 274factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 316factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 358factory = 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.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);
309 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)
27EndpointAddress issuerAddress = null; 28EndpointAddress serviceEndpointAddress = null; 87EndpointAddress issuerAddress = null; 88EndpointAddress serviceEndpointAddress = null; 138EndpointAddress issuerAddress = null; 139EndpointAddress serviceEndpointAddress = null;
Client.ChannelLayer.IntegrationTests (3)
DuplexChannelWithSynchronizationContext.cs (3)
34EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 94EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 172EndpointAddress 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)
21EndpointAddress endpointAddress; 62var 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; 193EndpointAddress endpointAddress = null; 231EndpointAddress endpointAddress = null; 286EndpointAddress endpointAddress = null; 337EndpointAddress endpointAddress = null; 380EndpointAddress endpointAddress = null; 427EndpointAddress 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.MessageInterceptor.IntegrationTests (5)
InterceptingChannelFactory.cs (3)
83protected override TChannel OnCreateChannel(EndpointAddress to, Uri via) 124public EndpointAddress RemoteAddress 239public EndpointAddress RemoteAddress
InterceptingDuplexChannel.cs (2)
21public EndpointAddress LocalAddress 272public EndpointAddress RemoteAddress
Extensibility.WebSockets.IntegrationTests (8)
WebSocketTests.4.1.0.cs (8)
121EndpointAddress endpointAddress; 188EndpointAddress endpointAddress; 355EndpointAddress endpointAddress; 423EndpointAddress endpointAddress; 489EndpointAddress endpointAddress; 543EndpointAddress endpointAddress; 599EndpointAddress endpointAddress; 654EndpointAddress 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; 462EndpointAddress endpointAddress; 521EndpointAddress endpointAddress;
Https\HttpsTests.4.1.1.cs (4)
27EndpointAddress endpointAddress = null; 78EndpointAddress endpointAddress = null; 137EndpointAddress endpointAddress = null; 183EndpointAddress endpointAddress = null;
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
33var endpointAddress = new EndpointAddress(localhostEndpointUri); 104var endpointAddress = new EndpointAddress(domainNameEndpointUri); 186var 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)
28EndpointAddress endpointAddress = null; 77EndpointAddress endpointAddress = null; 135EndpointAddress endpointAddress = null; 181EndpointAddress endpointAddress = null; 229EndpointAddress 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 (41)
netstandard.cs (41)
441protected void InitializeEndpoint(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address) { } 457public ChannelFactory(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { } 461public TChannel CreateChannel(System.ServiceModel.EndpointAddress address) { return default; } 462public virtual TChannel CreateChannel(System.ServiceModel.EndpointAddress address, System.Uri via) { return default; } 475protected ClientBase(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { } 510System.ServiceModel.EndpointAddress System.ServiceModel.Channels.IOutputChannel.RemoteAddress { get { return default; } } 512System.ServiceModel.EndpointAddress System.ServiceModel.Channels.IRequestChannel.RemoteAddress { get { return default; } } 520System.ServiceModel.EndpointAddress System.ServiceModel.IContextChannel.LocalAddress { get { return default; } } 523System.ServiceModel.EndpointAddress System.ServiceModel.IContextChannel.RemoteAddress { get { return default; } } 639public static bool operator ==(System.ServiceModel.EndpointAddress address1, System.ServiceModel.EndpointAddress address2) { return default; } 640public static bool operator !=(System.ServiceModel.EndpointAddress address1, System.ServiceModel.EndpointAddress address2) { return default; } 641public static System.ServiceModel.EndpointAddress ReadFrom(System.ServiceModel.Channels.AddressingVersion addressingVersion, System.Xml.XmlDictionaryReader reader) { return default; } 648public EndpointAddressBuilder(System.ServiceModel.EndpointAddress address) { } 652public System.ServiceModel.EndpointAddress ToEndpointAddress() { return default; } 819System.ServiceModel.EndpointAddress LocalAddress { get; } 822System.ServiceModel.EndpointAddress RemoteAddress { get; } 1160public DuplexChannelFactory(Type callbackInstanceType, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(default(System.Type)) { } 1164public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(default(System.Type)) { } 1166public override TChannel CreateChannel(System.ServiceModel.EndpointAddress address, System.Uri via) { return default(TChannel); } 1168public TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.EndpointAddress address) { return default(TChannel); } 1169public virtual TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.EndpointAddress address, System.Uri via) { return default(TChannel); } 1174protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { } 1344public TChannel CreateChannel(System.ServiceModel.EndpointAddress address) { return default; } 1345public TChannel CreateChannel(System.ServiceModel.EndpointAddress address, System.Uri via) { return default; } 1349protected abstract TChannel OnCreateChannel(System.ServiceModel.EndpointAddress address, System.Uri via); 1449TChannel CreateChannel(System.ServiceModel.EndpointAddress to); 1450TChannel CreateChannel(System.ServiceModel.EndpointAddress to, System.Uri via); 1473System.ServiceModel.EndpointAddress LocalAddress { get; } 1498System.ServiceModel.EndpointAddress RemoteAddress { get; } 1514System.ServiceModel.EndpointAddress RemoteAddress { get; } 1682public System.ServiceModel.EndpointAddress FaultTo { get { return default; } set { } } 1683public System.ServiceModel.EndpointAddress From { get { return default; } set { } } 1689public System.ServiceModel.EndpointAddress ReplyTo { get { return default; } set { } } 2107public ServiceEndpoint(System.ServiceModel.Description.ContractDescription contract, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address) { } 2108public System.ServiceModel.EndpointAddress Address { get { return default; } set { } } 2355public abstract bool TryGetIdentity(System.ServiceModel.EndpointAddress reference, out System.ServiceModel.EndpointIdentity identity); 2465public EndpointAddress TargetAddress { get { return default; } set { } } 2476public EndpointAddress IssuerAddress { get { return default; } set { } } 2503public System.ServiceModel.EndpointAddress IssuerAddress { get { return default; } set { } }
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);