Posts Tagged: WCF

How to Implement Ad-Hoc Discovery in WCF

Posted by & filed under .Net, .Net 4.0, WCF.

WCF 4.0 introduces a couple of service discovery techniques, which the client can use to discover the services dynamically through client probing or service announcement. WCF 4.0 comes up with the ability of dynamic discovery. This feature allows the client to probe for the services or reversely the services can also announce their presence on [...]

How to Self hosting WCF Data Service

Posted by & filed under .Net, .Net 4.0, WCF.

WCF Data Services (formerly known as “ADO.NET Data Services”) is a component of the .NET Framework that enables you to create services that use the Open Data Protocol (OData) to expose and consume data over the Web or intranet by using the semantics of representational state transfer (REST). OData exposes data as resources that are [...]

Reviewing uCertify 70-513-CSharp MCTS exam prepkit

Posted by & filed under Miscellaneous, Visual Studio, WCF.

I have got a offer from them to review their PrepKit for MCTS 70-513, C#.NET 4 WCF Development(which you can find here) and I have accepted that challenge. Initially it looks fully-featured and with a nice UI, I haven’t had the time to make a few tests and that’s what counts most, so I’ll leave [...]

How to add MEX endpoints programmatically

Posted by & filed under .Net, .Net 4.0, WCF.

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 process to enable the MEX for your service. Here is the code which will add [...]

How to configure a WCF service to use Port Sharing

Posted by & filed under .Net, .Net 3.0 / 3.5, .Net 4.0, WCF.

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 a chance to work on the same, I thought it was complex. But it is [...]

Upload multiple files using Silverlight

Posted by & filed under .Net, .Net 3.0 / 3.5, Silverlight, WCF.

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 modified my eariler source code slightly to select multiple file. And here is the helper [...]