since Index is the default landing zone for a website, is it a good idea to make the home controller an async controller?
In what scenario can I take advantage of AsyncControllers?
Thanks,
Ryan
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.
No, it isn’t a good idea.
When you have actions that perform intensive I/O tasks and for which you could benefit from I/O Completion ports such as database calls, web service calls, … I would recommend you reading the following article for better understanding the concept. It’s about async ASP.NET pages but async controllers work exactly the same.