aspnetcore/src/Microsoft.AspNet.Mvc.Razor....
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
..
Directives [quick fixes] Cleanup a few things StyleCop found ages ago 2015-06-24 16:37:39 -07:00
Internal
Properties React to aspnet/Razor#89 fix 2015-05-20 22:07:19 -07:00
GeneratedTagHelperAttributeContext.cs
IMvcRazorHost.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
InjectChunk.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
InjectChunkVisitor.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
InjectParameterGenerator.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
Microsoft.AspNet.Mvc.Razor.Host.xproj
ModelChunk.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
ModelChunkGenerator.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
ModelChunkVisitor.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
MvcCSharpChunkVisitor.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
MvcCSharpCodeGenerator.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
MvcCSharpCodeVistor.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
MvcRazorCodeParser.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
MvcRazorHost.cs Added default `UrlResolutionTagHelper` to resolve app relative URLs. 2015-08-03 16:00:33 -07:00
MvcRazorParser.cs React to aspnet/Razor#140 2015-05-29 14:21:35 -07:00
MvcTagHelperAttributeValueCodeRenderer.cs Addressed code review comments. 2015-05-29 14:59:07 -07:00
Resources.resx React to aspnet/Razor#89 fix 2015-05-20 22:07:19 -07:00
ViewHierarchyUtility.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
project.json React to DNX renames 2015-07-29 04:49:49 -07:00