update-npm-dependencies
Skill39k starsChanged 6 months agoMITView on GitHub
Refresh npm dependencies or fix npm Component Governance and Dependabot alerts in dotnet/aspnetcore. Regenerate lockfiles, ingest resolved versions into dotnet-public-npm, and validate the update on main or a release branch. Also use for ingestion-only requests.
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about dotnet/aspnetcore
- Nick Chapsas““.NET 9 Is Killing MediatR, MassTransit & Wolverine!””YouTube · Mar 15, 2024 · 115k views
- dotnet“ASP.NET Community Standup - .NET 9 Roadmap for ASP.NET Core”YouTube · Mar 19, 2024 · 23k views
- Raw Coding“StackExchange.Redis & IDistributedCaching [AspNetCore, C#, Redis, Distributed Caching]”YouTube · Sep 10, 2021 · 16k views
- Claudio Bernasconi“Blazor Introduction - What is Blazor?”YouTube · Jan 19, 2020 · 15k views
- Microsoft Visual Studio“Create a .NET Core Project Template for Visual Studio”YouTube · Dec 18, 2020 · 13k views
The biggest 5 of 82 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 82
Talked about on Stack Overflow, GitHub, YouTube, Hacker News and Bluesky (82 times).
On Stack Overflow · 30
- Jan 12, 2020How to run 'dotnet dev-certs https --trust'?138 votes
- Mar 17, 2020Why do I get "The configured user limit (128) on the number of inotify instances has been reached" for MySQL queries from ASP.NET Core MVC99 votes
- Nov 12, 2020Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=5.0.0.0 in Azure Functions74 votes · 15 answers
- Mar 19, 2016Custom Authentication in ASP.Net-Core72 votes
- Feb 22, 2020How to fix 'The current thread is not associated with the renderer's synchronization context'?70 votes
25 more on Stack Overflow
- Jul 1, 2021Blazor WASM Net 6 Preview 4 Azure AD - There was an error trying to log you in: 'Cannot read property 'toLowerCase' of undefined'69 votes
- Feb 14, 2020TimeoutException: The Angular CLI process did not start listening for requests within the timeout period of 0 seconds49 votes
- Mar 3, 2021Failing to perform Cookie Authentication: SignInAsync and AuthenticateAsync not successful41 votes
- Dec 8, 2022System.DateTime on 'T MaxInteger[T](System.Collections.Generic.IEnumerable`1[T])' violates the constraint of type T for .NET 7 using AutoMapper 11.0.139 votes · 2 answers
- Aug 9, 2020Run async code during startup in a ASP.Net Core application35 votes
- Apr 20, 2022What is AddEndpointsApiExplorer in ASP.NET Core 633 votes
- Apr 13, 2020Auto reconnect Blazor Serverside31 votes
- Nov 26, 2016Update Claims values in ASP.NET One Core31 votes
- May 25, 2022Usehealthchecks vs Maphealthchecks28 votes
- Nov 14, 2021Cannot find the fallback endpoint specified by route values: { page: /_Host, area: }28 votes
- Sep 29, 2020How can I open a new window without using JS27 votes
- Sep 29, 2020Application startup code in ASP.NET Core27 votes
- Jul 28, 2023Custom claims lost after sometime in AspNetCore Identity cookie26 votes
- Dec 10, 2020Custom AuthenticationHandler is called when a method has [AllowAnonymous]26 votes
- Jan 9, 2019Why does page not update after refresh when .cshtml changes26 votes
- Mar 25, 2021Does IFormFile.OpenReadStream() need to be disposed?25 votes
- Apr 28, 2020How do I write logs from within Startup.cs?24 votes
- Jan 15, 2024How to customize ".NET 8 Identity" routes - MapIdentityApi23 votes
- Mar 8, 2020Is there any hot reload for blazor server-side?23 votes
- Dec 7, 2020Failed to start 'npm': Ensure that 'npm' is installed and can be found21 votes
- Sep 10, 2022Unable to Hot Reload on Visual Studio 202219 votes
- Feb 1, 2021asp.net mvc: why is Html.CheckBox generating an additional hidden input19 votes
- Nov 17, 2020HTTPS error in ASP.NET Core app running on IISExpress - PR_CONNECT_RESET_ERROR18 votes
- Nov 21, 2018ASP.NET Core - Scaffold Identity like MVC18 votes
- Dec 4, 2023Blazor, .Net 8 and Global Interactivity issue with Identity17 votes
On GitHub · 21
- Oct 26, 2020Epic: Blazor developers can target and deploy their applications to desktop platforms, allowing them to run natively — dotnet/maui378 reactions · 84 comments
- Oct 19, 2021Allow for a way to ensure some source generators run before / after others — dotnet/roslyn115 reactions · 103 comments
- Mar 9, 2020System.Text.Json Add a feature that allows gathering all exceptions encountered when parsing json — dotnet/runtime93 reactions · 43 comments
- Aug 3, 2018Formatting — dotnet/razor83 reactions · 54 comments
- Apr 18, 2022[tracking] Experimental WebAssembly multithreading support — dotnet/runtime65 reactions · 21 comments
16 more on GitHub
- Oct 10, 2024v8.0.0 Migration Guide — MudBlazor/MudBlazor60 reactions · 66 comments
- Jan 24, 2017Developers can use Compression in WebSocket — dotnet/runtime54 reactions · 36 comments
- Nov 17, 2023.NET 9 Unsafe Study — dotnet/runtime53 reactions · 4 comments
- Feb 19, 2020Improve performance of Activator.CreateInstance — dotnet/runtime19 reactions · 46 comments
- Mar 7, 2022[wasm]: JavaScript interop with [JSImport] and [JSExport] attributes and Roslyn — dotnet/runtime10 reactions · 41 comments
- Jun 13, 2020Add WASM Support for Uno Platform — mono/SkiaSharp9 reactions · 3 comments
- Apr 30, 2020Fix for 20791: Adds command to update the tools to the latest version… — dotnet/efcore8 reactions · 4 comments
- Nov 18, 2021[wasm][debugger] Debug on firefox — dotnet/runtime7 reactions · 17 comments
- Dec 27, 2020Add `conversation-timeline-filter` feature — refined-github/refined-github7 reactions · 20 comments
- May 20, 2026Use cached continuation in Await as well when used with ValueTaskSource — dotnet/runtime6 reactions · 3 comments
- Feb 20, 2025Reduce memory footprint of HTTP/2 connections — dotnet/runtime6 reactions · 3 comments
- Jan 11, 2024[browser] remove legacy js interop — dotnet/runtime6 reactions · 19 comments
- May 12, 2022Add support for `WithSummary` and `WithDescription` metadata — domaindrivendev/Swashbuckle.AspNetCore6 reactions · 10 comments
- Nov 8, 2021[Wasm] JS modularization — dotnet/runtime6 reactions · 56 comments
- Dec 7, 2020Improved Razor formatting performance and added a perf benchmark — dotnet/razorsays it tested it6 reactions · 2 comments
- May 28, 2020Replace TaskBuilder with Ply — giraffe-fsharp/Giraffe6 reactions · 15 comments
On YouTube · 20
- Mar 15, 2024“.NET 9 Is Killing MediatR, MassTransit & Wolverine!” — Nick Chapsas115k views · 212 comments
- Mar 19, 2024ASP.NET Community Standup - .NET 9 Roadmap for ASP.NET Core — dotnet23k views · 14 comments
- Sep 10, 2021StackExchange.Redis & IDistributedCaching [AspNetCore, C#, Redis, Distributed Caching] — Raw Coding16k views · 12 comments
- Jan 19, 2020Blazor Introduction - What is Blazor? — Claudio Bernasconi15k views · 36 comments
- Dec 18, 2020Create a .NET Core Project Template for Visual Studio — Microsoft Visual Studio13k views · 3 comments
15 more on YouTube
- Dec 10, 2020Create .NET Core Projects with the Command Line — Microsoft Visual Studio9.5k views · 7 comments
- Apr 19, 2022ASP.NET Community Standup - Controller Binding Updates in .NET 7 — dotnet6.1k views · 6 comments
- Mar 21, 2023The Future of ASP.NET Core: A Preview of .NET 8 Features — Claudio Bernasconi4.9k views · 10 comments
- Jan 8, 2025ASP.NET Community Standup - Contributing to the ASP.NET Core Repo — dotnet4.7k views · 2 comments
- Aug 17, 2020ASP NET CORE | Startup.cs file Exploration — Shahbaaz Khan1.5k views · 8 comments
- Nov 4, 2026dotnet/aspnetcore - git history visualization — visualsource448 views
- May 10, 2021ASP.NET Core 6 and Authentication Servers — Andrea Dottor316 views · 3 comments
- Oct 21, 2021dotnetcore C# - Minimal API — BrainFlush164 views
- Aug 23, 202006 - Override default password policy — Steve Ngai71 views
- Oct 30, 2026I thought SSE and SignalR were the same thing — CodedKAA66 views · 3 comments
- Jul 18, 2023Building ASP.NET Code from Source — The Dev Talk Show43 views
- Jul 24, 2021ASP.NET Core Framework Overview — EasyCodeSteps35 views
- Feb 5, 2025GitHub - dotnet/aspnetcore: ASP.NET Core is a cross-platform .NET framework for building modern c... — GitHub Daily Trend AI Podcast31 views
- Nov 4, 2026How SignalR Works: Architecture & Message Flows | Part 1 — animat-edu26 views
- Jul 31, 2026Windows Server / IIS is DEAD — Try aspnetcore for $0 — DevTrends Daily12 views · 1 comment
On Hacker News · 6
- Apr 16, 2026Critical Breaking Change in Microsoft.AspNetCore.DataProtection3 points · 1 comment
- Mar 25, 2023.NET 8 Finally Comes with Auth Solution for SPA3 points · 2 comments
- Oct 15, 2025.NET Security Feature Bypass Vulnerability2 points
- Dec 13, 2022Antiforgery should be useable without views1 point
- Feb 18, 2021Hot Reload for Asp.net Core1 point
1 more on Hacker News
- Oct 7, 2020The Future of IdentityServer1 point
On Bluesky · 5
- Sep 27, 2025📦 dotnet / aspnetcore ⭐ 37,130 (+8) 🗒 C# ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications… — @github-trending.bsky.social1 likes and repost
- Dec 9, 2024I don't know, I'm not on the ASP.NET Core or .NET teams. Could try filing an issue in the github.com/dotnet/aspne... repository. Hope that… — @kendaleiv.com1 likes and repost · 1 reply
- Aug 8, 2025Would you file an suggestion on GitHub.com/dotnet/aspnetcore ? — @mara.neptuo.com0 likes and reposts · 1 reply
- Mar 31, 2025Can you please open an issue at GitHub.com/dotnet/aspnetcore ? — @mara.neptuo.com0 likes and reposts · 1 reply
- Mar 24, 2025That surprises me. There are hot reload related issues with WebAssembly, but I'm not aware of issues with server. Would you be able to put… — @mara.neptuo.com0 likes and reposts · 1 reply
In this repository12 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- agentic-workflowsSkill
- api-reviewSkill
- aspnet-build-triageSkill
- code-reviewSkill
- create-kbeSkill
- port-components-platform-apiSkill
- pr-attention-queueSkill
- review-public-apiSkill
- review-pull-requestSkill
- support-hot-reloadSkill
- validate-blazor-featureSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use the requested dotnet/aspnetcore branch, defaulting to main.
- Very specific: line 17
Before the user acts on a dotnet/aspnetcore PR targeting release/*, remind them to temporarily elevate to administrator.
- Very specific: line 32
Use the branch's supported Node and package-manager versions and follow eng/scripts/update-npm-dependencies.ps1 where applicable.
- Very specific: line 34
If interactive vsts-npm-auth is not available, use Azure CLI authentication instead.
- Very specific: line 60
Prefer a compatible update to the package or its direct parent.
- Distinctive: line 67
Check the seven-day feed quarantine using the exact version's registry publish time.
- Distinctive: line 68
Prefer a compatible patched version already eligible for ingestion.
- Distinctive: line 84
After the temporary auth config is removed, verify clean installs against the feed without credentials or a warm cache to match CI.
- Very specific: line 96
When asked to publish, commit the intended files and push to the authorized remote.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update npm dependencies in ASP.NET Core
Use the requested dotnet/aspnetcore branch, defaulting to main. Identify the upstream
remote and an authorized push remote from git remote -v; do not assume either remote
name or fork owner. Start from a clean worktree based on the requested upstream branch.
For an existing PR, start from its current head and add a commit without amending,
force-pushing, or opening a duplicate.
Before the user acts on a dotnet/aspnetcore PR targeting release/*, remind them to
temporarily elevate to administrator.
1. Find the owning lockfiles
Run git ls-files '*package.json' '*package-lock.json' '*npm-shrinkwrap.json' '*yarn.lock'.
Inspect root workspaces and independent projects separately. For a full refresh, include
eng/skill-evals/evaluation-tools if present (it is not a root workspace), and inspect
other independent projects such as src/Mvc/build and src/ProjectTemplates/Web.ProjectTemplates.
For a targeted fix, use the alert's affected range and dependency paths to find each owning
lockfile and nested copy. Do not create a lockfile for a project that does not use it or
change unrelated pins and overrides.
2. Configure the Azure Artifacts npm feed
Use the branch's supported Node and package-manager versions and follow
eng/scripts/update-npm-dependencies.ps1 where applicable. Use an account authorized to save upstream packages in dotnet-public-npm.
If interactive vsts-npm-auth is not available, use Azure CLI authentication instead.
Sign in first (az login --use-device-code if needed). Use a private temporary config,
never change checked-in .npmrc files, and don't echo or log the token.
(
set -eu
umask 077
auth_dir=$(mktemp -d)
trap 'rm -f "$auth_dir/npmrc"; rmdir "$auth_dir"' EXIT
export NPM_CONFIG_USERCONFIG="$auth_dir/npmrc"
feed=pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/
token=$(az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 \
--query accessToken -o tsv)
password=$(printf '%s' "$token" | base64 | tr -d '\n')
printf 'registry=https://%s\n//%s:username=AzureDevOps\n//%s:_password=%s\n//%s:email=unused@example.invalid\n' \
"$feed" "$feed" "$feed" "$password" "$feed" > "$NPM_CONFIG_USERCONFIG"
unset token password
npm whoami --registry="https://$feed"
# Run the selected update and ingestion commands here before the config is removed.
)3. Update and ingest
- For a targeted security fix, keep the lockfiles and use package-manager update commands.
Prefer a compatible update to the package or its direct parent; use an override only when
needed and verify every nested copy. Never use
npm audit fix --forcefor routine updates. - For a full npm refresh, do what the repo script does in a clean worktree with no installed
dependencies: remove
node_modulesandpackage-lock.json, then runnpm install --prefer-online --include optionalin the root and each selected independent npm project. Existing lockfiles or installed packages make npm keep their resolutions. Regenerate with the owning package manager; do not hand-edit lockfiles or run blanket cleanup in a shared checkout. - Check the seven-day feed quarantine using the exact version's registry publish time. Prefer a compatible patched version already eligible for ingestion. If none is eligible, report the blocker and when the candidate becomes eligible; do not bypass the feed or claim the alert is fixed.
- Ingest concrete registry
name@versionpairs from every updated lockfile withnpm cache addagainst the authenticated feed. Use a fresh cache for ingestion so an existing cache hit doesn't mask a missing feed version. Deduplicate pairs and exclude bundled packages, workspace links, and other local dependencies. Include optional platform packages the local install skipped, including Rollup platform packages and the matching@rollup/wasm-nodewhere the repository uses Rollup. Check each result. - For ingestion-only requests, resolve the requested ranges to concrete versions and cache
those versions without editing or opening a PR. If asked to ingest from
yarn.lock, read the files on the requested branch, use each resolved version (not the requested range), ignorelink:/file:and local paths, and deduplicate across the files.
4. Validate and publish
After the temporary auth config is removed, verify clean installs against the feed without
credentials or a warm cache to match CI. Run the affected builds/tests, including any
independent project scripts. Install the skill-evaluation harness in a scratch directory
when validating skill layout so its node_modules do not affect fixture discovery.
For security updates, check the resulting dependency graph against the advisory and the
requested Component Governance and Dependabot alerts. npm audit alone is not enough.
Distinguish fixed dependencies in the proposed change from live alerts, which stay open
until merge and rescanning. Report any unresolved versions, missing upstream fix,
quarantine, or policy review. Review git diff --check and ensure only intended dependency
files changed and no credentials were staged.
When asked to publish, commit the intended files and push to the authorized remote. Open
the PR against the selected branch of dotnet/aspnetcore, or update the existing PR if
requested. Describe the affected projects, fixes, validation, and blockers. Use upstream
PR and issue links, not fork links.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

