Asynchronous Programming with ASP.NET MVC
You have an application that is responsive most of the time but occasionally runs slow and sometimes freezes up entirely. After doing some analysis, you discover a correlation between your application’s slowdowns and the performance of a remote web service that is called by one of your controllers. What seems strange is that even though the remote web service is only used by one part of your application, your entire application is effected by the slowdown. Using Internet Service Manager’s active request report (see Recipe 8–7), you notice many requests stuck in the beginrequest state. You need to understand how to solve this issue.
KeywordsGarbage Collection Task Object Intermediate Language Service Reference Asynchronous Action
Unable to display preview. Download preview PDF.