WCF Interview questions


Total available count: 25
Subject - Microsoft Technologies
Subsubject - WCF

How do you achieve method overloading in WCF?

By making use of name property in OperationContract.
[ServiceContract]
interface ISimpleCalculator
{
[OperationContract(Name="Add2numbers")]
int Add(int a,int b)

[OperationContract(Name="AddDouble")]
int Add(double a,double b)
}

 




Next 5 interview question(s)

1
Why normal method overloading is not possible in WCF?
2
What are the main components of WCF?
3
Which bindings in WCF do support the message streaming?
4
What is Address Header in WCF?
5
What is .svc file?

Comments