318 references to EndpointAddress
Binding.Custom.IntegrationTests (2)
CustomBindingTests.4.0.0.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
CustomBindingTests.4.1.0.cs (1)
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 (2)
UDSBindingTests.cs (2)
45new System.ServiceModel.EndpointAddress(uriBuilder.ToString())); 195new System.ServiceModel.EndpointAddress(uriBuilder.ToString()));
Client.ChannelLayer.IntegrationTests (10)
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 (1)
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 (29)
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 (1)
25new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
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 (18)
CallbackDebugBehaviorTests.cs (2)
36endpointAddress = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address); 62var endpointAddress2 = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_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 (10)
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); 509factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Client.TypedClient.IntegrationTests (11)
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 (8)
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);
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 (22)
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 (5)
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));
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (2)
80new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 133new EndpointAddress(Endpoints.Https_WindowsAuth_Address));
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (2)
72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 116new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address));
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.Http.Tests (1)
ServiceModel\BasicHttpsBindingTest.cs (1)
72var factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(FakeAddress.HttpsAddress));
System.ServiceModel.Primitives (4)
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.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");
UnitTests.Common (1)
TestHelpers.cs (1)
91EndpointAddress address = new EndpointAddress(FakeAddress.HttpAddress);