Question

I am using Windows XP which got IIS 5, I am facing some authentication issue during database actions. I tried impersanating but it didn't work for me.

Can I host WCF service without IIS(5) in XP machine? Please confirm this.

Was it helpful?

Solution 3

Only option except IIS hosting in XP will be i)Console Hosting. ii)Windows Service Hosting.

OTHER TIPS

You can host WCF service in any .NET program. The most common in your scenario is Windows Service but it doesn't have to be solution for your problem.

You can not host in WAS on Windows XP since WAS requires IIS 7, but as Ladislav says, you can certainly host in any .Net program.

If you can't use IIS (perhaps because you want to use NetTCP or another non-Http protocol), and you need your host to be long running, your best bet is to use a windows service.

Check out the Self Hosting section of this article.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top