Go to file
Ryan Nowak 5b28c06d64
Add prelimianry support for extensions to Razor (#2012)
* Add prelimianry support for extensions to Razor

This PR adds MSBuild insfrastructure to the SDK that can understand
concepts we need to expose to the project, code generator and runtime
like:
- Language version
- Configuration
- Extensions (plugins)

As an example of how this works, I've done the wireup for MVC. This will
now generate assembly attributes in your application that can act as a
source-of-truth for what should be included in runtime compilation, and
it's all based on the project-file. This means that it can be delivered
and configured by packages.

The next step here is to implement a loader for RazorProjectEngine based
on these primitives, and then use it in our CLI tools and MVC.

The next step after that is to expose it in VS and VS4Mac through the
project system.
2018-02-02 17:41:14 -08:00
benchmarks/Microsoft.AspNetCore.Razor.Performance
build Merge branch 'rel/vs15.7' into dev 2018-02-02 13:17:27 -08:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add prelimianry support for extensions to Razor (#2012) 2018-02-02 17:41:14 -08:00
test Add prelimianry support for extensions to Razor (#2012) 2018-02-02 17:41:14 -08:00
tooling Update RazorExtensions VSIX version to 15.8 2018-01-23 12:13:31 -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
.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 2018-01-16 20:19:11 -08:00
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-16 20:19:11 -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 Include portable symbols in nupkgs (#2009) 2018-02-02 11:14:25 -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 2018-01-16 20:19:11 -08:00
run.sh Update bootstrappers 2018-01-16 20:19:11 -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.