Go to file
N. Taylor Mullen c6150ba287 Move section support into IR.
- Previously we'd special case `@section` at code generation time; now we transform the directive into an IR node.
- Changed the expectations of `DefineSection` to not take in a section writer. It's now expected to modify what `Write`, `WriteLiteral` etc. write to when inside of the lambda. This is done today in TagHelpers via `StartTagHelperWritingScope`.
- Updated baseline files to reflect new `DefineSection` expectations.
- Updated IR tests since we no longer leave around `DirectiveIRNode`s.

#901
2016-12-22 14:39:25 -08:00
build Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
shared Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
src Move section support into IR. 2016-12-22 14:39:25 -08:00
test Move section support into IR. 2016-12-22 14:39:25 -08:00
.gitattributes
.gitignore Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
.travis.yml
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
Razor.sln Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
appveyor.yml
build.cmd
build.ps1 Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
build.sh Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
makefile.shade Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
version.props Upgrade to VS 2017 2016-12-16 16:04:22 -08:00

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 Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.