I\'m using Visual Studio 2011 Beta with 4.5 Beta. There seems to be a bug with ASP.Net MVC 4, where if the method returns a none \"TaskAsync\" task, it hangs the request.
Known issue with MVC 4 Beta.
In short, add the following to ~/Web.config:
<appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> </appSettings>
Then add await Task.Yield(); as the first line in your action method. (Don't forget the await!)
await Task.Yield();