aspnetcore/test/WebSites
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
..
ActionConstraintsWebSite Adding Support for consumes. 2015-01-16 14:15:08 -08:00
ActionResultsWebSite ContentResult sets Charset along with ContentType 2015-01-16 12:24:44 -08:00
ActivatorWebSite Modify TagHelper tests to abide by new content mode design. 2015-01-16 15:56:03 -08:00
AddServicesWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
AntiForgeryWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
ApiExplorerWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
ApplicationModelWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
AutofacWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
BasicWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
CompositeViewEngineWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
ConnegWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
CustomRouteWebSite Adding a sample (test) for using custom IRouter implementation with MVC 2015-01-15 16:31:21 -08:00
ErrorPageMiddlewareWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
FilesWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
FiltersWebSite Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
FormatterWebSite Added support for TryValidateModel and its corresponding tests 2015-01-16 17:23:59 -08:00
InlineConstraintsWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
LoggingWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
Microsoft.AspNet.Mvc.TestConfiguration Add `CultureReplacerMiddleware` for use in functional test web sites 2015-01-13 12:49:02 -08:00
ModelBindingWebSite Fix for #1722 - FromHeader does not respect default value 2015-01-16 17:59:00 -08:00
MvcTagHelpersWebSite Introducing 'cache' tag helper 2015-01-16 16:57:33 -08:00
PrecompilationWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
RazorInstrumentationWebsite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
RazorViewEngineOptionsWebsite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
RazorWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
RequestServicesWebSite Modify TagHelper tests to abide by new content mode design. 2015-01-16 15:56:03 -08:00
ResponseCacheWebSite Changes introducing ResponseCache to cache content in the client/proxy. 2015-01-15 16:51:22 -08:00
RoutingWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
TagHelpersWebSite Modify TagHelper tests to abide by new content mode design. 2015-01-16 15:56:03 -08:00
UrlHelperWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
ValueProvidersWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
VersioningWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
ViewComponentWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
WebApiCompatShimWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
XmlSerializerWebSite Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00