REST is based on HTTP and revolves around using the standard HTTP verbs GET, POST, PUT as well as standard HTTP error codes.  The error codes that have to do with redirection are in the 300 block.  Today we’ll focus on 302 which is the status code for a redirection (other 300 codes, such as 301 indicate that the URI moved permanently).

The following code will redirect the client with a 302 status code:

WebOperationContext.Current.OutgoingResponse.StatusCode = System.Net.HttpStatusCode.Redirect;
WebOperationContext.Current.OutgoingResponse.Location = "/someOtherPage.aspx";
return null; 

For an additional measure we’ll return null as well so that there is no output emitted to the client.  The end result will be that the headers include the 302 status code, the location to redirect to and the body of the response will be empty.