Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
Перейти к файлу
Dustin Campbell a7c635f6de
Remove GetService(...) calls from VS MEF importing constructors (#10168)
We observed a hang during solution load because
`VisualStudioEditorDocumentManager` retrieves the
`IVsRunningDocumentTable` service in its constructor. When this
constructor is called on a background thread, it results in an implicit
marshal to the UI thread in order to retrieve the service and QI for its
COM interface. This change fixes that issue delaying the request for
`IVsRunningDocumentTable` until it is needed and running on the UI
thread.

In addition, `VisualStudioFileChangeTrackerFactory` had a similar issue
but with `IVsAsyncFileChangeEx`. Because `IFileChangeTrackerFactory` is
imported by `VisualStudioEditorDocumentManager`, I've fixed this service
as well.
2024-03-26 12:20:56 -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 (#10147) 2024-03-25 09:53:52 +01:00
src Use IAsyncServiceProvider for simplicity 2024-03-26 11:48:56 -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 A bit more clean up and add project to Razor.Slim.slnf 2023-11-15 15:54:36 -08: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 Fixup build 2024-02-20 15:03:26 +01: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 Add support for source-build (#620) 2019-05-29 13:06:38 -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
featurflag.ps1 🤦 2024-02-27 17:19:36 -08:00
global.json Update dependencies from https://github.com/dotnet/arcade build 2024-03-22 12:57:05 +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