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.

Hari Babu75 reputationPosted Dec 25, 2017, 4:07 PM EST
Reshwanth SRank #1,296 · 1.3K reputationPosted Dec 26, 2017, 2:30 AM EST