Want to host WCF Webservice as Windows Service as against to Hosting in IIS
Asked Answered
O

2

5

I want to expose few web services but thinking of hosting those as Windows Service as against hosting in IIS.

Is it a good practice?

If yes? How do I make it secured?

I want to authenticate the users who are accessing it (against our custom security database and also want to make sure that the request is originating from our business partner (X.509 certificates???? not worked much with this).

appreciate your pointers in this regards.

Thanks & Regards, Ajay

Orfield answered 21/10, 2008 at 18:24 Comment(0)
A
6

If you are using IIS6, using a Windows Service is a must for many scenarios. Windows Services are 100% supported and a 100% safe way to host WCF. You can secure them with the same options as in IIS.

Albi answered 21/10, 2008 at 18:27 Comment(0)
R
12

You might want to read this Microsoft article , which clearly points Pros/cons of each hosting method, including: Console/WinForms App, IIS 6 and 7 (there are differences) and Windows Services.

Reiterate answered 11/2, 2009 at 16:1 Comment(0)
A
6

If you are using IIS6, using a Windows Service is a must for many scenarios. Windows Services are 100% supported and a 100% safe way to host WCF. You can secure them with the same options as in IIS.

Albi answered 21/10, 2008 at 18:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.