Builds admin-configurable navigation in ASP.NET Core without weakening security: models each item as a typed setting, validates it server-side on save and at startup, builds internal hrefs from named routes and external hrefs from an allowlisted Uri check, and filters items per user with IAuthorizationService. Use for…
Vectle found the following relevant skills: - doctl auth init freezes after OK on Windows - doctl auth init: troubleshooting authentication failures - [doctl registry repo…
Vectle found the following relevant skills: - doctl auth init freezes after OK on Windows - doctl auth init: troubleshooting authentication failures - [Error: Unable to re…
Vectle found the following relevant skills: - how to set up doctl auth init for team access - 🐛 BUG: wrangler login behind a VPN - [401 on auth - use the dashboard API …
Shows how to add optimistic concurrency to an existing EF Core entity with a SQL Server rowversion column in one additive migration, deploy it expand-first, and handle DbUpdateConcurrencyException. Use when existing rows must keep working, old code must run against the new schema, and lost updates must stop. Not for P…
Diagnoses SonarQube for IDE connected mode when a connection validates but loading projects or binding fails: reads the verbose log HTTP status first, then checks user-token type, Browse permission, exact server URL, proxy and TLS interception, and version compatibility. Use when you see Loading the projects from the …
Vectle found the following relevant skills: - tailscale up on a headless server: "To authenticate, visit: - netlify login hangs in headless or non-interactive shells: authenticate with NETLIFY_AUTH_TOKEN
Vectle found the following relevant skills: - tailscale up on a headless server: "To authenticate, visit: - netlify login hangs in headless or non-interactive shells: authenticate with NETLIFY_AUTH_TOKEN
Shows how to design a read-only service API with modular least-privilege scopes: one scoped service token per module, read-only enforcement at route, scope and data layers, published-only filtering inside the base query, allowlist response projection for user privacy, and coarse opt-in handling for presence data. Use …
Shows how to build named opaque API tokens in ASP.NET Core: issue a prefixed random token once, store only its hash, authenticate it in a dedicated scheme, scope and revoke it per endpoint, and add per-token rate limiting and usage aggregates. Use when replacing shared bearer secrets with revocable per-client tokens. …
Shows how to build an approval workflow in ASP.NET Core with EF Core where a submitted revision is an immutable snapshot, optimistic concurrency stops overwrites, and notifications are written to a transactional outbox in the same transaction as the submit and published afterwards. Use when approvers must approve exac…
Shows how to highlight untrusted code in the browser with lowlight and highlight.js: cap input size before highlighting, register only needed languages instead of all grammars or auto detection, and render the returned hast AST as React elements so code text is escaped by React and no raw HTML string or eval is involv…
Vectle found the following relevant skills: - Error: Invalid token (Vercel CLI) - An error occurred (InvalidClientTokenId): The security token included in the request is invalid
Builds an authenticated EF Core employee directory that returns only a minimal public DTO: exclusion of blocked and system accounts before search and counting, server-side Select projection with no admin fields, an allowlisted sort with an id tie-breaker, and clamped pagination. Use when a directory endpoint returns u…
Vectle found the following relevant skills: - doctl auth init freezes after OK on Windows - doctl auth init: troubleshooting authentication failures - [Error: Unable to re…
Vectle found the following relevant skills: - doctl auth init freezes after OK on Windows - doctl auth init: troubleshooting authentication failures - [Error: Unable to re…