296 references to ChannelFactory
Binding.Custom.IntegrationTests (3)
Binding.Http.IntegrationTests (14)
BasicHttpBindingTests.4.0.0.cs (8)
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));
386factory = new ChannelFactory<MtomBindingTestHelper.IMtomStreamingService>(
Binding.ReliableSession.IntegrationTests (14)
Binding.Tcp.IntegrationTests (9)
Binding.UDS.IntegrationTests (5)
Binding.WS.FederationHttp.IntegrationTests (3)
Client.ChannelLayer.IntegrationTests (1)
Client.ClientBase.IntegrationTests (3)
Client.ExpectedExceptions.IntegrationTests (17)
ExpectedExceptionTests.4.1.0.cs (10)
34factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
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));
166factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
204factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
347factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
389factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
436factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
509factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Client.TypedClient.IntegrationTests (8)
Contract.Data.IntegrationTests (2)
Contract.Fault.IntegrationTests (7)
Contract.Message.IntegrationTests (5)
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));
Contract.XmlSerializer.IntegrationTests (24)
XmlSerializerFormatTest.cs (12)
78factory = new ChannelFactory<IXmlSFAttribute>(binding, endpointAddress);
138factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress);
170factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress);
218factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress);
266factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress);
316factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress);
318factory2 = new ChannelFactory<IHelloWorldRpcEnc>(binding, endpointAddress);
373factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress);
375factory2 = new ChannelFactory<IHelloWorldRpcLit>(binding, endpointAddress);
430factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress);
432factory2 = new ChannelFactory<IHelloWorldDocLit>(binding, endpointAddress);
488factory1 = new ChannelFactory<IEchoRpcEncWithHeadersService>(binding, endpointAddress);
dotnet-svcutil.xmlserializer.IntegrationTests (24)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (12)
78factory = new ChannelFactory<IXmlSFAttribute>(binding, endpointAddress);
138factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress);
170factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress);
218factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress);
266factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress);
316factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress);
318factory2 = new ChannelFactory<IHelloWorldRpcEnc>(binding, endpointAddress);
373factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress);
375factory2 = new ChannelFactory<IHelloWorldRpcLit>(binding, endpointAddress);
430factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress);
432factory2 = new ChannelFactory<IHelloWorldDocLit>(binding, endpointAddress);
488factory1 = new ChannelFactory<IEchoRpcEncWithHeadersService>(binding, endpointAddress);
Encoding.Encoders.IntegrationTests (5)
Encoding.MessageVersion.IntegrationTests (7)
Extensibility.MessageEncoder.IntegrationTests (2)
Extensibility.MessageInterceptor.IntegrationTests (1)
Extensibility.WebSockets.IntegrationTests (6)
ScenarioTests.Common.Tests (2)
Security.TransportSecurity.IntegrationTests (55)
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));
245factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
292factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
333factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
374factory = new ChannelFactory<IWcfService>(basicHttpsBinding, endpointAddress);
423factory = new ChannelFactory<IWcfService>(basicHttpsBinding, endpointAddress);
484factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
543factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
System.ServiceModel.Federation (2)
System.ServiceModel.Http.Tests (3)
System.ServiceModel.Primitives (5)
System.ServiceModel.Primitives.Tests (39)
Channels\CustomChannelTest.cs (12)
57var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
148var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
241var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
292var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
349var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
408var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
446var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
486var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
537var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
588var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
640var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
693var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
UnitTests.Common (1)