aspnetcore/test/WebSites/PrecompilationWebSite
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
..
Controllers Add relative view path support 2015-11-18 15:59:11 -08:00
Models
TagHelpers
Views React to aspnet/Razor#561. 2015-11-06 12:31:55 -08:00
compiler/preprocess
wwwroot
.gitignore
PrecompilationWebSite.xproj
Startup.cs
project.json
readme.md

readme.md

PreCompilationWebSite

This web site illustrates use cases for precompilation of razor pages.