I am new to azure web app, Is there any way to redirect the page first then execute the remaining code? I am stuck in situation where I have to redirect my page first, then execute the remaining code... Actually I have deployed my code on azure web app which has request timeout for about 4 mins (which is not configurable), my code take approx 15 min to execute, I want to redirect to main page and execute the remaining code in background. I have tried threads and parallel programming also still no luck.. I am not able to overcome the time frame my web page get request time out every time. Is there a way anyone can suggest? 

Thanks for help!

```
/*functionA and functionB are not execute after redirecting.*/
private static async Task <int> functionA(para1, para2)
{ 
   Task<int> temp1 = await functionB(y,z); 
    return int;
 }

 private static async Task<int> functionB(para1, para2)
 {
    return int;
 }
/* This method will execute first  */
 private string functionC(para1, para2, para3)
 {
    console.log("hello world");
    redirect.response("www.xyz.com");
    Task<int> temp = await functionA(x,y);

    return str; //return string type value
 }

```