4
Answers

Service Contract in web-api

Punit Sharma

Punit Sharma

7y
546
1
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)