Go to file
N. Taylor Mullen e0e1c39cce Added a LiveShareWorkspaceProvider to enable location of the remote workspace in live share scenarios.
- MEF is the primary means of resolving the new live share provider therefore we allow it to not be registered.
- The new contract is in the Editor.Razor binary so the LiveShare bits don't have to take the dependency on the windows binary in Razor (has a lot of baggage).
- This is specific to live share but providing a generic way to resolve workspaces didn't seem reasonable given the varying expectations in VS4Mac. If we need to make a more generic solution in the future we'll revisit this; for now this is a straight forward inclusion of live share functionality.
- Added tests to validate the new behavior.
- This unblocks the live share scenario of resolving the remote workspace. We can't rely on the projection buffers to provide the correct workspace because that workspace is wired up too late in the process of opening a Razor file.

#2335
2018-05-08 16:54:43 -07:00
benchmarks/Microsoft.AspNetCore.Razor.Performance Stop expressly testing on netcoreapp2.0 2018-03-20 09:37:26 -07:00
build Fixup Razor Sdk tests to work on netcoreapp2.2 2018-05-08 15:22:54 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Added a LiveShareWorkspaceProvider to enable location of the remote workspace in live share scenarios. 2018-05-08 16:54:43 -07:00
test Added a LiveShareWorkspaceProvider to enable location of the remote workspace in live share scenarios. 2018-05-08 16:54:43 -07:00
tooling Add more UI for document generation 2018-05-03 12:27:50 -07:00
.editorconfig
.gitattributes
.gitignore Add support for relative paths 2018-02-05 14:19:52 -08:00
.travis.yml Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
CONTRIBUTING.md
Directory.Build.props Include portable symbols in nupkgs (#2009) 2018-02-02 11:14:25 -08:00
Directory.Build.targets Upgrade to netcoreapp22 2018-05-08 15:22:54 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json React to aspnet/BuildTools#616 - add additional exclusions for Microsoft.AspNetCore.Razor.Design 2018-03-21 09:59:24 -07:00
README.md Remove AppVeyor status tag. 2018-03-06 10:58:22 -08:00
Razor.sln PreserveCompilationContext needs to be set only if a project has any Razor files 2018-02-28 11:45:20 -08:00
build.cmd
build.sh
korebuild-lock.txt Fixup Razor Sdk tests to work on netcoreapp2.2 2018-05-08 15:22:54 -07:00
korebuild.json Branching for 2.1.0-rc1 2018-04-16 17:01:21 -07:00
run.cmd
run.ps1 Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
run.sh Enable dotnet-build bot 2018-03-15 17:40:54 -07:00
version.props Merge branch 'release/2.1' into dev 2018-04-30 15:43:06 -07:00

README.md

Razor

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. See developer documentation for more details.