I guess my mind is so engaged in IIS and web applications that I can't think of a reason to go through the trouble of using a self-hosted WCF service. I have always had the availability of IIS so creating a self-hosted WCF service seems like more work than I would want to do. Why would I want to do this?
Lots of points:
http://server/virtualdir/yourservice.svc
, while with self-hosting you can use http://Server:7171/Services/MegaService
or whatever you like)ServiceHost
It's all about how you want to use WCF. Not always the logic you want exposed as a service needs to/can be hosted in IIS. For example:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With