I have a view which has one textbox and one submit button.
I want untill the user completes the textbox and presses the submit button to execute some queries somehow async.
How can i achive this? with AsyncController?
Thanks!
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, you do not need an async contoller for this, a normal controller should do. What you will need to do is make an AJAX request from the page to the normal controller.
Async controllers are really for advanced thread management on the server, not on the client / web browser. An async controller allows server threads to be freed up during long-running tasks, such as network or disk intensive activity.