I'm t开发者_JAVA百科rying to deploy a WCF service that uses a netTcpBinding (and a mexTcpBinding for metadata) on a remote server (Win 2008 R2) without installing IIS.
Trouble is, everything I'm trying is telling me I need various IIS components installed on the remote box.
Is that really the case? It seems to me that, with a tcp.net connection, I should be fine without IIS.You don't need IIS, here's an MSDN article called How to: Host WCF in a Windows Service Using TCP
It seems to be fairly detailed and easy to follow.
In general, it is not necessary to use IIS for a WCF service. Any WCF service can be self-hosted.
A WCF service needs to be hosted somewhere. If you don't want to use IIS you need to write a host application which could be console or a Windows NT service application. If you choose to host your service in IIS, starting from IIS 7 you could use non HTTP bindings.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论