Go to file
N. Taylor Mullen 133eff3119 Move to RazorProjectEngine.
- Instead of using Razor/Mvc TemplateEngine use `RazorProjectEngine`. This involved changing several locations (each of which used `RazorTemplateEngine` in an entirely different way) to use the RazorProjectEngine's two Process methods.
- Changed an unused public API `VisualStudioRazorParser.TemplateEngine` to `VisualStudioRazorParser.RazorProjectEngine`.
- Ported the remainder of `RazorEngineBuilder`'s extension methods over to `RazorProjectEngineBuilder`. These were used in tests and our `RazorGenerate` tool.
- Added a few test helper methods/classes to enable simple testing of the `RazorProjectEngine`.
- Resolved several test hacks that were working around little discrepancies each of the `RazorTemplateEngine` APIs.
- Changed the template engine factory service to be a project engine factory service.
2018-02-14 12:40:23 -08:00
benchmarks/Microsoft.AspNetCore.Razor.Performance Move to RazorProjectEngine. 2018-02-14 12:40:23 -08:00
build Update dependencies.props 2018-02-11 12:37:35 -08:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources Refocus Razor runtime assemblies 2017-12-19 13:26:07 -08:00
src Move to RazorProjectEngine. 2018-02-14 12:40:23 -08:00
test Move to RazorProjectEngine. 2018-02-14 12:40:23 -08:00
tooling Include VSIX symbols in build output. 2018-02-08 14:36:07 -08:00
.appveyor.yml Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip] 2018-01-31 15:01:13 -08:00
.editorconfig
…
.gitattributes
…
.gitignore Add support for relative paths 2018-02-05 14:19:52 -08:00
.travis.yml Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip] 2018-01-31 15:01:13 -08:00
CONTRIBUTING.md
…
Directory.Build.props Include portable symbols in nupkgs (#2009) 2018-02-02 11:14:25 -08:00
Directory.Build.targets Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:00:26 -08:00
LICENSE.txt
…
NuGet.config Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:30:45 -08:00
NuGetPackageVerifier.json Update build tools to 2.1.0-preview1-15670 and update list of exclusions for Razor.Design 2018-01-12 14:29:59 -08:00
README.md Pin tool and package versions to make builds more repeatable 2017-11-01 18:12:08 -07:00
Razor.sln Rename Microsoft.AspNetCore.Razor.Sdk to Microsoft.NET.Sdk.Razor 2018-02-02 13:12:29 -08:00
build.cmd
…
build.sh
…
korebuild-lock.txt Update dependencies.props 2018-02-11 12:37:35 -08:00
korebuild.json Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip] 2018-01-31 15:01:13 -08:00
run.cmd
…
run.ps1 Update bootstrappers 2017-12-01 12:29:02 -08:00
run.sh Update bootstrappers 2017-12-01 12:29:02 -08:00
version.props Preview2 2018-01-25 09:37:00 -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.

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.