Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Significance of WebGetAttribute over WebInvokeAttribute
Rajneesh Rai
Apr 18 2014 5:25 AM
1.5k
Reply
I am trying my hand on RESTful WCF service. to make a method callable using REST, we decorate the method with WebGet/WebInvoke attribute along with operation contract.
WebGet is similar to WebInvoke in all manner except Method parameter. According to my understanding when we use WebGet, http GET method is used. while using WebInvoke, we have liberty to use any http methods(GET,PUT,POST,DELETE). If we can fulfill all our needs through WebInvoke, then why WebGet is there ? please satisfy my curiosity. Thanks.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Basic authentication error on iis
code for simple wcf Program in .net