Best Practice: Always open WCF client proxy explicitly when it is shared
By : Wenlong Dongs Blog | On : 2007 October 26
In order to provide symmetric programming model for the client-side as for the server-side, WCF leverages .NET Remoting transparent proxy technique so that the service contract interface can be used seamlessly as on the server-side. The svcutil.exe tool can generate WCF client proxy code for you. If you take a closer look at the generated code, you will find out that the proxy class is a subclass of ClientBase<T>. By using ChannelFactory<T>, you can create your proxy (or called channel) direc...
|
|
|
Total:
![]() |
Click here to continue on details
Content Ownership
The content of this posting is wholly owned by Wenlong Dongs Blog, and as such: the same retains sole copyright for the content. softlogger.com is not responsible for this content.
Recommended Related Readings :
Performance Improvement for WCF Client Proxy Creation in .NET 3.5 and Best Practices
Introduction In .NET 3.0 SP1, which will be shipped together with .NET 3.5, there is signific...
Web Services Best Practices
As I sit here on my deck, enjoying the cool autumn breeze1, I thought, what better thing to...
SYSK 286: What Does a Web Service Proxy Look Like on a Client Side?
AJAX.NET makes it extremely simple to call a web service from a client using JavaScript… But ...
SharePoint code - best practices part I
The SharePoint OM is difficult to use. It´s not intuitive - it´s throws strange errors if yo...
Module uninstalls and security best practices
During the DotNetNuke Review process, one item that we look for is whether a module can be com...
Integrating WCF Clients with ASMX Services
Back in December 2006 I linked to Thom Robbins' blog post about integrating WCF with ASMX serv...
