Aremyst
Aremyst

Reputation: 1528

Can WCF service that is hosted inside Windows Service be reachable from the other domain(any machine on the internet)?

If WCF Service is hosted by Windows Service, can any machine from the internet make a request to this WCF Service ?

Does it even matter who hosts the WCF service? Or it doesn't matter and the only thing that matters is that WCF can handle http requests?

The thing that confused me is that Troelsen in his book wrote: "If you build an in-house WCF application, another alternative you have is to host your WCF Service Library from within a dedicated Windows service". So, if it's "in-house", it would be reachable only in the same domain? Why so?..

Thanks a lot.

Upvotes: 0

Views: 73

Answers (1)

Kinexus
Kinexus

Reputation: 12904

Yes, you can allow access to a WCF service hosted via a windows service.

Obviously, this will entail modifying your network/firewall settings and ultimately, may be better suited to run on a standard HTTP interface (IIS).

Upvotes: 1

Related Questions