aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
Javier Calvarro Nelson 87c430ae19 [#732] Attribute Routing: Implement `~/` for overriding a prefix
This change allows a user to override a route prefix set using
[Route("...")] on the controller by providing a route template
on the action that starts with "~/" or "/". For example,
[HttpGet("~/...")] or [HttpGet("/...")]

If the user specifies a template in [Route] that starts with "~/"
or "/", we will just strip the prefix from the template and use
the remaining part of the template.

The reason to do this is that there's a reasonable extensibility
scenario where a user can implement a global prefix for routes as
a convention (using IReflectedApplicationModelConvention), and use
~/ to escape that prefix (just like we support with action-level routes).
2014-07-16 09:40:38 -07:00
..
compiler/resources
…
ActivatorTests.cs Adding support for ActivateAttribute via IControllerActivator 2014-06-23 11:00:28 -07:00
BasicTests.cs React to resource changes 2014-06-25 22:48:32 -07:00
CompositeViewEngineTests.cs Add extra unit tests and functional tests for CompositeViewEngine 2014-07-09 15:03:34 -07:00
DependencyResolverTests.cs NET45-ify our Autofac functional test 2014-06-24 19:33:50 -07:00
HttpResponseHelpers.cs
…
InlineConstraintTests.cs
…
Microsoft.AspNet.Mvc.FunctionalTests.kproj Add extra unit tests and functional tests for CompositeViewEngine 2014-07-09 15:03:34 -07:00
ResourceHelpers.cs
…
RoutingTests.cs [#732] Attribute Routing: Implement `~/` for overriding a prefix 2014-07-16 09:40:38 -07:00
TestApplicationEnvironment.cs Added Configuration to TestApplicationEnvironment 2014-07-10 10:22:24 -07:00
TestAssemblyProvider.cs Commonize code to limit functional tests to a single site each 2014-06-25 09:00:34 -07:00
TestConfigurationProvider.cs Commonize code to limit functional tests to a single site each 2014-06-25 09:00:34 -07:00
TestHelper.cs Commonize code to limit functional tests to a single site each 2014-06-25 09:00:34 -07:00
project.json Renamed configurations to frameworks in project.json 2014-07-13 21:58:12 -07:00