This change moves controller creation to the stage immediately before model binding. The controller will be disposed/released before Resource Filters run their 'OnResourceExecuted' method. Previously the controller's lifetime surrounded all filter invocation. Additionally, the Controller property is now gone from ActionContext, and is moved to the 4 filter contexts that should have access to it Action*Context and Result*Context. |
||
|---|---|---|
| .. | ||
| ActionResults | ||
| HttpRequestMessage | ||
| Mocks | ||
| TestUtils | ||
| ApiControllerActionDiscoveryTest.cs | ||
| ApiControllerTest.cs | ||
| DefaultContentNegotiatorTest.cs | ||
| FormDataCollectionExtensionsTest.cs | ||
| HttpErrorTest.cs | ||
| HttpResponseExceptionActionFilterTest.cs | ||
| HttpResponseExceptionTest.cs | ||
| HttpResponseMessageOutputFormatterTests.cs | ||
| Microsoft.AspNet.Mvc.WebApiCompatShimTest.kproj | ||
| OverloadActionConstraintTest.cs | ||
| project.json | ||