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
.travis.yml
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
Razor.sln Upgrade to RC.3 2017-01-20 09:01:49 -08:00
appveyor.yml
build.cmd
build.ps1
build.sh
makefile.shade Upgrade to RC.3 2017-01-20 09:01:49 -08:00
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.