Punit Sharma

Punit Sharma

  • NA
  • 101
  • 56.6k

Service Contract in web-api

Apr 11 2017 2:39 AM
Hi Team,
 
I've a service project creted in wcf that have class decorated with ServiceContract and attributes decorated with DataMember attributes. Now I've to convert that project in Web-Api.
So, Can you please suggest me wheather I've to implement class with ServiceContract and members with DataMember. Is there any requirement of ServiceContract and DataContract in Web-api.
 
Thanks, 

Answers (4)