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

Vishal JadavRank #1,692 · 901 reputationPosted Sep 9, 2016, 6:22 AM EDT
anil kumar25 reputationPosted Sep 9, 2016, 6:46 AM EDT