Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
Перейти к файлу
David Wengier 95f862d12e
Update ProjectWorkspaceState and HostProject at the same time (#11191)
Preparation for ongoing work to hook up the Roslyn tokenizer and
https://github.com/dotnet/razor/issues/11182 I suppose.

There were three places that `UpdateProjectWorkspaceState` was called:

1. In `RazorProjectService`, just before calling
`UpdateProjectConfiguration`
2. In `ProjectWorkspaceStateGenerator`, where we will need to add a call
to `UpdateProjectConfiguration` in future, to wire up the tokenizer
3. In our LiveShare bits, in response to events from the above.

Previous attempts to plumb through more things for `RazorConfiguration`
resulted in RPS failures, that appeared to be simply more compilations
of closed files. This makes sense because we were adding another update,
which would have triggered another set of `ProjectChanged` events. I
thought it would make more sense to combine these two updates together,
so no matter which part of the project was being updated, there could be
a single `ProjectChanged` notification. This is that.
2024-11-12 13:43:48 +11:00
.config
.devcontainer
.github Update source-build team references (#11032) 2024-10-22 06:24:16 -07:00
.vscode
docs fix codefix that wasn't closed 2024-11-08 15:56:39 -05:00
eng Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241108.1 2024-11-11 13:42:23 +00:00
src Update ProjectWorkspaceState and HostProject at the same time (#11191) 2024-11-12 13:43:48 +11:00
.editorconfig
.gitattributes
.gitignore Recreate relevant testapps in benchmarks\testapps folder 2024-10-24 16:14:46 -07:00
.globalconfig
.vsconfig
CODE-OF-CONDUCT.md
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
Directory.Packages.props Update to correct version to match VS 2024-11-07 15:02:32 -08:00
LICENSE.txt
NOTICE.txt
NuGet.config Remove source-only package (#11006) 2024-10-14 11:22:18 +02:00
README.md
README_compiler.md
Razor.Slim.slnf Remove tooling MvcShims 2024-10-24 15:14:14 -07:00
Razor.sln Remove tooling MvcShims 2024-10-24 15:14:14 -07:00
SECURITY.md
SpellingExclusions.dic
activate.ps1
activate.sh
azure-pipelines-compliance.yml
azure-pipelines-conditional-integration.yml
azure-pipelines-integration-dartlab.yml
azure-pipelines-official.yml Update to macOS-14 (#11153) 2024-11-05 11:13:48 +01:00
azure-pipelines-richnav.yml
azure-pipelines.yml Update to macOS-14 (#11153) 2024-11-05 11:13:48 +01:00
build.cmd
build.ps1
build.sh
clean.cmd
clean.ps1
clean.sh
global.json Update dependencies from https://github.com/dotnet/arcade build 20241016.2 2024-10-16 21:46:08 +00:00
restore.cmd
restore.sh
startvs.cmd
startvs.ps1

README.md

ASP.NET Core Razor

This repository is the open-source implementation for the Razor experience in ASP.NET Core. It contains the compiler and IDE tools for working on Razor ASP.NET Core apps using Visual Studio and Visual Studio Code.

Contributing

All work on Razor happens directly on GitHub. Both core team members and external contributors send pull requests which go through the same review process. Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull requests.

Getting Started with Razor

If you are unfamiliar with ASP.NET Core or Razor, follow the links below to learn more:

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Status

Build Status

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT.md