.NET MVC长轮询

I want create method that will do some action when something added to the queue using AsyncController, here is my start:

public class AsyncTest : AsyncController
{
    public void LongPollAsync()
    {
        AsyncManager.OutstandingOperations.Increment();
        // search for messages and send them out...
        AsyncManager.OutstandingOperations.Decrement();
    }

    public ActionResult LongPollCompleted()
        {
        return Json();
    }
}