aspnetcore/test/WebSites/RazorWebSite
N. Taylor Mullen 0ef68eefc8 Added default `UrlResolutionTagHelper` to resolve app relative URLs.
- Razor removed the ability to automatically resolve URLs prefixed with `~/`; therefore `ScriptTagHelper`, `LinkTagHelper` and `ImageTagHelper` have changed to take in `IUrlHelper`s and auto-resolve their URL based properties if they start with `~/`.
- Added a catch-all `~/` resolver for non `TagHelper` based HTML elements. Razor used to resolve any attribute value that started with `~/` now the behavior is restricted to attributes that can contain URLs.
- Updated `IUrlHelper` to accept `null` values.
- Added functional tests to validate that URLs resolve correctly.
- Updated `TagHelper` tests to ensure that URLs are resolved via an `IUrlHelper`.

#2807
2015-08-03 16:00:33 -07:00
..
Components Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Controllers Added default `UrlResolutionTagHelper` to resolve app relative URLs. 2015-08-03 16:00:33 -07:00
Models Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Services Added LanguageViewLocationExpander into framework and removed it from samples 2015-06-04 14:06:08 -07:00
Shared-Views/ExpanderViews
Views Added default `UrlResolutionTagHelper` to resolve app relative URLs. 2015-08-03 16:00:33 -07:00
wwwroot
MyBasePage.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
NestedViewImportsController.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
RazorWebSite.xproj
Startup.cs Added Mvc localization project 2015-07-16 15:57:24 -07:00
project.json Added Mvc localization project 2015-07-16 15:57:24 -07:00
readme.md

readme.md

RazorWebSite

This web site illustrates use cases for razor view engine, partials and view components.