what is overloading in WCF?how to do autentication in WCF.
Answer / niloy roy
Using the "Name" we can achieve operational overloading
interface IInterfaceName
{
[OperationContract (Name = "aliasName1")]
int MethodName (int param1, int param2);
[OperationContract (Name = "aliasName2")]
double MethodName (double param1, double param1);
}
For authentication:-
Say windows,
set the authentication mode as follows
<authentication mode="Windows" />
then in the end point set bind the configuration as below.
<endpoint address="basic" binding="basicHttpBinding"
contract="WcfServiceLibrary1.IService1"
bindingConfiguration="BND" />
<bindings>
<basicHttpBinding>
<binding name="BND">
<security mode ="Transport">
<transport clientCredentialType ="Windows"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
For to USE IIS,make sure that IIS Annonymous authentication
is DISABLED.
Is This Answer Correct ? | 18 Yes | 1 No |
can you explain how to define a service as rest based service in wcf? : Wcf data services
We have already 2 hostings iis and self hosting. There is another hosting ie was hosting. What is the use of the was(windows activation service) compared to other hosting?
How to do authentication in wcf?
Explain various address format used in WCF?
What does wcf mean lions?
What is data contract equivalence?
What are WCF contracts?
What tool client can use to generate the proxy of WCF?
What is the difference between transport level and message level security?
What do you understand by the term soap?
What are the different modes of security in WCF?
explain data contracts? : Wcf data services