Interviews1 answer
What is Webget and WebInvoke in rest service?Tell difference between them
1 Answer
WCF rest uses HTTP verbs such as GET,POST,PUT,DELETE.
When [WebGet] attribute used on operation exposed then endpoint can access directly by browser url having parameters in query string.
and when [WebInvoke] is used on operation exposed then service is invoked by other verbs like post, put and delete. It is used for insert/update/delete operations.
Santosh GadgePosted Apr 18, 2017, 7:57 PM EDT
