Skip to content

This article helps you to generate a dynamic WCF service proxy using ChannelFactory. This will also describe what is ChannelFactory, the difference between ChannelFactory and Proxy, and when to use proxy or ChannelFactory.

Notifications You must be signed in to change notification settings

geeksarray/creating-dynamic-proxy-using-wcf-channelfactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Creating dynamic proxy using WCF ChannelFactory

This article helps you to generate a dynamic WCF service proxy using ChannelFactory. This will also describe what is ChannelFactory, the difference between ChannelFactory and Proxy, and when to use proxy or ChannelFactory.

What is WCF ChannelFactory

ChannelFactory enables you to dynamically create a proxy object based on the Service Contract alone. You do not require to explicitly generate a proxy class or manually define it. This is helpful in a scenario where your service address changes frequently or DataContract changes to a newer version and as a client, you have lot of references to those services. So after changes happen at the service side, the client must update proxy.

Applications

  1. Northwind WCF Services - WCF Services that implements and exposed Product and Category Service Contracts.
  2. Shared Data Contracts - that will be shared between Service and Clients
  3. Client application - it is a console application that consumes uses Channel Factory and uses Shared data contract.

For more details visit - https://geeksarray.com/blog/creating-dynamic-proxy-using-wcf-channelfactory

About

This article helps you to generate a dynamic WCF service proxy using ChannelFactory. This will also describe what is ChannelFactory, the difference between ChannelFactory and Proxy, and when to use proxy or ChannelFactory.

https://geeksarray.com/blog/creating-dynamic-proxy-using-wcf-channelfactory

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages