Go to file
N. Taylor Mullen 4604c807c4 Add ability for unbound complex `TagHelper` attributes to flow through MVC attribute resolution system.
- Today MVC has specific rules about resolving Razor attribute values. Ex: `true` => attribute name being used as attribute value. This change ensures that unbound complex `TagHelper` attribute use that same logic.
- Added configuration to `GeneratedTagHelperContext` for `AddHtmlAttributeValues`.
- Had to be careful with code generating `AddHtmlAttributeValues`. In the case of `data-`; they can appear as complex attributes but may not contain any pieces that are `DynamicAttributeBlockChunk`s. Had to protect against this scenario.
- Updated existing test files.
- Added a new code gen test case to showcase the various use-cases of unbound dynamic `TagHelper` attributes.

#247
2015-08-10 11:29:22 -07:00
src Add ability for unbound complex `TagHelper` attributes to flow through MVC attribute resolution system. 2015-08-10 11:29:22 -07:00
test Add ability for unbound complex `TagHelper` attributes to flow through MVC attribute resolution system. 2015-08-10 11:29:22 -07:00
.gitattributes
.gitignore
.travis.yml Fix Travis-CI. 2015-06-29 17:17:13 -07:00
CONTRIBUTING.md Update Home master -> Home dev 2015-05-12 11:49:45 -07:00
LICENSE.txt
NuGet.Config
README.md
Razor.sln Transition Razor test comparers to new project. 2015-07-28 10:38:09 -07:00
appveyor.yml
build.cmd
build.sh Change hardcoded `bash` shebang to `env` 2015-06-23 11:03:41 -07:00
global.json
makefile.shade

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.