You have a class name OrderService that include two methods to reject and process order. you need to expose the orderservice class as a wcf service and ensure it support one or more inheritance. what must you do ?

 Posted by Rajkatie on 4/29/2013 | Category: WCF Interview questions | Views: 13282 | Points: 40
Select from following answers:
  1. apply a servicecontract attribute to orderservice class. apply operationcontract attribute to each method of the orderservice class.
  2. create interface named IOrderService and apply the orderservice attribute to it. modify the orderservice class to implement the IOrderService
  3. Create interface named IOrderService and apply the orderservice attribute to it. apply an operationcontract attribute to each method of IOrderServicemodify the orderservice class to implement the IOrderService
  4. All Above

Show Correct Answer


| Alert Moderator 

Comments or Responses

Login to post response