问题
I wish to know whether it possible to call async Page_Load in asp.net 4.5 like async controllers in ASP.Net MVC 4. If it is possible, how do we use async events in asp.net?
回答1:
You could use the PageAsyncTask
Pretty simple to use. You basically create your async task and then register it with the page and execute it. The link above has a good example.
来源:https://stackoverflow.com/questions/8242375/is-it-possible-to-call-async-page-load-in-asp-net-4-5