aspnetcore/test
Ryan Nowak 6875ee55d3 Remove Magic Link Generation
This change resolves #3512 and #3636 by removing 'magic' link generation
and adding an extension method to add routes to areas correctly using the new
pattern. This is pretty much exactly the same as how MapWebApiRoute works.

For site authors, we recommend adding area-specific routes in a way that
includes a default AND constraint for the area. Put your most specific
(for link generation) routes FIRST.

Ex:

  routes.MapRoute(
      "Admin/{controller}/{action}/{id?}",
      defaults: new { area = "Admin" },
      constraints: new { area = "Admin" });

The bulk of the changes here are to tests that unwittingly relied on the
old behavior.
2015-11-30 11:24:23 -08:00
..
Microsoft.AspNet.Mvc.Abstractions.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.ApiExplorer.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.Core.Test Remove Magic Link Generation 2015-11-30 11:24:23 -08:00
Microsoft.AspNet.Mvc.Cors.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.DataAnnotations.Test * Include DisplayName in errorMessage 2015-11-30 11:18:14 -08:00
Microsoft.AspNet.Mvc.Formatters.Json.Test * Debug log exceptions in JsonInput deserializing 2015-11-30 11:19:22 -08:00
Microsoft.AspNet.Mvc.Formatters.Xml.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.FunctionalTests Remove Magic Link Generation 2015-11-30 11:24:23 -08:00
Microsoft.AspNet.Mvc.IntegrationTests * Debug log exceptions in JsonInput deserializing 2015-11-30 11:19:22 -08:00
Microsoft.AspNet.Mvc.Localization.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.Razor.Host.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.Razor.Test Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.TagHelpers.Test Remove the use of `Linq` and unneeded enumerators from Mvc `TagHelper`s. 2015-11-25 21:31:24 -08:00
Microsoft.AspNet.Mvc.Test * Debug log exceptions in JsonInput deserializing 2015-11-30 11:19:22 -08:00
Microsoft.AspNet.Mvc.TestCommon Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Microsoft.AspNet.Mvc.ViewFeatures.Test Adds ActionContext to Validation contexts 2015-11-25 16:38:26 -08:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
WebSites Remove Magic Link Generation 2015-11-30 11:24:23 -08:00