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 [...]
Posts Categorized: WCF
How to Self hosting WCF Data Service
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
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
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
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 [...]
How to create a RSS feed using ASP.Net
Another ASP.Net related post, this post helps to create a custom RSS feed using ASP.Net. There are many ways to create feed using ASP.Net, like using Xml Documents, String Builder and simple string concatenation. But none of them designed to create RSS feed, so it will be painful and complex. But Microsoft introduced Syndication namespace [...]