IIS WCF service hosting vs Windows Service

后端 未结 7 1848
没有蜡笔的小新
没有蜡笔的小新 2020-11-27 13:07

We developed a WCF service and we\'re looking to deploy it. Our clients will be using it with basicHttpBinding but our internal team will be using it with

7条回答
  •  执念已碎
    2020-11-27 13:16

    Interesting tidbit-> after reading this thread I came across these words in the MSDN about hosting a WCF service using a Windows Service:

    The following are some of the disadvantages of Windows services:

    •Deployment: Services must be installed with the .NET Framework Installutil.exe utility or through a custom action in an installer package.
    •Limited features: Windows services still have a limited set of out-of-the-box features to support high availability, easy manageability, versioning, and deployment scenarios. Essentially you have to cover these requirements yourself through custom code while, for example, IIS comes with several of these features by default. Windows services do add recoverability and some security features, but you still have to do some work yourself.
    http://msdn.microsoft.com/en-us/library/bb332338.aspx

    ...and the following link:

    Hosting Services: (nice comparison chart)
    http://msdn.microsoft.com/en-us/library/ms730158.aspx

提交回复
热议问题