aspnetcore/test/WebSites/HtmlGenerationWebSite
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
..
Areas/Customer/Controllers Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
Components Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
Controllers Razor boolean and null attribute special case handled correctly 2015-07-30 10:37:38 -07:00
Models Fix: Metadata ignored for non model-specific EditorTemplate 2015-07-16 15:48:01 -07:00
Views Added default `UrlResolutionTagHelper` to resolve app relative URLs. 2015-08-03 16:00:33 -07:00
wwwroot Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
HtmlGenerationWebSite.xproj Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
ProductsService.cs Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
Startup.cs Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
appRoot.css Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
appRoot.js Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
project.json Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00
readme.md Rename `MvcTagHelpersWebSite` to `HtmlGenerationsWebSite` 2015-06-05 20:30:17 -07:00

readme.md

HtmlGenerationWebSite

This web site illustrates how to use MVC HTML and tag helpers.