This is a new abstraction that represents the api surface available for codegen to target. Every kind of document should have an associated RuntimeTarget or just use the default. To prevent breakage, our DocumentClassifierBase class will provide a default API set to implementors (like MVC). I haven't fundamentally changed how codegen is done yet, I've just hidden it behind a new abstraction. The RuntimeTarget now is also responsible for selecting between design time and runtime. The bulk of the noise here is from splitting a lot of the codegen stuff into its own files. |
||
|---|---|---|
| build | ||
| shared | ||
| src | ||
| test | ||
| tooling/Microsoft.VisualStudio.RazorExtension | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| Razor.sln | ||
| appveyor.yml | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| makefile.shade | ||
| version.props | ||
README.md
Razor
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.