Go to file
N. Taylor Mullen da935bfa95 Generated document output persists result to generated code container.
- Prior to this we had a `BackgroundDocumentGenerator` that would constantly be updating generated code containers. With this changes we've changed the details in how a `GeneratedCodeContainer` can be mutated. It can now be touched from any thread and is updated when an underlying `DocumentSnapshot` has available content. However, if a generated output comes through that's older then the last seen output we no-op.
- Removed `BackgroundDocumentGenerator` SetOutput logic.
- Updated tests to react to new behavior of `GetGeneratedOutputAsync`.
- Added new test to verify getting generated output results in the setting of the host documents output.
2018-09-10 15:24:35 -07:00
.vsts-pipelines/builds Merge branch 'merge/release/2.2-to-master' 2018-08-08 11:30:27 -07:00
benchmarks/Microsoft.AspNetCore.Razor.Performance
build Update dependencies.props 2018-09-09 19:27:24 +00:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Generated document output persists result to generated code container. 2018-09-10 15:24:35 -07:00
test Generated document output persists result to generated code container. 2018-09-10 15:24:35 -07:00
tooling Merge branch 'release/2.2' 2018-08-21 18:39:13 -07:00
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Introduces a 'formatter' for formatting the IR 2018-08-13 13:09:49 -07:00
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
Razor.sln
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-09-09 19:27:24 +00:00
korebuild.json Merge branch 'release/2.2' 2018-08-21 18:39:13 -07:00
run.cmd
run.ps1
run.sh
version.props Update branding to 2.2.0-preview3 2018-09-05 16:35:54 -07:00

README.md

Razor

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.

Building from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments. See developer documentation for more details.