Go to file
N. Taylor Mullen e200b69511 Change IImportProjectFeature to consume RazorProjectItems.
- Updated all implementations of `IImportProjectFeature`; for MVC I went ahead and made a single project item that's always returned for MVC scenarios. That project item is smart about returning its content in a light-weight stream fashion.
- Had to add a `RazorProjectItem` => `RazorSourceDocument` conversion mechanic into `DefaultRazorProjectEngine`.
- Added tests for `DefaultRazorProjectItem.ConvertToSourceDocument`.
- Removed the `ProjectEngine` API from `VisualStudioRazorParser`. This was unrelated but was missed feedback.

#2068
2018-02-15 11:31:18 -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 Change IImportProjectFeature to consume RazorProjectItems. 2018-02-15 11:31:18 -08:00
test Change IImportProjectFeature to consume RazorProjectItems. 2018-02-15 11:31:18 -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
LICENSE.txt
NuGet.config
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
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
run.sh
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.