Go to file
Ryan Nowak 4a49ee2164 Adds support for imports to IR lowering
This change adds support for 'imports' - extra source files which contain
directives that can merged with 'main' source files. The purpose of course
is to support things like global usings or addTagHelpers, like
_ViewImports in MVC does today.

Instead of a one-off this is now a feature of the Razor langugage since
things like addTagHelper have an impact on the parsing behavior. Also,
having a standard imports concept keeps out feature creep, for instance
the 'global' usings we have today could really just be an import.

Imports allow single-line directives including the fundamental directives
like addTagHelper, using, and other friends. Code, content, and block
directives are not merged and will be ignored. We can consider making
these kinds of things warnings in the future.
2017-01-20 10:43:53 -08:00
build Upgrade to RC.3 2017-01-20 09:01:49 -08:00
shared Upgrade to RC.3 2017-01-20 09:01:49 -08:00
src Adds support for imports to IR lowering 2017-01-20 10:43:53 -08:00
test Adds support for imports to IR lowering 2017-01-20 10:43:53 -08:00
tooling Upgrade to RC.3 2017-01-20 09:01:49 -08:00
.gitattributes
…
.gitignore Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
.travis.yml Update .travis.yml osx images to xcode7.3. 2016-12-08 09:58:06 -08:00
CONTRIBUTING.md
…
LICENSE.txt
…
NuGet.config React to aspnet/KoreBuild#155 2017-01-11 14:21:03 -08:00
NuGetPackageVerifier.json Removed packages list in NuGetPackageVerifier.json 2016-12-12 00:49:16 -08:00
README.md
…
Razor.sln Upgrade to RC.3 2017-01-20 09:01:49 -08:00
appveyor.yml Upgrade appveyor image 2017-01-09 10:38:56 -08:00
build.cmd
…
build.ps1 Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
build.sh Upgrade to VS 2017 2016-12-16 16:04:22 -08:00
makefile.shade Upgrade to RC.3 2017-01-20 09:01:49 -08:00
version.props Upgrade to VS 2017 2016-12-16 16:04:22 -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.