In ASP.NET MVC 2 asynchronous controllers, we can do something like this:
public class SomeController : AsyncController { [Blurb] public void FooAsync() { this.AsyncManager.OutstandingOperations.Increment(); Task.Factory.StartNew( () => { this.AsyncManager.Parameters["result"] = new BazResult(); this.AsyncManager.OutstandingOperations.Decrement(); }); } public ActionResult FooCompleted(ActionResult result) { return result; } }
My question is, does the Reset action filter perform asynchronously? In other words, is its synchronous nature automatically wrapped in an asynchronous call?
source share