CHAPTER 8

image

Asynchronous Programming with ASP.NET MVC

8-1. Using Async Actions

Problem

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 ...

Get ASP.NET MVC 4 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.