WCF Quiz – Part 2

WCF Quiz – Part 2

Question 1 :

Which is the namespace most commonly used in WCF Service ?

1. System.Service

2. System.Data

3. System.ServiceModel

4. System.Web
 
Question 2 :
 
Which namespace is required in a class to use DataContract or DataMember attribute for a class or properties?
 
1. using System.Runtime.Serialization;

2. using System.ServiceModel;

3. using System.ServiceModel.Web
 
4. using System.Xml.Serialization
 
Please let me know your answers through comments.

Leave a Reply