Go to file
Ryan Nowak 186e5733c0
Add metadata to Razor (#1894)
* Add metadata to Razor

This PR introduces standard metadata to Razor. This change begins to
formalize the contract between generated code produced by Razor and
runtimes that want to load and interact with this code.

This is a step on making MVC a 'plugin' to Razor rather than the only
possible implementation. Since we're doing MSBuild work - this is the
right time to designate the current interaction between Razor and MVC as
'legacy' and move forward.

Additionally, we need the source thumbprinting to make re-compilation of
Razor a thing.

-----

Also I noticed that our source document doesn't expose the hash
algorithm by name. We really should have this, so I added it and
hardened the code that deals with checksums in c# generation.
2018-01-02 13:30:50 -08:00
build Update dependencies.props 2017-12-31 21:49:09 +00:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
test Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
tooling
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Upgrade to build tools 2.1.0-preview1-15651 2017-12-28 14:10:04 -08:00
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Add exclusions for NPV for non-ASP.NET assemblies 2017-12-28 13:16:55 -08:00
README.md
Razor.sln
build.cmd
build.sh
korebuild-lock.txt Upgrade to build tools 2.1.0-preview1-15651 2017-12-28 14:10:04 -08:00
korebuild.json
run.cmd
run.ps1
run.sh
version.props Include the VSIX and MPack files in the bill of materials 2017-12-20 13:52:32 -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.