Go to file
Pranav K f495fcb151
Avoid doing unncecessary work when generating component declaration files. (#24445)
The output of the declaration file for Razor components are unaffected by all inputs other than the input .razor file.
Consequently we can avoid regenerating these files if the output is newer than the input. This is the same heuristic we apply to Blazor WebAsssembly's
compression artifacts.

This PR combines these two improvements for a ~90ms (10%) improvement in the inner loop.

```
       17 ms  GenerateBlazorWebAssemblyBootJson          1 calls
       22 ms  Copy                                       8 calls
       39 ms  ProcessFrameworkReferences                 1 calls
       40 ms  RazorTagHelper                             1 calls
       51 ms  ResolveAssemblyReference                   1 calls
       70 ms  GetFileHash                                1 calls
       80 ms  RazorGenerate                              2 calls
      111 ms  Csc                                        2 calls

      Time Elapsed 00:00:00.95
```

```
       17 ms  GenerateBlazorWebAssemblyBootJson          1 calls
       21 ms  Copy                                       8 calls
       37 ms  ProcessFrameworkReferences                 1 calls
       51 ms  ResolveAssemblyReference                   1 calls
       70 ms  Csc                                        1 calls
       72 ms  GetFileHash                                1 calls
       79 ms  RazorGenerate                              2 calls

Time Elapsed 00:00:00.86
```

In after: Csc calls reduced to one, RazorTagHelper call removed.
2020-07-31 20:40:52 +00:00
.azure/pipelines Update signalr-daily-tests.yml (#24266) 2020-07-23 18:49:44 -07:00
.config Supress security warnings for test keys (#23704) 2020-07-06 09:27:04 -07:00
.github Add Razor Tooling Bug report issue template (#23961) 2020-07-15 20:31:44 +00:00
.vscode Quarantined flaky RazorSDK tests (#22553) 2020-06-04 22:24:23 +00:00
docs Remove debian 8 from helix runs (#24454) 2020-07-31 20:35:54 +00:00
eng Remove debian 8 from helix runs (#24454) 2020-07-31 20:35:54 +00:00
src Avoid doing unncecessary work when generating component declaration files. (#24445) 2020-07-31 20:40:52 +00:00
.editorconfig Enable FxCop Analyzers for the repo (#23709) 2020-07-08 15:26:22 -07:00
.gitattributes Update .gitattributes to include jQuery files (#20537) 2020-06-17 06:17:29 -07:00
.gitignore Adding reference to MessagePackAnalyzer to check for MsgPack001 / MsgPack002 (Banned API) (#19989) 2020-03-19 16:05:45 -07:00
.gitmodules
.vsconfig Add .vsconfig files in root and beside slns 2020-03-31 14:25:44 -07:00
AspNetCore.sln Merge branch 'merge/release/5.0-preview8-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/5.0-preview8-to-master 2020-07-27 09:31:46 -07:00
CODE-OF-CONDUCT.md Link Code of Conduct 2020-04-02 19:51:30 -07:00
CONTRIBUTING.md More updates docs (#20513) 2020-04-03 22:09:36 +00:00
Directory.Build.props Simplify ref/ assembly generation (#24136) 2020-07-21 15:21:30 -07:00
Directory.Build.targets Use Roslyn to create ref/ assemblies (#23403) 2020-07-17 13:35:17 -07:00
LICENSE.txt
NuGet.config [master] Update dependencies from dotnet/efcore (#24206) 2020-07-23 19:03:01 -07:00
README.md Update README.md (#20486) 2020-04-03 16:00:27 +00:00
SECURITY.md
THIRD-PARTY-NOTICES.txt
activate.ps1
activate.sh
build.cmd
build.ps1 Enable `/warnAsError` (#23072) 2020-06-18 15:59:34 -07:00
build.sh Enable `/warnAsError` (#23072) 2020-06-18 15:59:34 -07:00
clean.cmd
clean.ps1
clean.sh
dockerbuild.sh Add additional environment variables to dockerbuild (#23956) (#24204) 2020-07-22 09:49:22 -07:00
global.json update arcade version To fix the publishing (#24386) 2020-07-29 09:53:29 -07:00
restore.cmd
restore.sh
startvs.cmd

README.md

ASP.NET Core

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps run on .NET Core, a free, cross-platform and open-source application runtime. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

Get Started

Follow the Getting Started instructions in the ASP.NET Core docs.

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

See the Issue Management Policies document for more information on how we handle incoming issues.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

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.

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT