1. Added support for Name in attribute routing. Name can be defined using [RouteAttribute] and the different Http*Attributes, for example [HttpGet]. 2. Names defined on actions always override names defined on the controller. 3. Actions with a non empty template don't inherit the name from the controller. The name is only inherited from the controller when the action template is null or empty. 4. Multiple attribute routes with different templates and the same name are not allowed. |
||
|---|---|---|
| .. | ||
| compiler/resources | ||
| ActivatorTests.cs | ||
| AntiForgeryTests.cs | ||
| BasicTests.cs | ||
| CompositeViewEngineTests.cs | ||
| ConnegTests.cs | ||
| DependencyResolverTests.cs | ||
| DirectivesTest.cs | ||
| FlushPointTest.cs | ||
| HttpResponseHelpers.cs | ||
| InlineConstraintTests.cs | ||
| InputFormatterTests.cs | ||
| Microsoft.AspNet.Mvc.FunctionalTests.kproj | ||
| ModelBindingTests.cs | ||
| MvcStartupTests.cs | ||
| NullLoggerFactory.cs | ||
| OutputFormattterTests.cs | ||
| ResourceHelpers.cs | ||
| RoutingTests.cs | ||
| TestApplicationEnvironment.cs | ||
| TestAssemblyProvider.cs | ||
| TestConfigurationProvider.cs | ||
| TestHelper.cs | ||
| ValueProviderTests.cs | ||
| ViewEngineTests.cs | ||
| XmlOutputFormatterTests.cs | ||
| project.json | ||