0

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.

Tad Donaghe
  • 6,625
  • 1
  • 29
  • 64
Maddy
  • 164
  • 2
  • 13
  • you need to ask a specific question. Are you asking about authentication or are you asking about hosting WCF on XP? For the latter, a simple google search will bring you to: http://msdn.microsoft.com/en-us/library/bb332338.aspx#msdnwcfhc%5Ftopic5 – Cheeso Nov 10 '11 at 10:02
  • +1 for question I might be in same situation in few weeks :) – Surjit Samra Nov 10 '11 at 11:39

3 Answers3

2

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.

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670
1

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.

Tad Donaghe
  • 6,625
  • 1
  • 29
  • 64
0

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

Maddy
  • 164
  • 2
  • 13