Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
Перейти к файлу
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 Updating to use Dotnet-Cli build 2016-01-12 14:53:10 -08:00
.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 Update Home master -> Home dev 2015-05-12 11:49:45 -07:00
LICENSE.txt Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
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 ASP.NET 5 -> ASP.NET Core 2016-03-14 21:37:12 -07:00
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 Return the error code from build.cmd 2016-02-28 10:12:14 -08:00
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.