1

Closed

Task<T> action methods don't work in WebHost Medium trust from GAC

description

When you
  1. are running under webhost
  2. and have System.Web.Http.dll installed in the GAC
  3. and the ASP.NET app is configured to run in Medium trust
then action methods that return Task<TResult> will cause a MethodAccessException. Specifically, this is an issue with the codegen that we use to invoke those types of methods. One possible solution would be to codegen a call to a public method.
Closed Jul 19, 2012 at 12:07 AM by DRavva
Verified that this works fine.

comments

marcind wrote Apr 10, 2012 at 11:04 PM

Fixed in Commit:f95cdef399c6b6b0c