aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
Ryan Nowak 12c2759cec Fix for #384 - And some other changes to controller as filter
This is a major change to how we handle the scenario where a controller is
a filter. We want to change the lifetime of the controller object, by
scoping it around action filters and result filters. This means that a
controller class can only implement action filters and result filters.

To implement #384 - we're creating a delegating filter class
'ControllerFilter' which will forward calls to the implementation of the
controller. This is discovered in the controller model and added to the
filter collection. This filter is removable as an opt-out of this feature.

The ControllerFilter only implements action filter and result filter, so
the new restriction about filter types on Controller is in place. A future
change will move the instantiation of the controller to after resource
filters.
2015-01-16 19:15:59 -08:00
..
Compiler/Resources Fix for #1722 - FromHeader does not respect default value 2015-01-16 17:59:00 -08:00
Logging Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
ActionResultTests.cs ContentResult sets Charset along with ContentType 2015-01-16 12:24:44 -08:00
ActivatorTests.cs
AntiForgeryTestHelper.cs
AntiForgeryTests.cs
ApiExplorerTest.cs
ApplicationModelTest.cs
BasicTests.cs
CompilationOptionsTests.cs
CompositeViewEngineTests.cs
ConnegTests.cs Consume new strongly typed headers. Remove temp implementations. 2015-01-14 15:51:34 -08:00
ConsumesAttributeTests.cs Adding Support for consumes. 2015-01-16 14:15:08 -08:00
CustomRouteTest.cs Adding a sample (test) for using custom IRouter implementation with MVC 2015-01-15 16:31:21 -08:00
CustomUrlHelperTests.cs
DefaultOrderTest.cs
DependencyResolverTests.cs
DirectivesTest.cs
ErrorPageTests.cs
ExceptionInfo.cs
FileResultTests.cs Consume new strongly typed headers. Remove temp implementations. 2015-01-14 15:51:34 -08:00
FiltersTest.cs Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
FlushPointTest.cs
HttpResponseMessageExceptions.cs
InlineConstraintTests.cs
InputFormatterTests.cs
InputObjectValidationTests.cs
JsonOutputFormatterTests.cs
JsonResultTest.cs
LinkGenerationTests.cs
Microsoft.AspNet.Mvc.FunctionalTests.kproj
ModelBindingFromHeaderTest.cs Fix for #1722 - FromHeader does not respect default value 2015-01-16 17:59:00 -08:00
ModelBindingModelBinderAttributeTest.cs
ModelBindingTests.cs Issue #1695 - Create a pattern for a 'greedy' model binder. 2015-01-15 16:32:50 -08:00
MvcSampleTests.cs
MvcStartupTests.cs
MvcTagHelpersTests.cs Introducing 'cache' tag helper 2015-01-16 16:57:33 -08:00
NullLoggerFactory.cs
OutputFormatterTest.cs Rename TextPlainFormatter and remove other minor warnings 2015-01-16 12:09:53 -08:00
PrecompilationTest.cs
RazorInstrumentationTests.cs
RazorViewEngineOptionsTest.cs
RazorViewLocationSpecificationTest.cs
RequestServicesTest.cs
ResourceHelpers.cs
RespectBrowserAcceptHeaderTests.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -08:00
ResponseCacheTest.cs Changes introducing ResponseCache to cache content in the client/proxy. 2015-01-15 16:51:22 -08:00
RoundTripTests.cs
RouteDataTest.cs
RoutingTests.cs
TagHelperSampleTest.cs
TagHelpersTest.cs Add support for `@removeTagHelpers` inheritance from _ViewStart files 2015-01-15 12:12:00 -08:00
TestApplicationEnvironment.cs
TestAssemblyProvider.cs
TestConfigurationProvider.cs
TestHelper.cs
TryValidateModelTest.cs Added support for TryValidateModel and its corresponding tests 2015-01-16 17:23:59 -08:00
ValueProviderTest.cs
VersioningTests.cs
ViewComponentTests.cs
ViewEngineTests.cs
WebApiCompatShimActionResultTest.cs
WebApiCompatShimActionSelectionTest.cs
WebApiCompatShimBasicTest.cs
WebApiCompatShimParameterBindingTest.cs
XmlOutputFormatterTests.cs
XmlSerializerInputFormatterTests.cs
project.json Adding Support for consumes. 2015-01-16 14:15:08 -08:00