[Mono-list] MVC4 async controllers

Daniel Lo Nigro lists at dan.cx
Mon Feb 24 00:33:41 UTC 2014


The "missing view errors" errors are very annoying and misleading.
They usually mean that something broke somewhere else but the exception
wasn't caught. Are you logging exceptions via something like ELMAH? The
actual exception may be in the logs if so.

I'm surprised you could get async methods working in your controllers, last
I heard there was nobody working on the async ASP.NET stack...


On Wed, Feb 19, 2014 at 11:24 AM, Nicklas Overgaard <nicklas at isharp.dk>wrote:

> Hi!
>
> I'm working on a Asp.net MVC4 project and I've started to use the async
> Task<...> returns on my controllers as it should improve performance quite
> a lot - and it all works wonderfully on Windows.
>
> However, from time to time, I prefer to work directly from my MAC via
> Xamarin Studio. Approximately 1 out of 3 requests to the XSP server works,
> the rest errors our randomly with "missing view errors". I've noticed on
> the compatibility overview that the MVC4 async pipeline is not supposed to
> work at all:
> http://www.mono-project.com/Compatibility
>
> So i'm wondering: How come it helps to refresh the page? And is there any
> tricks to getting the async controllers working properly in XSP?
>
> Thanks!
> ---
> Nicklas Overgaard
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140223/fa069947/attachment.html>


More information about the Mono-list mailing list