How to use reserved port in netTcpBinding and basicHttpBinding in a WCF Application

One of my colleagues was working with a customer where they were using a self-hosted WCF service with basicHttpBinding. Basically the customer wanted to use around 20 ports of his choice so that, they can distribute different service URL to different dealers, that’s cool stuff, right there. However there are some issues to consider, in…

0

[WCF Errors] : Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding

So, you decided to migrate some of your WCF Services into a new Server. However after this migration the WCF Services are not working and you start seeing the below Error: “Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http]. ” Frustrating, right? However the…

0

How to detect on a WCF Service that a client just got disconnected?

One of this days, I had to work on a problem where we needed to detect an unexpected disconnection of a WCF Client. This seems pretty straightforward, right? So lets add a couple of more information to this scenario here. Basically,  they had a very simple WCF Client Console Application that was consuming a  Self-Hosted WCF Service. This…

0