aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
Ryan Nowak 623b733eaa Adding a sample (test) for using custom IRouter implementation with MVC
This is a demonstration of how to inject an IRouter in between traditional
routes and MVC's handler. This allows you to accomplish a variety of
things that were possible with WebAPIs handlers, but inside the routing
system.

The example here turns a header representing the user into a locale, which
is used to select a controller. You could do other things like reject the
route match or change link generation.

There is one subtle project change here, to allow the same to be possible
for attribute routing, we need to create the attribute route after running
the user's routing configuration code.
2015-01-15 16:31:21 -08:00
..
Compiler/Resources React to aspnet/Razor#240. 2015-01-13 22:35:43 -08:00
Logging react to aspnet/HttpAbstractions#146 changes 2015-01-07 17:53:35 -08:00
ActionResultTests.cs
ActivatorTests.cs added activation tests for tag helpers 2015-01-12 12:51:41 -08:00
AntiForgeryTestHelper.cs Adding the functional tests for MvcTagHelpers (1) 2015-01-08 17:23:42 -08:00
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
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 Adding support for flowing compilation errors to Diagnostics middleware 2015-01-13 07:32:58 -08:00
ExceptionInfo.cs
FileResultTests.cs Consume new strongly typed headers. Remove temp implementations. 2015-01-14 15:51:34 -08:00
FiltersTest.cs Adding Resource Filters 2015-01-12 14:18:20 -08:00
FlushPointTest.cs
HttpResponseMessageExceptions.cs
InlineConstraintTests.cs Nit: Clean up duplicate tests 2015-01-13 12:49:26 -08:00
InputFormatterTests.cs
InputObjectValidationTests.cs
JsonOutputFormatterTests.cs
JsonResultTest.cs
LinkGenerationTests.cs
Microsoft.AspNet.Mvc.FunctionalTests.kproj
ModelBindingFromHeaderTest.cs
ModelBindingModelBinderAttributeTest.cs
ModelBindingTests.cs File upload model binder 2015-01-15 13:41:14 -08:00
MvcSampleTests.cs
MvcStartupTests.cs
MvcTagHelpersTests.cs MvcTagHelpers tests for 2015-01-13 10:12:19 -08:00
NullLoggerFactory.cs
OutputFormatterTest.cs
PrecompilationTest.cs
RazorInstrumentationTests.cs
RazorViewEngineOptionsTest.cs
RazorViewLocationSpecificationTest.cs
RequestServicesTest.cs React to aspnet/Razor#240. 2015-01-13 22:35:43 -08:00
ResourceHelpers.cs
RespectBrowserAcceptHeaderTests.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -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
ValueProviderTest.cs
VersioningTests.cs
ViewComponentTests.cs
ViewEngineTests.cs
WebApiCompatShimActionResultTest.cs
WebApiCompatShimActionSelectionTest.cs
WebApiCompatShimBasicTest.cs
WebApiCompatShimParameterBindingTest.cs
XmlOutputFormatterTests.cs
XmlSerializerInputFormatterTests.cs
project.json Adding a sample (test) for using custom IRouter implementation with MVC 2015-01-15 16:31:21 -08:00