aspnetcore/test/WebSites
Doug Bunting 08dd77d8c7 Add relative view path support
- #3307
- relative paths are now supported in `View()` calls from components and view components,
  `Html.PartialAsync()` and similar calls, and `RazorPage.Layout` settings.
  - support absolute paths, relative paths, and view location lookups consistently / everywhere
  - support view paths in `TemplateRenderer` e.g. passing an absolute path to `Html.EditorFor()`
- take a big swing at the `IRazorViewEngine` and `IViewEngine` interfaces
  - split lookups (view names) from navigation (view paths)
  - remove `Partial` separation; use parameters to set `IsPartial` properties
- correct `ViewContext` copy constructor and add unit test
- extend unit tests to cover relative paths
  - fix existing tests to handle newly-required extension in an absolute path
- add functional test that chains relative paths

nits:
- remove some YOLO line wrapping
- `""` -> `string.Empty`
2015-11-18 15:59:11 -08:00
..
ActionConstraintsWebSite
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
ApiExplorerWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
ApplicationModelWebSite
BasicWebSite [Fixes #3503] Removing formatters on a given type only works on collections in MVC options 2015-11-18 09:56:44 -08:00
BestEffortLinkGenerationWebSite
CompositeViewEngineWebSite Add relative view path support 2015-11-18 15:59:11 -08:00
ContentNegotiationWebSite
ControllerDiscoveryConventionsWebSite
ControllersFromServicesClassLibrary
ControllersFromServicesWebSite
CorsMiddlewareWebSite
CorsWebSite Make Cors filters run before any other authorization filters 2015-11-18 10:51:49 -08:00
CustomRouteWebSite
ErrorPageMiddlewareWebSite Add relative view path support 2015-11-18 15:59:11 -08:00
FilesWebSite
FiltersWebSite
FormatFilterWebSite
FormatterWebSite
HtmlGenerationWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
InlineConstraintsWebSite
JsonPatchWebSite
LocalizationWebSite
LoggingWebSite
LowercaseUrlsWebSite
Microsoft.AspNet.Mvc.TestConfiguration
ModelBindingWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
PrecompilationWebSite Add relative view path support 2015-11-18 15:59:11 -08:00
RazorEmbeddedViewsWebSite
RazorPageExecutionInstrumentationWebSite
RazorWebSite Add relative view path support 2015-11-18 15:59:11 -08:00
RequestServicesWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
ResponseCacheWebSite
RoutingWebSite
TagHelpersWebSite
TempDataWebSite
UrlHelperWebSite
UserClassLibrary
ValidationWebSite
ValueProvidersWebSite
VersioningWebSite
ViewComponentWebSite
WebApiCompatShimWebSite Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
XmlFormattersWebSite