安装WCF-Windows服务

控制台程序开启WCF服务。

 

服务地址:
D:\Project\WebGame\OfficialCash\OfficialReportService\bin\Debug\OfficialReportService.exe
 
 
 
 
运行-->cmd
 
sc create OfficialReportService binPath= D:\Project\WebGame\OfficialCash\OfficialReportService\bin\Debug\OfficialReportService.exe
 
 
 
 

卸载WCF服务:

sc delete OfficialReportService

 

开启 WCF 服务:

net start OfficialReportService

 

停止 WCF 服务:

net stop OfficialReportService

 

posted @ 2016-08-02 01:44  茗::流  阅读(440)  评论(0)    收藏  举报
如有雷同,纯属参考。如有侵犯你的版权,请联系我。