2
Answers

WCF service contract endpoint

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)