aspnetcore/test/WebSites
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
..
ActionConstraintsWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
ActionResultsWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
ActivatorWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
AntiforgeryTokenWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
ApiExplorerWebSite * Debug log exceptions in JsonInput deserializing 2015-11-30 11:19:22 -08:00
ApplicationModelWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
BasicWebSite * Debug log exceptions in JsonInput deserializing 2015-11-30 11:19:22 -08:00
BestEffortLinkGenerationWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
CompositeViewEngineWebSite Switch concepts from misnamed `isPartial` to `isMainPage` 2015-11-18 15:59:37 -08:00
ContentNegotiationWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
ControllerDiscoveryConventionsWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
ControllersFromServicesClassLibrary
ControllersFromServicesWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
CorsMiddlewareWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
CorsWebSite Make Cors filters run before any other authorization filters 2015-11-18 10:51:49 -08:00
CustomRouteWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
ErrorPageMiddlewareWebSite Add relative view path support 2015-11-18 15:59:11 -08:00
FilesWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
FiltersWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
FormatFilterWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
FormatterWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
HtmlGenerationWebSite Remove Magic Link Generation 2015-11-30 11:24:23 -08:00
InlineConstraintsWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
JsonPatchWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
LocalizationWebSite fix #3414 : RegularExpressionAttribute generates wrong data-val-regex message 2015-11-10 10:27:53 -08:00
LoggingWebSite Fix breaking changes to functional tests 2015-11-02 18:46:54 -08:00
LowercaseUrlsWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
Microsoft.AspNet.Mvc.TestConfiguration
ModelBindingWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
PrecompilationWebSite Add relative view path support 2015-11-18 15:59:11 -08:00
RazorEmbeddedViewsWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
RazorPageExecutionInstrumentationWebSite Removing PageInstrumentation 2015-11-25 08:41:21 -08:00
RazorWebSite Switch concepts from misnamed `isPartial` to `isMainPage` 2015-11-18 15:59:37 -08:00
RequestServicesWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
ResponseCacheWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
RoutingWebSite Remove Magic Link Generation 2015-11-30 11:24:23 -08:00
TagHelpersWebSite Remove `WebUtility` use and handle `IHtmlContent` return values from view components 2015-11-23 11:12:44 -08:00
TempDataWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
UrlHelperWebSite Removed unnecessary dependency of IActionSelector in UrlHelper 2015-11-23 15:44:55 -08:00
UserClassLibrary Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:39 -08:00
ValidationWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
ValueProvidersWebSite Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
VersioningWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
ViewComponentWebSite Remove Microsoft.AspNet.Server.IIS from test Websites 2015-10-24 08:04:00 -07:00
WebApiCompatShimWebSite Remove Magic Link Generation 2015-11-30 11:24:23 -08:00
XmlFormattersWebSite Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:39 -08:00