Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 27, 2012 05:51 AM by sandy060583
Participant
974 Points
195 Posts
Feb 27, 2012 05:07 AM|LINK
How to Add Header Parameter in WCF REST Service, It is REST Service, which will be accessible from JSON.
If someone can provide example, that will be great.
REST WCF
Star
8728 Points
1626 Posts
Feb 27, 2012 05:51 AM|LINK
WebOperationContext.Current.OutgoingResponse.Headers.Add("ApiVersion", "v1.0");
Try this !!! It will help !!!
ramnalawade1...
Participant
974 Points
195 Posts
How to Add Header Parameter in WCF REST Service
Feb 27, 2012 05:07 AM|LINK
How to Add Header Parameter in WCF REST Service, It is REST Service, which will be accessible from JSON.
If someone can provide example, that will be great.
REST WCF
*Don't forget to click “Mark as Answer” on the post that helped you. (It will Help Others Also)*
Ram Nalawade
sandy060583
Star
8728 Points
1626 Posts
Re: How to Add Header Parameter in WCF REST Service
Feb 27, 2012 05:51 AM|LINK
WebOperationContext.Current.OutgoingResponse.Headers.Add("ApiVersion", "v1.0");Try this !!! It will help !!!
REST WCF
Ramani Sandeep (My Blog)
(MCTS, MCC-2011)