aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
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
..
ActionResults Moving UTF8EncodingWithoutBOM.cs to Common and renaming it as Encodings. 2014-07-10 10:47:54 -07:00
AntiXsrf
Extensions Moving IViewEngine to MvcOptions 2014-07-08 17:50:13 -07:00
Filters
ParameterBinding
Properties
ReflectedModelBuilder
Rendering Add extra unit tests and functional tests for CompositeViewEngine 2014-07-09 15:03:34 -07:00
Routing [#732] Attribute Routing: Implement `~/` for overriding a prefix 2014-07-16 09:40:38 -07:00
ActionAttributeTests.cs
ActionExecutorTests.cs
ActionSelectionConventionTests.cs
ControllerTests.cs
DefaultActionSelectorTest.cs Removing magic link generation 2014-07-08 12:17:49 -07:00
DefaultControllerActivatorTest.cs
DefaultControllerAssemblyProviderTests.cs
DefaultControllerFactoryTest.cs
JsonResultTest.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.kproj Moving IViewEngine to MvcOptions 2014-07-08 17:50:13 -07:00
MockMvcOptionsAccessor.cs
MvcOptionsTests.cs
PropertyHelperTest.cs
ReflectedActionDescriptorProviderTests.cs
ReflectedActionInvokerTest.cs
StaticActionDiscoveryConventions.cs
TestController.cs
TypeHelperTest.cs
UrlHelperTest.cs
ViewComponentTests.cs
ViewResultTest.cs Moving IViewEngine to MvcOptions 2014-07-08 17:50:13 -07:00
project.json Renamed configurations to frameworks in project.json 2014-07-13 21:58:12 -07:00