BlazorWebFormsComponents: Instructions file for GitHub Copilot

.github/copilot-instructions.md

BlazorWebFormsComponents copilot-instructions.md is an instructions file for GitHub Copilot from FritzAndFriends/BlazorWebFormsComponents. It costs 6,332 tokens per session, scanned A, original, MIT.

Project instructions for a Blazor component library that recreates ASP.NET Web Forms controls. Blazor is Microsoft's web UI framework, while Web Forms is an older .NET web framework; the library helps move applications between them with little markup rewriting.

In plain words
What is it for?
Use them when creating or updating Blazor replacements for Web Forms controls, including their names, attributes, properties, and generated HTML.
Why use it?
They define compatibility requirements so existing markup, styles, and JavaScript continue to work after migration.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions AGENTS.md.

This is FritzAndFriends/BlazorWebFormsComponents's own configuration. It tells GitHub Copilot how to work on BlazorWebFormsComponents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything BlazorWebFormsComponents configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is docker build -t mkdocs -f ./docs/Dockerfile ./.

Reuse

Borrowing it

Nothing to install: this file belongs to FritzAndFriends/BlazorWebFormsComponents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FritzAndFriends/BlazorWebFormsComponents/dev/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/FritzAndFriends/BlazorWebFormsComponents

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for BlazorWebFormsComponents copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fritzandfriends/blazorwebformscomponents/copilot-instructions/github.svg)](https://agentmods.dev/instructions/fritzandfriends/blazorwebformscomponents/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/fritzandfriends/blazorwebformscomponents/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/fritzandfriends/blazorwebformscomponents/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for BlazorWebFormsComponents copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fritzandfriends/blazorwebformscomponents/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/fritzandfriends/blazorwebformscomponents/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,332 This file is loaded in full into every session.
When invoked 6,332 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.06332 $0.06332
Opus 5.5 $0.02533 $0.02533
Sonnet 5.5 $0.01266 $0.01266
Haiku 4.5 $0.00633 $0.00633

Measured 2mo ago against content hash bbd30f8bb019, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

BlazorWebFormsComponents copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 606 lines

How it starts

The opening of the file, as written. The whole thing — 606 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Instructions for BlazorWebFormsComponents

Project Overview

BlazorWebFormsComponents is a library that provides Blazor components emulating ASP.NET Web Forms controls, enabling migration from Web Forms to Blazor with minimal markup changes. The project helps developers reuse their existing Web Forms markup in Blazor applications.

Core Requirements

ASP.NET Web Forms components that ship with .NET Framework 4.8 should be recreated as Blazor Components with:

  1. Same Name - The Blazor component must have the identical name as the original Web Forms control (e.g., <asp:Button> becomes <Button>, <asp:GridView> becomes <GridView>)

  2. Same Attributes and Properties - Support the same attribute names and property signatures as the original control wherever possible. This enables developers to migrate markup with minimal changes (removing only asp: prefix and runat="server")

  3. Identical HTML Output - The rendered HTML must match what the original Web Forms control produces. This ensures:

    • Existing CSS styles continue to work
    • JavaScript that targets the HTML structure remains functional
    • Visual appearance is preserved after migration

What This Means in Practice

<!-- Original Web Forms -->
<asp:Button ID="btnSubmit" Text="Submit" CssClass="btn-primary" OnClick="Submit_Click" runat="server" />

<!-- Blazor Equivalent (should render identical HTML) -->
<Button Text="Submit" CssClass="btn-primary" OnClick="Submit_Click" />

Both should render:

<button type="submit" class="btn-primary">Submit</button>

Reference Documentation

Technology Stack

  • .NET Version: .NET 10.0 (see global.json for SDK version)
  • Framework: Blazor (migration target is .NET 10 static SSR; samples also include Server-Side and WebAssembly)
  • Project Type: Razor Class Library (Microsoft.NET.Sdk.Razor)
  • Testing Framework: xUnit with bUnit for Blazor component testing
  • Assertion Library: Shouldly
  • Mocking: Moq
  • Build/Versioning: Nerdbank.GitVersioning
  • CSS Utilities: BlazorComponentUtilities

Read the full file on GitHub · 606 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 606 lines · 6,332 tokens per session scan A bbd30f8bb019

Subscribe to this mod's changes

BlazorWebFormsComponents copilot-instructions.md is an instructions file published in the GitHub repository FritzAndFriends/BlazorWebFormsComponents (455 stars, last pushed 4mo ago), licensed MIT. It adds 6,332 tokens to every session, about $0.0253 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

BlazorWebFormsComponents copilot-instructions.md compared with instructions from other repositories

BlazorWebFormsComponents copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
BlazorWebFormsComponents copilot-instructions.mdFritzAndFriends/BlazorWebFormsComponentsInstructions file4554mo agoMITA6,332GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode