Reputation: 574
Is there any way of starting a HTTP WCF service from a regular, non-admin application manually? All I want is my regular desktop application to listen on a port where some things can be controlled remotely.
I could go the manual route and use my own TcpListener, parse HTTP (or any other protocol), go through some reflection, then respond back on TCP, but I'd like to use WCF to avoid boilerplate.
Upvotes: 1
Views: 648
Reputation: 574
A partial workaround is to use http://localhost:80/Temporary_Listen_Addresses/ if that's acceptable in your situation (not in mine though). This URL magically doesn't require additional permissions. source
Upvotes: 1