Can you suggest me how I can do async operations with asp.net MVC
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT
the answer below is outdated. AsyncController has been part of ASPNET MVC since v2.
A cursory search of the internet indicates that async processing is not currently part of MVC, but it is possible to roll your own:http://blog.codeville.net/2008/04/05/improve-scalability-in-aspnet-mvc-using-asynchronous-requests/
Using such a pattern would then allow you to perform other async operations without tying up a thread.
EDIT:
Or perhaps this near dupe question solves your problem?
How to send an email with attachments using SmtpClient.SendAsync?