Go to file
Ryan Nowak 6e6a24cbb4 Add a background listener for notifications
This change adds an actual background worker for listening to project
change notifications and starts sending updates when the project's razor
dependencies change.

I had to do a litle surgery to get things working. There were plenty of
small bug fixes.

Additionally I got rid of the WeakReferences for tracking listeners. I
was seeing TextBuffers hanging around in VS longer than I expected and
the WeakReferences weren't getting cleaned up. I think it's better that
we just track the lifetime.
2017-09-18 16:56:53 -07:00
build Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add a background listener for notifications 2017-09-18 16:56:53 -07:00
test Add a background listener for notifications 2017-09-18 16:56:53 -07:00
tooling/Microsoft.VisualStudio.RazorExtension Add a background listener for notifications 2017-09-18 16:56:53 -07:00
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Bump Roslyn to a 2.6.0 build 2017-08-30 15:30:57 -07:00
Directory.Build.targets Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
LICENSE.txt
NuGet.config Bump Roslyn to a 2.6.0 build 2017-08-30 15:30:57 -07:00
NuGetPackageVerifier.json
README.md Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
Razor.Slim.sln Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
Razor.sln Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
build.cmd
build.ps1
build.sh
version.xml

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.