Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I host (self host) a WCF Service in a Windows Service and expose it via http?

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?

like image 703
Mark Redman Avatar asked Jan 31 '12 19:01

Mark Redman


1 Answers

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.

like image 81
BNL Avatar answered Sep 30 '22 02:09

BNL



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!