Go to file
N. Taylor Mullen 7c70207594 Made the Visual Studio parser smarter about overlapping reparse requests.
- Prior to this the parser would think that a non-latest reparse request was the latest because the only way we would check to see if a change reference was "latest" would be to do an equality check on the snapshot and `SourceChange`; the issue here was that `SourceChange` was null but the snapshots were the same. Problems could arise with this due to project context changes.
- Added tests to validate the new reparse behavior.
- Renamed `Edit` in the `BackgroundParser` to `ChangeReference` also refactored all the "edit" text in `BackgroundParser` to be `ChangerReference` like.
- Added a new event args to be the DTO between the internal and external parser implementations. This is how we could pas additional information in order to determine "latest" change reference.

#2336
2018-05-14 11:54:56 -07:00
benchmarks/Microsoft.AspNetCore.Razor.Performance Stop expressly testing on netcoreapp2.0 2018-03-20 09:37:26 -07:00
build Update dependencies.props 2018-05-13 14:20:13 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Made the Visual Studio parser smarter about overlapping reparse requests. 2018-05-14 11:54:56 -07:00
test Made the Visual Studio parser smarter about overlapping reparse requests. 2018-05-14 11:54:56 -07:00
tooling Track the open/closed state of documents 2018-05-11 08:18:08 -07:00
.editorconfig
.gitattributes
.gitignore
.travis.yml Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json React to aspnet/BuildTools#616 - add additional exclusions for Microsoft.AspNetCore.Razor.Design 2018-03-21 09:59:24 -07:00
README.md
Razor.sln
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-05-13 14:20:13 -07:00
korebuild.json Branching for 2.1.0-rc1 2018-04-16 17:01:21 -07:00
run.cmd
run.ps1 Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
run.sh Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
version.props Merge branch 'release/2.1' into dev 2018-04-30 15:43:06 -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.