title: REST-Call with async server implementation
body: <p>In my application I have a server which provides a REST-Api where my UI can communicate with.</p>
  <p>Now I have to start a long running Process on the Server but I want the client not to wait for the response of the server.</p>
  <p>I know I could just fire and forget the Post-Call and not await the response but I need to know at the client that the Process on the server was startet correctly.</p>
  <p>So I thought about the following:</p>
  <pre><code>[HttpPost]
  [Route(&quot;startscan&quot;)]
  public HttpResponseMessage StartScan()
  {
    Task.Factory.StartNew( () =&gt;
    { 
      //Do long running things here 
    }); 
    return Request.CreateResponse(HttpStatusCode.OK);
  }
  </code></pre>
  <p>So my question now is: Will the task I started be executed to it's end? Background of the question is, that as far as I knwo a controller-instance is created for each call to it. So will the instance of the controller be terminated when the requested finished or will the Task I started run to it's end. The task can take up to 10 minutes or longer sometimes.</p>