Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
WCF Redirect Query
Hari Babu
Dec 21 2017 1:55 AM
210
Reply
Hi All,
I have requirement that WCF web method has to return 302 http response code along with url and 4 parameters.
i have implemented using below code
WebOperationContext.current.OutgoingResponse.Statuscode=
System.Net.HttpStatusCode.Redirect;
WebOperationContext.Current.OutgoingResponse.Header.Add("Location",url);
Please advice any better way to handle the requirement.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
token based authentication in WCF service.
In wcf service. how detect incoming request operating syste