This change adds a way to actually configure the RazorEngine to use extensible directives (previously buried behind legacy API). As part of this feature adds the RazorParserOptions class to encapsulate anything else that becomes a parser options (ahem taghelpers). Now we have a pattern for this when we get there. Options are propagated as part of the RazorSyntaxTree for testability/sanity and this was actually responsible for the bulk of the changes. Also added some extension methods for adding directives to the IRazorEngineBuilder and an end to end integration test. |
||
|---|---|---|
| src | ||
| test | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| Razor.sln | ||
| appveyor.yml | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| global.json | ||
README.md
Razor
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 Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.