问题
I am new to WCF.. is this possible and if its consumed via external web applications is it better go with IIS and http, ie service hosted by an ASP.NET MVC application?
回答1:
Yes, you can host a WCF service in a windows service.
http://msdn.microsoft.com/en-us/library/ms733069.aspx
I'd say that if you can host it in iis it is probably better.
来源:https://stackoverflow.com/questions/9085895/can-i-host-self-host-a-wcf-service-in-a-windows-service-and-expose-it-via-http