WCF

WCF Examples

WCF

WCF Projects

WCF Project



Totel:17 Click: 1 2 3 4
WCF Interview Questions And Answers

Page 1

WCF needs to enable both backward and forward compatibility, without even sharing types or version information.

There are three main version scenarios:

1. New members
2. Missing members
3. Round tripping, where a new version is passed to and from an old version, requiring both backward and forward compatibility

Data contract class can  be the subclass of another data contract class. Since  the DataContract attribute is not inheritable so WCF requires that every level in the class hierarchy explicitly opt in for a given data contract

[DataContract]
class Contact
{
   [DataMember]
   public string FtName;

   [DataMember]
   public string LName;
}
[DataContract]
class Customer : Contact
{
   [DataMember]
   public int CNumber;
}

Configuring an endpoint administratively requires placing the endpoints in the hosting process config file. For example, given this service definition:
namespace endname

{
   [ServiceContract]
   interface IMyContract
   {...}
   class MyService : IMyContract
   {...}

}

Throttling enables  we  to restrain client connections and the load they place on  our service. Throttling enables we  to ignore  maxing out our service and the underlying resources it allocates and uses. If the settings we configure are exceeded, WCF will automatically place the pending callers in a queue and serve them out of the queue in order,When throttling is engaged. While pending in the queue,If the client's call timeout expires, the client will get a TimeoutException. 


Goto Page:

1 2 3 4
WCF Objective Questions And Answers

WCF Objective Questions And Answers

WCF Interview Questions And Answers

WCF Subjective Questions And Answers


R4R,WCF Objective fresher and experienced, WCF Subjective fresher and experienced ,WCF Interview Questions And Answers,WCF fresher and experienced,WCF Interview fresher and experienced ,WCF Questions fresher and experienced,WCF Answers fresher and experienced