Parser and code generator for CSHTML files used in view pages for MVC web apps.
C# HTML Shell PowerShell Groovy CSS
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vsts-pipelines/builds Merge branch 'merge/release/2.2-to-master' Aug 8, 2018
benchmarks/Microsoft.AspNetCore.Razor.Performance Added benchmarks for syntax tree generation Jun 19, 2018
build Update VSIX build langversion to 7.2 (#2541) Aug 16, 2018
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources Catch 15.7 up with dev Feb 19, 2018
src Updated the tokenizer and parser to operate on SyntaxTokens directly ( Aug 16, 2018
test Updated the tokenizer and parser to operate on SyntaxTokens directly ( Aug 16, 2018
tooling Make master build a 16.0 VSIX Jul 18, 2018
.editorconfig Add .editorconfig Feb 24, 2017
.gitattributes Updating to use Dotnet-Cli build Jan 12, 2016
.gitignore Catch 15.7 up with dev Feb 19, 2018
.travis.yml [automated] Change default branch to master Jul 2, 2018
CONTRIBUTING.md Update CONTRIBUTING.md Jul 24, 2018
Directory.Build.props Introduces a 'formatter' for formatting the IR Aug 13, 2018
Directory.Build.targets Upgrade to netcoreapp22 May 8, 2018
LICENSE.txt Update LICENSE.txt text Jul 3, 2017
NuGet.config Use MSBuild to set NuGet feeds instead of NuGet.config Jan 17, 2018
NuGetPackageVerifier.json Exclude Visual Studio packages from default NGPV ruleset (#2352) May 15, 2018
README.md Remove AppVeyor status tag. Mar 6, 2018
Razor.sln PreserveCompilationContext needs to be set only if a project has any … Feb 28, 2018
build.cmd Update bootstrappers Oct 9, 2017
build.sh Update bootstrappers Oct 9, 2017
korebuild-lock.txt Update dependencies.props Aug 12, 2018
korebuild.json Update korebuild VS version range (#2542) Aug 16, 2018
run.cmd Update bootstrappers Oct 9, 2017
run.ps1 [automated] Change default branch to master Jul 2, 2018
run.sh [automated] Change default branch to master Jul 2, 2018
version.props Bumping version from 2.2.0 to 3.0.0 Jun 29, 2018

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.