I am having a C# based winforms or ASP.NET application deployed on my laptop which has to remotely connect to a windows service. The protocol mentioned in config file is TCP-IP as follows:
<wellknown url="tcp://LaptopMachineNAme:8085/MyService" type="MyController, MyOwn.AppTier" />
What would happen if the ‘windows service’ is also installed on my laptop?… Will the winforms or ASP.NET application be able to establish the “remote connection on the SAME machine”…???
There is no problem connecting to the service which is installed on the same computer. I would use named-pipes for this task, there is no problem having 2 (or more) bindings to the same service.