Go to file
Ryan Nowak 870f023aa9 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.

(cherry picked from commit 5b28c06d64)
2018-02-03 20:13:24 -08:00
build Add CPS dependencies 2018-02-02 13:16:24 -08:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add prelimianry support for extensions to Razor (#2012) 2018-02-03 20:13:24 -08:00
test Flow RazorLanguageVersion to RazorEngine. 2018-01-25 09:17:37 -08:00
tooling Update RazorExtensions VSIX version to 15.7. 2018-01-23 12:08:15 -08:00
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Upgrade to build tools 2.1.0-preview1-15651 2018-01-16 20:19:11 -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-16 20:19:11 -08:00
README.md
Razor.Slim.sln
Razor.sln
build.cmd
build.sh
korebuild-lock.txt 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
korebuild.json
run.cmd
run.ps1
run.sh
version.props

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.