我有一個WCF服務託管在Windows服務中,並具有net.tcp端點。客戶端與服務位於同一LAN(工作組)中,但它們沒有服務器的Windows用戶帳戶。這種情況下正確的WCF net.tcp綁定安全性是什麼?
PS:當我在客戶端和服務器設置Security.Mode到無,我收到以下錯誤:
The requested upgrade is not supported by '{SERVICE ADDRESS}'This could be due to mismatched bindings (for example security enabled on the client and not on the server).
感謝您的答覆。但正如我所提到的,客戶端沒有服務器中可用的用戶帳戶,所以Windows身份驗證將失敗。我試着給client.ClientCredentials.Windows.ClientCredential用戶名和密碼設置爲一個服務器的用戶是管理員,但沒有運氣,它仍然失敗。 – mrtaikandi 2010-07-01 19:55:05