0
저는 WCF를 완전히 처음 접했고 이러한 함수를 만들었습니다. 내 로컬 호스트에 완벽하게 작동하지만, IIS에 넣은 후에 errormessage 405 "메서드가 허용되지 않음"을 사용하려고합니다.WCF 메서드가 허용되지 않습니다.
[ServiceContract]
public interface IService1
{
[WebInvoke(Method = "GET")]
[OperationContract]
string EncryptZonderPaswoord(string tekst);
[WebInvoke(Method = "GET")]
[OperationContract]
string EncryptMetPaswoord(string tekst, string paswoord);
[WebInvoke(Method = "GET")]
[OperationContract]
string DecryptZonderPaswoord(string tekst);
[WebInvoke(Method = "GET")]
[OperationContract]
string DecryptMetPaswoord(string tekst, string paswoord);
}
...
누구 아이디어? IIS에서 설정해야하는 추가 속성이 있습니까?