Host WAS hosting without IIS

281 Views Asked by At

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.

3

There are 3 best solutions below

1
On BEST ANSWER

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

0
On

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.

0
On

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.