|
by Paul Stovell via Paul Stovell on 12/30/2009 5:15:03 AM
Back to: Magellan Home
Magellan 1.1 brings support for asynchronous controllers. First we'll look at what it enables, then I will show some ways to configure it.
The controller action below makes a WCF call to load a list of customers, which are used as the model for the view. This service call could take some time to evaluate:
public class CustomerController : Controller
{
public ActionResult List()
{
Model = CustomerService.GetCustomers();
return P
... [ read more ]
|