4
Reply

Service Contract in web-api

Punit Sharma

Punit Sharma

Apr 11 2017 2:39 AM
523
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)