2012年11月24日 星期六

如何關閉wcf service host

每次在測試 WCF Service Library 時Visual Studio 會貼心的幫我們建立Host及Test程式來測試WCF服務的功能

但是當我們自行建立Host時, 這個自動建立的Host也會被啟動而佔用了指定的Port
這時只要將WCF Service Library 專案中的WCF Opiotns 頁中的 Start WCF Service Host when debugging another project in the same solution關閉即可~

沒有留言:

張貼留言