Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is overloading in WCF?how to do autentication in WCF.



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

Post New Answer

More WCF Interview Questions

What is address header in wcf?

0 Answers  


Give the address format of all the bindings in wcf.

0 Answers  


what is msmq binding? : Wcf data services

0 Answers  


What is endpoint in wcf?

0 Answers  


What is wcf ipc binding type?

0 Answers  


Which protocol is used for platform independent communication?

0 Answers  


How can you generate proxies using svcutil in wcf?

0 Answers  


do you know where we can host wcf services? : Wcf data services

0 Answers  


do you know what is the address formats of the wcf transport schemas? : Wcf data services

0 Answers  


How can we host wcf service?

0 Answers  


WCF:Reliable sessions in Windows Communication Foundation (WCF) use a transfer window. What is it the Transfer window? What does it means for the sender, for the receiver? How is it depend of the latency?

1 Answers  


What are the three types of transaction manager WCF supports?

0 Answers  


Categories