Indisposable: WCF Gotcha #1

When you have the code behind the service ready to go, you deploy it to the server of your choice and are ready to call the service. At this point, you will most likely do one of two things to consume the service: Create a ChannelFactory and reuse your interface, or use the "Add Service Reference..." option inside Visual Studio. Either way you go, you will almost certainly get the next part wrong... even if you know your shit when it comes to the rest of the .NET framework... [1]

[1] http://www.iserviceoriented.com/blog/post/Indisposable+-+WCF+Gotcha+1.aspx

No Comments