views:

30

answers:

1

We have a somewhat complex and long-running action method for which we'd like to show a progress bar. The javascript grid that we're using requires that saving and loading data be done in a single request (save first then load), and also requires us saving data to session.

Our initial thought was to just use an AsyncController, but the method obviously failed since it accesses (and saves to) session state. Since we cannot split up the action due to the javascript grid, is there any other option?

A: 

You could use a service bus and send a message to this. Granted this might be overkill for what you are doing but could be worth a look.

Search SO for rhinobus, masstransit or nservicebus. These would allow you to send a message asynchronously but you have to setup the application that subscribes to this message.

dove