1
My company often creates Windows services to publish services Web
.
This means that the service is not hosted on any server (such as IIS). One obvious disadvantage I see right away is that the service is dependent on the operating system.
Previously had only created services Web
hosted on a server, specifically on IIS.
What are the advantages and disadvantages of publishing a web service on a server or as a Windows service?
Thank you for the excellent answer. I gave to understand well because nomalmente the choice of hosting is in a server
Web
and what times should I choose Windows service. My company has 20 years of existence and has several services inTCP
should be the reason why they have so many services hosted as services of theWindows
.– Bruno Costa
Interestingly . Net Core goes another way and a half that encourages use stand alone: http://answall.com/q/40671/101
– Maniero
I don’t really know . Net Core yet, but I saw that it has a very different memory management, it may have some relationship. As he intends to run on all platforms, I think they want to "take off" him from IIS, I think MS wants him to run on a Node.js architecture, maybe it also encourages using a self-host for services, quite interesting this @bigown
– Ricardo Pontual
@Ricardopunctual as far as I know it does not have a different memory management, Pleo less not compared to the traditional . Net. But really the idea is to give freedom to do whatever you want, wherever you want, however you want.
– Maniero