News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
<client>
<endpoint address="net.tcp://server/ContosoService"
binding="netTcpBinding"
contract="Contoso.IContosoService"
name="netTcp"/>
<endpoint address="net.pipe://localhost/ContosoService"
binding="netNamedPipeBinding"
contract="Contoso.IContosoService"
name="netPipe" />
</client>

You need to create a channel factory that can send messages to the endpoint listening at net.pipe://localhost/ ContosoService which code segment should you use?

  1. ChannelFactory <Contoso.IContoso> factory = new ChannelFactory <Contoso. IContoso>("Contoso.IContoso")
  2. ChannelFactory <Contoso.IContoso> factory = new ChannelFactory <Contoso. IContoso>("netNamedPipeBinding")
  3. ChannelFactory <Contoso.IContoso> factory = new ChannelFactory <Contoso. IContoso>("netPipe");
  4. ChannelFactory <Contoso.IContoso> factory = new ChannelFactory <Contoso. IContoso>("net.pipe//localhost/ContosoService");
Answer: Answer is c
Further Reading:

Useful Resources, ChannelFactory Constructor

comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;