- #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` |
||
|---|---|---|
| .. | ||
| Compilation | ||
| Internal | ||
| Precompilation | ||
| Properties | ||
| TagHelpers | ||
| DefaultPrecompiledViewsProviderTest.cs | ||
| DefaultRazorPageFactoryProviderTest.cs | ||
| DefaultTagHelperActivatorTest.cs | ||
| LanguageViewLocationExpanderTest.cs | ||
| Microsoft.AspNet.Mvc.Razor.Test.xproj | ||
| MvcRazorCodeParserTest.cs | ||
| RazorPageActivatorTest.cs | ||
| RazorPageCreateModelExpressionTest.cs | ||
| RazorPageCreateTagHelperTest.cs | ||
| RazorPageTest.cs | ||
| RazorTextWriterTest.cs | ||
| RazorViewEngineOptionsTest.cs | ||
| RazorViewEngineTest.cs | ||
| RazorViewTest.cs | ||
| SpanFactory.cs | ||
| project.json | ||