Difference between WCF Proxy and Channel Factory – Easy WCF
Skip to content

Difference between WCF Proxy and Channel Factory

Mainly there are two ways to create a WCF Client or calling a WCF Service.

  • Proxy
  • Channel Factory

WCF Proxy:

 

  • A WCF proxy is a CLR class that exposes the service contract. A Service proxy class has the service contract operations and some additional operations for managing the proxy life cycle and the connection to the service.
  • There are two ways to create a WCF proxy as given below:
    • Using Visual Studio by adding service reference to the client application.
    • Using SvcUtil.exe command-line utility

Channel Factory:

 

A channel factory creates channels of different types that are used by client to send messages to the service. ChannelFactory class is used with a known interface to create the channel. This approach is commonly used when you have access control to both the server and the client.

Difference between WCF proxy and Channel Factory:

WCF proxy VS channelFactory

© 2015, admin. All rights reserved.

One thought on “Difference between WCF Proxy and Channel Factory

  1. Pingback: WCF Interview Questions (Part – 2) | EasyWCF

Leave a Reply

Your email address will not be published. Required fields are marked *