Alex Rivera | Logout

WCF ChannelFactory vs generating proxy

Asked 2009-11-08T23:16:08.047
83

Just wondering under what circumstances would you prefer to generate a proxy from a WCF service when you can just invoke calls using the ChannelFactory?

This way you won't have to generate a proxy and worry about regenerating a proxy when the server is updated?

Thanks

Edit
Report

1 Answer

11

Well in order to use ChannelFactory<T> you must be willing to share contract assemblies between the service and the client. If this is okay with you then ChannelFactory<T> can save you some time.

answered 2009-11-08T23:21:30.900

Your Answer