Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
Перейти к файлу
Dustin Campbell badd53cb7b
Remove ProjectSnapshotManagerDispatcher usage in Visual Studio layer (#10211)
Long ago, `ProjectSnapshotManagerDispatcher` was introduced as a
replacement for a lot of code in Razor that synchronized by running on
the UI thread. This abstraction was needed for the language server,
where there isn't a UI thread. However, there's a lot of code that was
refactored to use `ProjectSnapshotManagerDispatcher` that doesn't really
need it. After all the dispatcher is intended for scheduling updates to
the project snapshot manager. So, using it for services that don't
depend on the project snapshot manager is overuse.

This change removes usage of `ProjectSnapshotManagerDispatcher` in most
of the Visual Studio layer. It's still used by the
`ProjectWorkspaceStateGenerator`, but that requires a larger
refactoring. Most services that were using
`ProjectSnapshotManagerDispatcher` did so to control updates to shared
data structures, and made these free-threaded.
2024-04-04 12:29:25 -07:00
.config Update dependencies from https://github.com/dotnet/arcade build 20230410.3 2023-04-11 16:04:51 +00:00
.github Restore automation task to remove the untriaged label 2024-03-06 23:18:13 -08:00
.vscode Delete old vs code extension bits 2023-11-04 18:03:48 +11:00
docs Don't build the x86 RID of VS Code bits 2024-03-19 10:09:17 +11:00
eng [main] Update dependencies from dotnet/arcade (#10156) 2024-04-02 12:14:39 +02:00
src Remove ProjectSnapshotManagerDispatcher from Live Share 2024-04-03 12:31:18 -07:00
.editorconfig Enable Roslyn diagnostics for MEF 2024-01-23 15:10:59 -08:00
.gitattributes Add UTF-8 encoding to .gitattributes (#8163) 2023-01-23 12:27:05 -08:00
.gitignore Add launch profile for debugging the OOP service 2024-02-20 11:07:29 +11:00
.vsconfig Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
BuildAnalyzers.sln Use project references for analyzers 2023-09-19 12:50:51 -07:00
CODE-OF-CONDUCT.md Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
CONTRIBUTING.md Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
Directory.Build.props Stop building no longer shipping net7 build (#10203) 2024-04-03 17:41:24 +00:00
Directory.Build.targets Remove yarn + npm + Python from Razor (#9471) 2023-10-25 23:16:16 +00:00
LICENSE.txt Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
NOTICE.txt Remove VS Mac specific code 2023-09-13 09:37:40 +10:00
NuGet.config Upgrade Roslyn.Diagnostics.Analyzers versions and fix new warnings. 2024-03-06 11:34:42 -08:00
README.md Remove VS Mac specific code 2023-09-13 09:37:40 +10:00
README_compiler.md Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
Razor.Slim.slnf In VMR builds only build the target RID and don't rebuild (#10017) 2024-03-05 16:13:33 -08:00
Razor.sln Delete MS.ANC.Razor.LanguageServer.Protocol project 2024-04-03 09:07:36 -07:00
SECURITY.md Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
SpellingExclusions.dic There can be only one... TestProjectSnapshotManager 2024-03-07 16:50:31 -08:00
activate.ps1 Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
activate.sh Added executable flag to activate.sh (#1938) 2020-05-27 17:10:47 -07:00
azure-pipelines-compliance.yml Disable CodeQL in unofficial builds (#10004) 2024-02-29 10:53:44 +01:00
azure-pipelines-conditional-integration.yml Disable CodeQL in unofficial builds (#10004) 2024-02-29 10:53:44 +01:00
azure-pipelines-integration-dartlab.yml Disable CodeQL in unofficial builds (#10004) 2024-02-29 10:53:44 +01:00
azure-pipelines-official.yml Update EOL versions 2024-03-20 16:04:05 -07:00
azure-pipelines-richnav.yml Disable CodeQL in unofficial builds (#10004) 2024-02-29 10:53:44 +01:00
azure-pipelines.yml Update EOL versions 2024-03-20 16:04:05 -07:00
build.cmd Clean up from previous PR (#8863) 2023-06-23 14:21:30 -07:00
build.ps1 Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
build.sh Workaround issue with .editorconfigs when NUGET_PACKAGES does not have a 2024-03-22 11:17:35 -07:00
clean.cmd Remove BOM from batch files 2023-01-10 10:45:26 -08:00
clean.ps1 Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
clean.sh Added executable bit to clean shell script (#1841) 2020-04-27 17:13:25 -07:00
global.json Update dependencies from https://github.com/dotnet/arcade build 20240329.4 2024-03-30 13:03:34 +00:00
restore.cmd Remove BOM from batch files 2023-01-10 10:45:26 -08:00
restore.sh Add dedicated scripts for restore 2018-12-14 12:50:08 -08:00
startvs.cmd Update StartVS script 2023-01-10 09:19:06 -08:00
startvs.ps1 Update StartVS script 2023-01-10 09:19:06 -08:00

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