I'm using NInject as the default container and the NInjectResolver class on an MVC4 project. Injection works great. Now I'm trying to replace the default This seems to work OK if the action returns When I convert it to an async action, the action returns (instead of JSON), this text:
How do I go about fixing this? |
This is from an unanswered SO question, you're welcome to answer there too if you'd like the added rep: http://stackoverflow.com/questions/12266818/custom-iactioninvoker-and-async-action