Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
Перейти к файлу
David Wengier 2916c403e6
Fire an ETW event when the background document generator queue is empty (#11233)
I was musing the other day about ETW events possibly being useful in
tracking down the Speedometer regression I was looking in to, and then
along comes https://github.com/dotnet/razor/issues/11232 which is a
great excuse to add some ETW event infrastructure to our lives.

The idea here is that RPS/Speedometer tests can wait for Razor to be
"ready" by looking for this event, rather than `Thread.Sleep`ing.
Anecdotally on my machine, when loading OrchardCore, this event fires
once a couple of minutes after solution load, so seems like a reasonable
candidate.

Once this is in @WardenGnaw will try it out and if it's not good, we'll
pop some more events somewhere.

Will need to follow up with PR(s?) to add this event source name to the
list, but I need to work out where to do that first :)
2024-11-21 13:34:22 +11:00
.config Update dependencies from https://github.com/dotnet/arcade build 20230410.3 2023-04-11 16:04:51 +00:00
.devcontainer Dev Container (#10751) 2024-08-19 15:43:03 -07:00
.github Update source-build team references (#11032) 2024-10-22 06:24:16 -07:00
.vscode Dev Container (#10751) 2024-08-19 15:43:03 -07:00
docs Only one format works for dates. (#11202) 2024-11-12 19:37:40 +00:00
eng Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241111.2 2024-11-18 13:56:59 +00:00
src Fire an ETW event when the background document generator queue is empty (#11233) 2024-11-21 13:34:22 +11:00
.editorconfig PR Feedback 2024-09-09 14:19:52 +10:00
.gitattributes Add UTF-8 encoding to .gitattributes (#8163) 2023-01-23 12:27:05 -08:00
.gitignore Recreate relevant testapps in benchmarks\testapps folder 2024-10-24 16:14:46 -07:00
.globalconfig Remove unnecessary variable assignments (#10428) 2024-05-30 18:43:30 +02:00
.vsconfig Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00: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 ExcludeFromSourceBuild->ExcludeFromSourceOnlyBuild (#10892) 2024-09-16 21:40:48 +00:00
Directory.Build.targets Disable nullable warnings on .NET Standard and Framework (#10677) 2024-07-26 15:07:57 -07:00
Directory.Packages.props Handle skipped trivia in the C# tokenizer (#11207) 2024-11-16 08:35:12 -08:00
LICENSE.txt Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
NOTICE.txt Update NOTICE.txt (#10768) 2024-08-20 13:19:01 -07:00
NuGet.config Remove source-only package (#11006) 2024-10-14 11:22:18 +02: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 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 Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
SpellingExclusions.dic Clean up ProjectConfigurationFileChangeEventArgs a bit 2024-04-19 09:35:32 -07: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 Fix APIScan authentication (#10504) 2024-06-19 19:52:25 +02: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 Merge release/dev17.13 to main (#11221) 2024-11-15 16:55:04 +01:00
azure-pipelines-richnav.yml Disable CodeQL in unofficial builds (#10004) 2024-02-29 10:53:44 +01:00
azure-pipelines.yml Publish package artifacts on PR builds (#11223) 2024-11-19 10:54:12 +01: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 20241112.13 (#11211) 2024-11-15 08:52:36 +01: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