Tag Archives: WCF

How to add MEX endpoints programmatically

The Metadata Exchange Endpoint (MEX) is a special endpoint in WCF that exposes metadata used to describe a service.Without the MEX, you will not be able to use svcutil.exe to automatically generate a proxy class. Fortunately, it is a simply … Continue reading

Posted in .Net, .Net 4.0, WCF | Tagged , , , , , | 1 Comment

How to configure a WCF service to use Port Sharing

Windows Communication Foundation (WCF) provides a new TCP-based network protocol (net.tcp://) for high-performance communication. WCF also introduces a new system component, the Net.TCP Port Sharing Service that enables net.tcp ports to be shared across multiple user processes. Yesterday I got … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, WCF | Tagged , , , , , | 1 Comment

Upload multiple files using Silverlight

Early this year I wrote a post about creating a File Uploader using Silverlight and WCF. And today I got a question from one forum, about to create uploader for multiple files. And here is source code, I am just … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Silverlight, WCF | Tagged , , , , , , | Leave a comment

WCF Callbacks – A quick introduction

WCF callbacks are an old topic, but recently I got a chance to play around it. WCF callback means instead of normal request – response pattern, it will be a bidirectional communication between client and server. First need to create … Continue reading

Posted in .Net, .Net 4.0, WCF | Tagged , , , , , | Leave a comment

How to post data to RESTful WCF service

Last post I wrote about getting data from RESTful service. And this post is about uploading / posting data to a RESTful service. In this I am modifying the same interface, and adding a method which accepts a stream parameter, … Continue reading

Posted in .Net, .Net 4.0, WCF | Tagged , , , , | Leave a comment