我在Azure中創建了一個使用WCF服務的解決方案。我的問題是我無法添加服務引用。它給我的錯誤: There was an error downloading metadata from the address. Please verify that you have entered a valid address. 爲什麼我得到這個錯誤?
當我嘗試使用我用Windows應用程序編寫的Web服務時遇到錯誤。 Web服務似乎做工精細正常,我沒有得到任何錯誤,但只要我添加它作爲我的WinForms應用程序服務引用我的錯誤: Error 1 The type name 'ServiceReference1' does not exist in the type 'CosmicInterface.CosmicInterface'
現在,我
我創建了一個名爲MiniCalc的基本計算器服務,該服務只有兩個操作。添加和Mul,並將其託管在控制檯應用程序中。 using(ServiceHost host = new ServiceHost(typeof(MiniCalcService.Service),
new Uri("http://localhost:8091/MiniCalcService")))
{