2
Answers

WCF service contract endpoint

Photo of anil kumar

anil kumar

8y
654
1
Hi,
which one from the following statements is true for following piece of code :
Public class service
{
[operationContract]
[WebMethod]
public string Hello() {
return "Hello";
}
}
1. Enables "service" to be accessed only as WCF service
2. Enables "service" to be accessed only as .asmx
3. Will raise an exception
4. Enables .asmx part migration to WCF

Answers (2)