我想打電話從域web服務與域B的C#代碼,我曾嘗試與網絡服務的網址添加Web引用,但它給像調用WebService的在跨域
There was an error downloading 'http://localhost:15666/MailBox/'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:15666
There was an error downloading 'http://localhost:15666/MailBox/$metadata'.
Unable to connect to the
我錯誤由於跨域,我有很多問題。有沒有解決方案?
我不相信C#受跨域請求的限制。實際上,您應該如何處理跨域請求,方法是將其發送到您的後端以獲取信息。 –