:\Windows\System32\inetsrv>appcmd.exe set app "Default Web Site/WasHostingDemo"
/enabledProtocols:net.tcp
- wcf message:对于谓词 SET 的对象 APP,必须使用准确标识符
:\Windows\System32\inetsrv>appcmd.exe set app "Default Web Site/WasHostingDemo"
/enabledProtocols:net.tcp
转载于:https://www.cnblogs.com/mingle/archive/2010/01/12/1645002.html