Go to file
N. Taylor Mullen ab62ea9321 React to API feedback on VisualStudioRazorParser.
- Changed `ReparseAsync` to be `QueueReparse`. It's now async void to not give the misconception that it blocks until a reparse has been completed.
- Removed `IContextChangedListener`. People can get the same effect of the interface by retrieving the document tracker interface via the `RazorEditorFactoryService` and then when its context changes getting the parser.
- Exposed `TryGetParser` to aid in replacing `IContextChangedListener`.
- Updated tests to not rely on `IContextChangedListener`.
2017-10-25 10:28:01 -07:00
build Add an opt-out for building the VSIX 2017-10-20 16:33:38 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src React to API feedback on VisualStudioRazorParser. 2017-10-25 10:28:01 -07:00
test React to API feedback on VisualStudioRazorParser. 2017-10-25 10:28:01 -07:00
tooling Manage VisualStudioRazorParser lifetime. 2017-10-23 14:39:15 -07:00
.appveyor.yml Update bootstrappers 2017-10-09 12:45:14 -07:00
.editorconfig
.gitattributes
.gitignore Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:34:22 -07:00
.travis.yml Enable Travis and AppVeyor in "rel" branches (#1539) 2017-07-11 15:11:12 -07:00
CONTRIBUTING.md
Directory.Build.props Add RepositoryRoot 2017-10-18 09:37:36 -07:00
Directory.Build.targets Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
LICENSE.txt Update LICENSE.txt text 2017-07-03 14:07:34 -07:00
NuGet.config Bump Roslyn to a 2.6.0 build 2017-08-30 15:30:57 -07:00
NuGetPackageVerifier.json Update dependencies to match Visual Studio 15.3 (#1534) 2017-07-11 16:34:32 -07:00
README.md Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
Razor.Slim.sln Increase Minimum Version of Visual Studio to 15.3.0 2017-09-21 17:57:36 -07:00
Razor.sln Revert "Revert MonoAddin build steps." 2017-10-02 11:56:45 -07:00
build.cmd Update bootstrappers 2017-10-09 12:45:14 -07:00
build.sh Update bootstrappers 2017-10-09 12:45:14 -07:00
run.cmd Update bootstrappers 2017-10-09 12:45:14 -07:00
run.ps1 Update bootstrappers 2017-10-09 12:45:14 -07:00
run.sh Update bootstrappers 2017-10-09 12:45:14 -07:00
version.xml Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:34:22 -07: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.

Before opening this project in Visual Studio or VS Code, execute build.cmd /t:Restore (Windows) or ./build.sh /t:Restore (Linux/macOS). This will execute only the part of the build script that downloads and initializes a few required build tools and packages.

See developer documentation for more details.