WHAT ARE THE DIFFERENCE BETWEEN ASYNCHRONOUS CONTROLLER IMPLEMENTATION B/W ASP.NET MVC 3 & ASP.NET MVC 4? CAN YOU EXPLAIN IN DETAIL?

Kamlakar Singh

Total Post:80

Points:400
Posted by  Kamlakar Singh
 2826  View(s)
Ratings:
Rate this:
  1. Kamlakar Singh

    Post:80

    Points:400
    What are the difference between asynchronous controller implementation b/w ASP.NET MVC 3 & ASP.NET MVC 4? Can you explain in detail?

    There is major difference is on implementation mechanism between ASP.NET MVC 3 and ASP.NET MVC 4.

    In ASP.NET MVC 3, to implement async controller or methods we need to derive controller from AsyncController rather than from normal plain Controller class. We need to create 2 action methods rather than one. First with suffix  ’Async’ keyword & second with ‘Completed’ suffix.

    In  ASP.NET MVC 4 you need not to declare 2 action method. One can serve the purpouse. MVC 4 using .Net Framework 4.5 support for asynchronous communication.

      Modified On Oct-10-2014 11:37:43 PM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!