Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing localhost WCF from other device?

I've successfully created a WCF service that works how I want it to. The only problem is that I can not access the web service from anything but the actual machine the WCF service is running.

I understand that the Cassini web service is local only, I want to be able to run the WCF service on my customers system whenever they need the service in my desktop application.

Does anyone know of an easy way to do this without the customer installing anything more than the .NET Framework?

Thanks

like image 273
Sandeep Bansal Avatar asked Jun 19 '12 20:06

Sandeep Bansal


1 Answers

Use self-hosting to host in your own app / service. If you already have the WCF service, it should be a simple matter to create a windows service and host it there (see link).

like image 130
driis Avatar answered Oct 04 '22 13:10

driis