[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-create-datadriven-aspnetcore":3,"mdc-fvybh9-key":34,"related-repo-dotnet-create-datadriven-aspnetcore":1531,"related-org-dotnet-create-datadriven-aspnetcore":1639},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":29,"sourceUrl":32,"mdContent":33},"create-datadriven-aspnetcore","scaffold ASP.NET Core applications","Generate or scaffold ASP.NET Core code — Razor Pages, Blazor components, MVC controllers, views, and Minimal API endpoints — without using ASP.NET Core CLI scaffolding\u002Fcode-generation tools. Use when (1) adding CRUD pages, views, or API endpoints backed by Entity Framework (EF Core) and a database, (2) generating code to create, read, update, and delete data using a DbContext, (3) scaffolding UI components that match the project's existing CSS framework and coding patterns, or (4) creating data-driven forms, tables, and navigation for a model class. Do not use for non-ASP.NET projects or when CLI-based scaffolding is preferred.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19],{"name":13,"slug":14,"type":15},"ASP.NET Core","aspnet-core","tag",{"name":17,"slug":18,"type":15},".NET","net",{"name":20,"slug":21,"type":15},"Web Development","web-development",4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-08-01T06:06:00.975068",null,332,[28],"agent-skills",{"repoUrl":23,"stars":22,"forks":26,"topics":30,"description":31},[28],"Repository for skills to assist AI coding agents with .NET and C#","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-data\u002Fskills\u002Fcreate-datadriven-aspnetcore","---\nname: create-datadriven-aspnetcore\ndescription: Generate or scaffold ASP.NET Core code — Razor Pages, Blazor components, MVC controllers, views, and Minimal API endpoints — without using ASP.NET Core CLI scaffolding\u002Fcode-generation tools. Use when (1) adding CRUD pages, views, or API endpoints backed by Entity Framework (EF Core) and a database, (2) generating code to create, read, update, and delete data using a DbContext, (3) scaffolding UI components that match the project's existing CSS framework and coding patterns, or (4) creating data-driven forms, tables, and navigation for a model class. Do not use for non-ASP.NET projects or when CLI-based scaffolding is preferred.\n---\n\n# Generate or Scaffold ASP.NET Core Code\n\nGenerate ASP.NET Core scaffolded code — controllers, views, Razor Pages, Blazor components, Minimal API endpoints. The generated code matches the project's existing CSS framework, layout conventions, and coding patterns. No CLI-based scaffolding\u002Fcode-generation tools are used; standard `dotnet` CLI commands for build, restore, and migrations are still expected.\n\n## When to Use\n\n- Adding CRUD pages, views, or components for a model in an ASP.NET Core project\n- Scaffolding API controllers or Minimal API endpoints with Entity Framework Core\n- Generating Razor Pages, MVC views, or Blazor components backed by a DbContext\n\n## When Not to Use\n\n- The project is not an ASP.NET Core project\n- You need to scaffold non-web artifacts (class libraries, console apps, etc.)\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Scaffolding request | Yes | Natural-language description of what to scaffold (see format below) |\n| Project file path | Yes | Full path to the target `.csproj` file |\n| Solution root path | Recommended | Path to the solution root for multi-project solutions |\n\n### Scaffolding Request Format\n\nThe scaffolding request should be a natural-language description of what to scaffold. The request must include the target project path and enough detail for the agent to generate the correct code. Examples:\n\n**Razor Pages with EF:**\n```\nScaffold Razor Pages with CRUD for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nCreate a new DbContext `\u003CDbContextName>` using \u003Cdatabase-provider>.\nAlso scaffold CRUD for any entity that `\u003CModelName>` depends on via required foreign keys, so parent entities can be created first.\n```\n\n**Blazor CRUD components:**\n```\nScaffold Blazor CRUD components for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nCreate a new DbContext `\u003CDbContextName>` using \u003Cdatabase-provider>.\n```\n\n**Minimal API endpoints:**\n```\nScaffold Minimal API endpoints for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nName the endpoints class `\u003CEndpointsClassName>`.\nCreate a new DbContext `\u003CDbContextName>` using \u003Cdatabase-provider>.\nEnable OpenAPI support.\n```\n\n**MVC Controller with views:**\n```\nScaffold an MVC controller with views and Entity Framework for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nName the controller `\u003CControllerName>`.\nUse existing DbContext `\u003CDbContextName>`.\nGenerate views.\n```\n\n**Empty items (no EF):**\n```\nScaffold an empty Razor Page named `\u003CPageName>` in project `\u003Cpath-to-csproj>`.\n```\n\n## Workflow\n\n### Step 1: Understand the Scaffolding Request\n\nParse the scaffolding request to identify:\n- **Scaffolder type**: Razor Pages, Blazor components, MVC controller, Minimal API, empty page\u002Fview\u002Fcomponent\n- **Model class** and its namespace\n- **DbContext**: new or existing, database provider (SQLite, SQL Server, etc.)\n- **Named items**: controller name, endpoints class name, page name, view name, area name\n- **Options**: OpenAPI, async actions, partial view, custom layout\n- **FK scope**: whether to also scaffold CRUD for parent entities referenced by required foreign keys\n\n### Execution Checklists\n\nComplete the applicable checklist in order. Do not stop after creating only the requested child resource when a required foreign key makes a parent resource necessary.\n\n**All EF scaffolders**\n\n1. Inspect the project file, `Program.cs`, target model, validation attributes, navigation properties, and foreign keys before editing.\n2. Reuse the requested existing `DbContext`; otherwise create the requested context. Add only the required provider package and register it with `AddDbContext` using the requested provider and connection string. You will need to add Microsoft.EntityFrameworkCore.Design (PrivateAssets=\"all\") when migrations are needed and it's missing.\n3. Generate complete CRUD for the requested entity and every required parent entity: list, details, create, edit, and delete.\n4. Use the EF migration lifecycle: create a migration and apply it. Never call `EnsureCreated` or seed the database in `Program.cs`.\n5. Restore, build, and test the generated project. Fix errors before reporting completion.\n\n**MVC, Razor Pages, and Blazor**\n\n1. Inspect the existing layout, CSS, and representative UI before generating markup.\n2. Generate the complete child and required-parent UI flows, including a navigation path to each resource so users can create a parent before creating a child.\n3. Match the existing UI framework and conventions; preserve existing render-mode configuration for Blazor.\n\n**Minimal APIs**\n\n1. Use a route group for each resource and map `GET` (list and by ID), `POST`, `PUT`, and `DELETE` endpoints for both child and required-parent resources.\n2. Add OpenAPI metadata to every endpoint: unique name, tags, description, success\u002Ferror response metadata, and `WithOpenApi` when OpenAPI is enabled.\n3. Create an executable `.http` file with every CRUD request. Create parent records first, capture or clearly reuse their returned IDs in child requests, and run the requests in dependency order.\n\n### Step 2: Discover UI Style (non-API scaffolders only)\n\nSkip this step for API controllers and Minimal API endpoints.\n\n1. Inspect the project's layout file (`_Layout.cshtml`, `MainLayout.razor`, or equivalent)\n2. Inspect the main CSS file (`site.css`, `app.css`, Tailwind config, etc.)\n3. Inspect 1–2 existing pages, views, or components in the project\n\nAll generated files MUST match the existing UI framework, CSS classes, and conventions. If Bootstrap is used, generate Bootstrap markup. If Tailwind is used, generate Tailwind markup.\n\n### Step 3: Apply Blazor-Specific Rules (Blazor scaffolders only)\n\nSkip this step for non-Blazor scaffolders.\n\n- `[SupplyParameterFromForm]` properties MUST use `= new()` (not `null!`) — prevents `EditForm` crash on initial GET\n- `Program.cs` must chain `.AddInteractiveServerComponents()` on `AddRazorComponents()` and `.AddInteractiveServerRenderMode()` on `MapRazorComponents\u003CApp>()`. only add interactive server services\u002Frender mode when the generated components actually use @rendermode InteractiveServer (or the project already does).\n- Do not replace existing chained render mode calls (e.g., `.AddInteractiveWebAssemblyRenderMode()`)\n\n### Step 4: Generate Code\n\nGenerate all code files manually. Follow these constraints:\n\n- **DO NOT** use any scaffolding CLI tools\n- **DO NOT** add packages beyond those required for the scaffolded functionality (e.g., do not add `RuntimeCompilation`, or other convenience packages)\n- Match the coding style of existing files in the project (naming conventions, indentation, namespace patterns)\n\n#### Enrich API Endpoints with OpenAPI Metadata (API scaffolders only)\n\nWhen generating Minimal API or MVC API endpoints with OpenAPI support enabled, add rich metadata to every endpoint so the OpenAPI document is descriptive and useful:\n\n- `.WithName(\"GetTodoItems\")` — unique operation ID for each endpoint\n- `.WithTags(\"TodoItems\")` — group endpoints by resource\n- `.WithDescription(\"Returns all todo items\")` — human-readable summary\n- `.Produces\u003CList\u003CTodoItem>>(StatusCodes.Status200OK)` — document success response type\n- `.Produces(StatusCodes.Status404NotFound)` — document error responses\n- `.ProducesValidationProblem()` — for endpoints that validate input\n- `.WithOpenApi()` — opt the endpoint into OpenAPI generation (if not already globally enabled)\n\nExample for a Minimal API GET endpoint:\n```csharp\ngroup.MapGet(\"\u002F\", async (TodoDbContext db) =>\n        await db.TodoItems.ToListAsync())\n    .WithName(\"GetAllTodoItems\")\n    .WithTags(\"TodoItems\")\n    .WithDescription(\"Returns all todo items\")\n    .Produces\u003CList\u003CTodoItem>>(StatusCodes.Status200OK);\n```\n\n### Step 5: Set Up Entity Framework (if applicable)\n\nSkip this step if the scaffolding request does not involve Entity Framework.\n\n- **DO NOT** seed the database in `Program.cs` — always use migrations\n- For `dotnet ef`: prefer `dotnet tool restore` from a local tool manifest. Only install globally if no manifest exists\n- Inspect the model for navigation properties and foreign keys. Ensure CRUD endpoints\u002Fpages exist for referenced entities\n- For API scaffolders: the `.http` file MUST create parent entities before child entities. Use FK values consistent with creation order\n\n### Step 6: Generate .http File (API scaffolders only)\n\nSkip this step for non-API scaffolders.\n\n1. Create a `.http` file named `{ModelName}.http` in the project directory. If a file with that name exists, append a numeric suffix (`Product2.http`, `Product3.http`) until unique\n2. Include sample requests for every CRUD endpoint scaffolded, including endpoints for parent\u002Fdependent entities\n3. Every request must target the correct URL path matching an actual mapped endpoint\n4. Request labels must accurately describe the action (e.g., \"Create a category\" must POST to the categories endpoint)\n5. Order requests by dependency: create parent entities before child entities\n6. When possible, capture IDs from parent creation responses using your HTTP client's variable\u002Ftemplating features and reuse them as foreign key values in child-entity POST payloads\n7. If your client cannot capture response values, add comments indicating which FK IDs must be updated after running the parent creation requests; do not leave unrealistic placeholder or assumed FK values that do not correspond to actual parent records when executing the requests\n\n### Step 7: Verify\n\n1. Run `dotnet restore && dotnet build` from the project directory\n2. If Entity Framework is used and this is the first verification:\n   - Run `dotnet ef migrations add InitialCreate`\n   - Run `dotnet ef database update`\n   - You will need to change \"InitialCreate\" to something else if you run this more than once, as EF Core requires unique migration names.\n3. If API scaffolder:\n   - Inspect `Properties\u002FlaunchSettings.json` — if a profile named `https` exists, use `dotnet run --launch-profile https`\n   - Execute EVERY `.http` request one at a time in dependency order\n   - Report method, URL, and status code for each request\n   - Stop and fix if any request returns non-2xx\n4. Fix all errors until a clean build succeeds\n\n## Validation\n\n- [ ] All generated files match the project's existing CSS framework and conventions\n- [ ] `dotnet build` succeeds with zero errors\n- [ ] EF migrations apply cleanly (if applicable)\n- [ ] All `.http` requests return 2xx status codes (if API scaffolder)\n- [ ] No forbidden packages were added (`RuntimeCompilation`, etc.)\n- [ ] No CLI scaffolding tools were invoked\n- [ ] Blazor `[SupplyParameterFromForm]` properties use `= new()` (if Blazor scaffolder)\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Generated UI doesn't match project's CSS framework | Always inspect layout and CSS files before generating code (Step 2) |\n| Blazor `EditForm` crashes on initial GET | Use `= new()` not `null!` for `[SupplyParameterFromForm]` properties |\n| EF migration fails due to missing parent entity CRUD | Scaffold CRUD for FK-dependent entities when request mentions foreign keys |\n| `.http` file has wrong FK values | Order requests by dependency; use values consistent with creation order |\n| `dotnet ef` not found | Try `dotnet tool restore` first; only install globally as fallback |\n| Added unnecessary packages | Only add packages explicitly required for the scaffolded functionality |\n| Generated code uses different naming conventions | Inspect existing project files to match naming patterns before generating |\n\n## References\n\n- [Entity Framework Core DbContext Lifetime, Configuration, and Initialization](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fdbcontext-configuration\u002F)\n- [OpenAPI overview in ASP.NET Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fopenapi\u002Foverview?view=aspnetcore-10.0) — .NET 10 specific; similar pages exist for other versions\n",{"data":35,"body":36},{"name":4,"description":6},{"type":37,"children":38},"root",[39,48,62,69,89,95,108,114,208,215,220,229,241,249,258,266,275,283,292,300,309,315,321,326,389,395,400,408,475,483,501,509,575,581,586,634,639,645,650,742,748,753,788,795,800,880,885,950,956,961,1018,1024,1029,1097,1103,1214,1220,1328,1334,1492,1498,1525],{"type":40,"tag":41,"props":42,"children":44},"element","h1",{"id":43},"generate-or-scaffold-aspnet-core-code",[45],{"type":46,"value":47},"text","Generate or Scaffold ASP.NET Core Code",{"type":40,"tag":49,"props":50,"children":51},"p",{},[52,54,60],{"type":46,"value":53},"Generate ASP.NET Core scaffolded code — controllers, views, Razor Pages, Blazor components, Minimal API endpoints. The generated code matches the project's existing CSS framework, layout conventions, and coding patterns. No CLI-based scaffolding\u002Fcode-generation tools are used; standard ",{"type":40,"tag":55,"props":56,"children":58},"code",{"className":57},[],[59],{"type":46,"value":8},{"type":46,"value":61}," CLI commands for build, restore, and migrations are still expected.",{"type":40,"tag":63,"props":64,"children":66},"h2",{"id":65},"when-to-use",[67],{"type":46,"value":68},"When to Use",{"type":40,"tag":70,"props":71,"children":72},"ul",{},[73,79,84],{"type":40,"tag":74,"props":75,"children":76},"li",{},[77],{"type":46,"value":78},"Adding CRUD pages, views, or components for a model in an ASP.NET Core project",{"type":40,"tag":74,"props":80,"children":81},{},[82],{"type":46,"value":83},"Scaffolding API controllers or Minimal API endpoints with Entity Framework Core",{"type":40,"tag":74,"props":85,"children":86},{},[87],{"type":46,"value":88},"Generating Razor Pages, MVC views, or Blazor components backed by a DbContext",{"type":40,"tag":63,"props":90,"children":92},{"id":91},"when-not-to-use",[93],{"type":46,"value":94},"When Not to Use",{"type":40,"tag":70,"props":96,"children":97},{},[98,103],{"type":40,"tag":74,"props":99,"children":100},{},[101],{"type":46,"value":102},"The project is not an ASP.NET Core project",{"type":40,"tag":74,"props":104,"children":105},{},[106],{"type":46,"value":107},"You need to scaffold non-web artifacts (class libraries, console apps, etc.)",{"type":40,"tag":63,"props":109,"children":111},{"id":110},"inputs",[112],{"type":46,"value":113},"Inputs",{"type":40,"tag":115,"props":116,"children":117},"table",{},[118,142],{"type":40,"tag":119,"props":120,"children":121},"thead",{},[122],{"type":40,"tag":123,"props":124,"children":125},"tr",{},[126,132,137],{"type":40,"tag":127,"props":128,"children":129},"th",{},[130],{"type":46,"value":131},"Input",{"type":40,"tag":127,"props":133,"children":134},{},[135],{"type":46,"value":136},"Required",{"type":40,"tag":127,"props":138,"children":139},{},[140],{"type":46,"value":141},"Description",{"type":40,"tag":143,"props":144,"children":145},"tbody",{},[146,165,190],{"type":40,"tag":123,"props":147,"children":148},{},[149,155,160],{"type":40,"tag":150,"props":151,"children":152},"td",{},[153],{"type":46,"value":154},"Scaffolding request",{"type":40,"tag":150,"props":156,"children":157},{},[158],{"type":46,"value":159},"Yes",{"type":40,"tag":150,"props":161,"children":162},{},[163],{"type":46,"value":164},"Natural-language description of what to scaffold (see format below)",{"type":40,"tag":123,"props":166,"children":167},{},[168,173,177],{"type":40,"tag":150,"props":169,"children":170},{},[171],{"type":46,"value":172},"Project file path",{"type":40,"tag":150,"props":174,"children":175},{},[176],{"type":46,"value":159},{"type":40,"tag":150,"props":178,"children":179},{},[180,182,188],{"type":46,"value":181},"Full path to the target ",{"type":40,"tag":55,"props":183,"children":185},{"className":184},[],[186],{"type":46,"value":187},".csproj",{"type":46,"value":189}," file",{"type":40,"tag":123,"props":191,"children":192},{},[193,198,203],{"type":40,"tag":150,"props":194,"children":195},{},[196],{"type":46,"value":197},"Solution root path",{"type":40,"tag":150,"props":199,"children":200},{},[201],{"type":46,"value":202},"Recommended",{"type":40,"tag":150,"props":204,"children":205},{},[206],{"type":46,"value":207},"Path to the solution root for multi-project solutions",{"type":40,"tag":209,"props":210,"children":212},"h3",{"id":211},"scaffolding-request-format",[213],{"type":46,"value":214},"Scaffolding Request Format",{"type":40,"tag":49,"props":216,"children":217},{},[218],{"type":46,"value":219},"The scaffolding request should be a natural-language description of what to scaffold. The request must include the target project path and enough detail for the agent to generate the correct code. Examples:",{"type":40,"tag":49,"props":221,"children":222},{},[223],{"type":40,"tag":224,"props":225,"children":226},"strong",{},[227],{"type":46,"value":228},"Razor Pages with EF:",{"type":40,"tag":230,"props":231,"children":235},"pre",{"className":232,"code":234,"language":46},[233],"language-text","Scaffold Razor Pages with CRUD for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nCreate a new DbContext `\u003CDbContextName>` using \u003Cdatabase-provider>.\nAlso scaffold CRUD for any entity that `\u003CModelName>` depends on via required foreign keys, so parent entities can be created first.\n",[236],{"type":40,"tag":55,"props":237,"children":239},{"__ignoreMap":238},"",[240],{"type":46,"value":234},{"type":40,"tag":49,"props":242,"children":243},{},[244],{"type":40,"tag":224,"props":245,"children":246},{},[247],{"type":46,"value":248},"Blazor CRUD components:",{"type":40,"tag":230,"props":250,"children":253},{"className":251,"code":252,"language":46},[233],"Scaffold Blazor CRUD components for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nCreate a new DbContext `\u003CDbContextName>` using \u003Cdatabase-provider>.\n",[254],{"type":40,"tag":55,"props":255,"children":256},{"__ignoreMap":238},[257],{"type":46,"value":252},{"type":40,"tag":49,"props":259,"children":260},{},[261],{"type":40,"tag":224,"props":262,"children":263},{},[264],{"type":46,"value":265},"Minimal API endpoints:",{"type":40,"tag":230,"props":267,"children":270},{"className":268,"code":269,"language":46},[233],"Scaffold Minimal API endpoints for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nName the endpoints class `\u003CEndpointsClassName>`.\nCreate a new DbContext `\u003CDbContextName>` using \u003Cdatabase-provider>.\nEnable OpenAPI support.\n",[271],{"type":40,"tag":55,"props":272,"children":273},{"__ignoreMap":238},[274],{"type":46,"value":269},{"type":40,"tag":49,"props":276,"children":277},{},[278],{"type":40,"tag":224,"props":279,"children":280},{},[281],{"type":46,"value":282},"MVC Controller with views:",{"type":40,"tag":230,"props":284,"children":287},{"className":285,"code":286,"language":46},[233],"Scaffold an MVC controller with views and Entity Framework for the `\u003CModelName>` model (from `\u003CNamespace>`) in project `\u003Cpath-to-csproj>`.\nName the controller `\u003CControllerName>`.\nUse existing DbContext `\u003CDbContextName>`.\nGenerate views.\n",[288],{"type":40,"tag":55,"props":289,"children":290},{"__ignoreMap":238},[291],{"type":46,"value":286},{"type":40,"tag":49,"props":293,"children":294},{},[295],{"type":40,"tag":224,"props":296,"children":297},{},[298],{"type":46,"value":299},"Empty items (no EF):",{"type":40,"tag":230,"props":301,"children":304},{"className":302,"code":303,"language":46},[233],"Scaffold an empty Razor Page named `\u003CPageName>` in project `\u003Cpath-to-csproj>`.\n",[305],{"type":40,"tag":55,"props":306,"children":307},{"__ignoreMap":238},[308],{"type":46,"value":303},{"type":40,"tag":63,"props":310,"children":312},{"id":311},"workflow",[313],{"type":46,"value":314},"Workflow",{"type":40,"tag":209,"props":316,"children":318},{"id":317},"step-1-understand-the-scaffolding-request",[319],{"type":46,"value":320},"Step 1: Understand the Scaffolding Request",{"type":40,"tag":49,"props":322,"children":323},{},[324],{"type":46,"value":325},"Parse the scaffolding request to identify:",{"type":40,"tag":70,"props":327,"children":328},{},[329,339,349,359,369,379],{"type":40,"tag":74,"props":330,"children":331},{},[332,337],{"type":40,"tag":224,"props":333,"children":334},{},[335],{"type":46,"value":336},"Scaffolder type",{"type":46,"value":338},": Razor Pages, Blazor components, MVC controller, Minimal API, empty page\u002Fview\u002Fcomponent",{"type":40,"tag":74,"props":340,"children":341},{},[342,347],{"type":40,"tag":224,"props":343,"children":344},{},[345],{"type":46,"value":346},"Model class",{"type":46,"value":348}," and its namespace",{"type":40,"tag":74,"props":350,"children":351},{},[352,357],{"type":40,"tag":224,"props":353,"children":354},{},[355],{"type":46,"value":356},"DbContext",{"type":46,"value":358},": new or existing, database provider (SQLite, SQL Server, etc.)",{"type":40,"tag":74,"props":360,"children":361},{},[362,367],{"type":40,"tag":224,"props":363,"children":364},{},[365],{"type":46,"value":366},"Named items",{"type":46,"value":368},": controller name, endpoints class name, page name, view name, area name",{"type":40,"tag":74,"props":370,"children":371},{},[372,377],{"type":40,"tag":224,"props":373,"children":374},{},[375],{"type":46,"value":376},"Options",{"type":46,"value":378},": OpenAPI, async actions, partial view, custom layout",{"type":40,"tag":74,"props":380,"children":381},{},[382,387],{"type":40,"tag":224,"props":383,"children":384},{},[385],{"type":46,"value":386},"FK scope",{"type":46,"value":388},": whether to also scaffold CRUD for parent entities referenced by required foreign keys",{"type":40,"tag":209,"props":390,"children":392},{"id":391},"execution-checklists",[393],{"type":46,"value":394},"Execution Checklists",{"type":40,"tag":49,"props":396,"children":397},{},[398],{"type":46,"value":399},"Complete the applicable checklist in order. Do not stop after creating only the requested child resource when a required foreign key makes a parent resource necessary.",{"type":40,"tag":49,"props":401,"children":402},{},[403],{"type":40,"tag":224,"props":404,"children":405},{},[406],{"type":46,"value":407},"All EF scaffolders",{"type":40,"tag":409,"props":410,"children":411},"ol",{},[412,425,445,450,470],{"type":40,"tag":74,"props":413,"children":414},{},[415,417,423],{"type":46,"value":416},"Inspect the project file, ",{"type":40,"tag":55,"props":418,"children":420},{"className":419},[],[421],{"type":46,"value":422},"Program.cs",{"type":46,"value":424},", target model, validation attributes, navigation properties, and foreign keys before editing.",{"type":40,"tag":74,"props":426,"children":427},{},[428,430,435,437,443],{"type":46,"value":429},"Reuse the requested existing ",{"type":40,"tag":55,"props":431,"children":433},{"className":432},[],[434],{"type":46,"value":356},{"type":46,"value":436},"; otherwise create the requested context. Add only the required provider package and register it with ",{"type":40,"tag":55,"props":438,"children":440},{"className":439},[],[441],{"type":46,"value":442},"AddDbContext",{"type":46,"value":444}," using the requested provider and connection string. You will need to add Microsoft.EntityFrameworkCore.Design (PrivateAssets=\"all\") when migrations are needed and it's missing.",{"type":40,"tag":74,"props":446,"children":447},{},[448],{"type":46,"value":449},"Generate complete CRUD for the requested entity and every required parent entity: list, details, create, edit, and delete.",{"type":40,"tag":74,"props":451,"children":452},{},[453,455,461,463,468],{"type":46,"value":454},"Use the EF migration lifecycle: create a migration and apply it. Never call ",{"type":40,"tag":55,"props":456,"children":458},{"className":457},[],[459],{"type":46,"value":460},"EnsureCreated",{"type":46,"value":462}," or seed the database in ",{"type":40,"tag":55,"props":464,"children":466},{"className":465},[],[467],{"type":46,"value":422},{"type":46,"value":469},".",{"type":40,"tag":74,"props":471,"children":472},{},[473],{"type":46,"value":474},"Restore, build, and test the generated project. Fix errors before reporting completion.",{"type":40,"tag":49,"props":476,"children":477},{},[478],{"type":40,"tag":224,"props":479,"children":480},{},[481],{"type":46,"value":482},"MVC, Razor Pages, and Blazor",{"type":40,"tag":409,"props":484,"children":485},{},[486,491,496],{"type":40,"tag":74,"props":487,"children":488},{},[489],{"type":46,"value":490},"Inspect the existing layout, CSS, and representative UI before generating markup.",{"type":40,"tag":74,"props":492,"children":493},{},[494],{"type":46,"value":495},"Generate the complete child and required-parent UI flows, including a navigation path to each resource so users can create a parent before creating a child.",{"type":40,"tag":74,"props":497,"children":498},{},[499],{"type":46,"value":500},"Match the existing UI framework and conventions; preserve existing render-mode configuration for Blazor.",{"type":40,"tag":49,"props":502,"children":503},{},[504],{"type":40,"tag":224,"props":505,"children":506},{},[507],{"type":46,"value":508},"Minimal APIs",{"type":40,"tag":409,"props":510,"children":511},{},[512,549,562],{"type":40,"tag":74,"props":513,"children":514},{},[515,517,523,525,531,533,539,541,547],{"type":46,"value":516},"Use a route group for each resource and map ",{"type":40,"tag":55,"props":518,"children":520},{"className":519},[],[521],{"type":46,"value":522},"GET",{"type":46,"value":524}," (list and by ID), ",{"type":40,"tag":55,"props":526,"children":528},{"className":527},[],[529],{"type":46,"value":530},"POST",{"type":46,"value":532},", ",{"type":40,"tag":55,"props":534,"children":536},{"className":535},[],[537],{"type":46,"value":538},"PUT",{"type":46,"value":540},", and ",{"type":40,"tag":55,"props":542,"children":544},{"className":543},[],[545],{"type":46,"value":546},"DELETE",{"type":46,"value":548}," endpoints for both child and required-parent resources.",{"type":40,"tag":74,"props":550,"children":551},{},[552,554,560],{"type":46,"value":553},"Add OpenAPI metadata to every endpoint: unique name, tags, description, success\u002Ferror response metadata, and ",{"type":40,"tag":55,"props":555,"children":557},{"className":556},[],[558],{"type":46,"value":559},"WithOpenApi",{"type":46,"value":561}," when OpenAPI is enabled.",{"type":40,"tag":74,"props":563,"children":564},{},[565,567,573],{"type":46,"value":566},"Create an executable ",{"type":40,"tag":55,"props":568,"children":570},{"className":569},[],[571],{"type":46,"value":572},".http",{"type":46,"value":574}," file with every CRUD request. Create parent records first, capture or clearly reuse their returned IDs in child requests, and run the requests in dependency order.",{"type":40,"tag":209,"props":576,"children":578},{"id":577},"step-2-discover-ui-style-non-api-scaffolders-only",[579],{"type":46,"value":580},"Step 2: Discover UI Style (non-API scaffolders only)",{"type":40,"tag":49,"props":582,"children":583},{},[584],{"type":46,"value":585},"Skip this step for API controllers and Minimal API endpoints.",{"type":40,"tag":409,"props":587,"children":588},{},[589,609,629],{"type":40,"tag":74,"props":590,"children":591},{},[592,594,600,601,607],{"type":46,"value":593},"Inspect the project's layout file (",{"type":40,"tag":55,"props":595,"children":597},{"className":596},[],[598],{"type":46,"value":599},"_Layout.cshtml",{"type":46,"value":532},{"type":40,"tag":55,"props":602,"children":604},{"className":603},[],[605],{"type":46,"value":606},"MainLayout.razor",{"type":46,"value":608},", or equivalent)",{"type":40,"tag":74,"props":610,"children":611},{},[612,614,620,621,627],{"type":46,"value":613},"Inspect the main CSS file (",{"type":40,"tag":55,"props":615,"children":617},{"className":616},[],[618],{"type":46,"value":619},"site.css",{"type":46,"value":532},{"type":40,"tag":55,"props":622,"children":624},{"className":623},[],[625],{"type":46,"value":626},"app.css",{"type":46,"value":628},", Tailwind config, etc.)",{"type":40,"tag":74,"props":630,"children":631},{},[632],{"type":46,"value":633},"Inspect 1–2 existing pages, views, or components in the project",{"type":40,"tag":49,"props":635,"children":636},{},[637],{"type":46,"value":638},"All generated files MUST match the existing UI framework, CSS classes, and conventions. If Bootstrap is used, generate Bootstrap markup. If Tailwind is used, generate Tailwind markup.",{"type":40,"tag":209,"props":640,"children":642},{"id":641},"step-3-apply-blazor-specific-rules-blazor-scaffolders-only",[643],{"type":46,"value":644},"Step 3: Apply Blazor-Specific Rules (Blazor scaffolders only)",{"type":40,"tag":49,"props":646,"children":647},{},[648],{"type":46,"value":649},"Skip this step for non-Blazor scaffolders.",{"type":40,"tag":70,"props":651,"children":652},{},[653,688,729],{"type":40,"tag":74,"props":654,"children":655},{},[656,662,664,670,672,678,680,686],{"type":40,"tag":55,"props":657,"children":659},{"className":658},[],[660],{"type":46,"value":661},"[SupplyParameterFromForm]",{"type":46,"value":663}," properties MUST use ",{"type":40,"tag":55,"props":665,"children":667},{"className":666},[],[668],{"type":46,"value":669},"= new()",{"type":46,"value":671}," (not ",{"type":40,"tag":55,"props":673,"children":675},{"className":674},[],[676],{"type":46,"value":677},"null!",{"type":46,"value":679},") — prevents ",{"type":40,"tag":55,"props":681,"children":683},{"className":682},[],[684],{"type":46,"value":685},"EditForm",{"type":46,"value":687}," crash on initial GET",{"type":40,"tag":74,"props":689,"children":690},{},[691,696,698,704,706,712,714,720,721,727],{"type":40,"tag":55,"props":692,"children":694},{"className":693},[],[695],{"type":46,"value":422},{"type":46,"value":697}," must chain ",{"type":40,"tag":55,"props":699,"children":701},{"className":700},[],[702],{"type":46,"value":703},".AddInteractiveServerComponents()",{"type":46,"value":705}," on ",{"type":40,"tag":55,"props":707,"children":709},{"className":708},[],[710],{"type":46,"value":711},"AddRazorComponents()",{"type":46,"value":713}," and ",{"type":40,"tag":55,"props":715,"children":717},{"className":716},[],[718],{"type":46,"value":719},".AddInteractiveServerRenderMode()",{"type":46,"value":705},{"type":40,"tag":55,"props":722,"children":724},{"className":723},[],[725],{"type":46,"value":726},"MapRazorComponents\u003CApp>()",{"type":46,"value":728},". only add interactive server services\u002Frender mode when the generated components actually use @rendermode InteractiveServer (or the project already does).",{"type":40,"tag":74,"props":730,"children":731},{},[732,734,740],{"type":46,"value":733},"Do not replace existing chained render mode calls (e.g., ",{"type":40,"tag":55,"props":735,"children":737},{"className":736},[],[738],{"type":46,"value":739},".AddInteractiveWebAssemblyRenderMode()",{"type":46,"value":741},")",{"type":40,"tag":209,"props":743,"children":745},{"id":744},"step-4-generate-code",[746],{"type":46,"value":747},"Step 4: Generate Code",{"type":40,"tag":49,"props":749,"children":750},{},[751],{"type":46,"value":752},"Generate all code files manually. Follow these constraints:",{"type":40,"tag":70,"props":754,"children":755},{},[756,766,783],{"type":40,"tag":74,"props":757,"children":758},{},[759,764],{"type":40,"tag":224,"props":760,"children":761},{},[762],{"type":46,"value":763},"DO NOT",{"type":46,"value":765}," use any scaffolding CLI tools",{"type":40,"tag":74,"props":767,"children":768},{},[769,773,775,781],{"type":40,"tag":224,"props":770,"children":771},{},[772],{"type":46,"value":763},{"type":46,"value":774}," add packages beyond those required for the scaffolded functionality (e.g., do not add ",{"type":40,"tag":55,"props":776,"children":778},{"className":777},[],[779],{"type":46,"value":780},"RuntimeCompilation",{"type":46,"value":782},", or other convenience packages)",{"type":40,"tag":74,"props":784,"children":785},{},[786],{"type":46,"value":787},"Match the coding style of existing files in the project (naming conventions, indentation, namespace patterns)",{"type":40,"tag":789,"props":790,"children":792},"h4",{"id":791},"enrich-api-endpoints-with-openapi-metadata-api-scaffolders-only",[793],{"type":46,"value":794},"Enrich API Endpoints with OpenAPI Metadata (API scaffolders only)",{"type":40,"tag":49,"props":796,"children":797},{},[798],{"type":46,"value":799},"When generating Minimal API or MVC API endpoints with OpenAPI support enabled, add rich metadata to every endpoint so the OpenAPI document is descriptive and useful:",{"type":40,"tag":70,"props":801,"children":802},{},[803,814,825,836,847,858,869],{"type":40,"tag":74,"props":804,"children":805},{},[806,812],{"type":40,"tag":55,"props":807,"children":809},{"className":808},[],[810],{"type":46,"value":811},".WithName(\"GetTodoItems\")",{"type":46,"value":813}," — unique operation ID for each endpoint",{"type":40,"tag":74,"props":815,"children":816},{},[817,823],{"type":40,"tag":55,"props":818,"children":820},{"className":819},[],[821],{"type":46,"value":822},".WithTags(\"TodoItems\")",{"type":46,"value":824}," — group endpoints by resource",{"type":40,"tag":74,"props":826,"children":827},{},[828,834],{"type":40,"tag":55,"props":829,"children":831},{"className":830},[],[832],{"type":46,"value":833},".WithDescription(\"Returns all todo items\")",{"type":46,"value":835}," — human-readable summary",{"type":40,"tag":74,"props":837,"children":838},{},[839,845],{"type":40,"tag":55,"props":840,"children":842},{"className":841},[],[843],{"type":46,"value":844},".Produces\u003CList\u003CTodoItem>>(StatusCodes.Status200OK)",{"type":46,"value":846}," — document success response type",{"type":40,"tag":74,"props":848,"children":849},{},[850,856],{"type":40,"tag":55,"props":851,"children":853},{"className":852},[],[854],{"type":46,"value":855},".Produces(StatusCodes.Status404NotFound)",{"type":46,"value":857}," — document error responses",{"type":40,"tag":74,"props":859,"children":860},{},[861,867],{"type":40,"tag":55,"props":862,"children":864},{"className":863},[],[865],{"type":46,"value":866},".ProducesValidationProblem()",{"type":46,"value":868}," — for endpoints that validate input",{"type":40,"tag":74,"props":870,"children":871},{},[872,878],{"type":40,"tag":55,"props":873,"children":875},{"className":874},[],[876],{"type":46,"value":877},".WithOpenApi()",{"type":46,"value":879}," — opt the endpoint into OpenAPI generation (if not already globally enabled)",{"type":40,"tag":49,"props":881,"children":882},{},[883],{"type":46,"value":884},"Example for a Minimal API GET endpoint:",{"type":40,"tag":230,"props":886,"children":890},{"className":887,"code":888,"language":889,"meta":238,"style":238},"language-csharp shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","group.MapGet(\"\u002F\", async (TodoDbContext db) =>\n        await db.TodoItems.ToListAsync())\n    .WithName(\"GetAllTodoItems\")\n    .WithTags(\"TodoItems\")\n    .WithDescription(\"Returns all todo items\")\n    .Produces\u003CList\u003CTodoItem>>(StatusCodes.Status200OK);\n","csharp",[891],{"type":40,"tag":55,"props":892,"children":893},{"__ignoreMap":238},[894,905,914,923,932,941],{"type":40,"tag":895,"props":896,"children":899},"span",{"class":897,"line":898},"line",1,[900],{"type":40,"tag":895,"props":901,"children":902},{},[903],{"type":46,"value":904},"group.MapGet(\"\u002F\", async (TodoDbContext db) =>\n",{"type":40,"tag":895,"props":906,"children":908},{"class":897,"line":907},2,[909],{"type":40,"tag":895,"props":910,"children":911},{},[912],{"type":46,"value":913},"        await db.TodoItems.ToListAsync())\n",{"type":40,"tag":895,"props":915,"children":917},{"class":897,"line":916},3,[918],{"type":40,"tag":895,"props":919,"children":920},{},[921],{"type":46,"value":922},"    .WithName(\"GetAllTodoItems\")\n",{"type":40,"tag":895,"props":924,"children":926},{"class":897,"line":925},4,[927],{"type":40,"tag":895,"props":928,"children":929},{},[930],{"type":46,"value":931},"    .WithTags(\"TodoItems\")\n",{"type":40,"tag":895,"props":933,"children":935},{"class":897,"line":934},5,[936],{"type":40,"tag":895,"props":937,"children":938},{},[939],{"type":46,"value":940},"    .WithDescription(\"Returns all todo items\")\n",{"type":40,"tag":895,"props":942,"children":944},{"class":897,"line":943},6,[945],{"type":40,"tag":895,"props":946,"children":947},{},[948],{"type":46,"value":949},"    .Produces\u003CList\u003CTodoItem>>(StatusCodes.Status200OK);\n",{"type":40,"tag":209,"props":951,"children":953},{"id":952},"step-5-set-up-entity-framework-if-applicable",[954],{"type":46,"value":955},"Step 5: Set Up Entity Framework (if applicable)",{"type":40,"tag":49,"props":957,"children":958},{},[959],{"type":46,"value":960},"Skip this step if the scaffolding request does not involve Entity Framework.",{"type":40,"tag":70,"props":962,"children":963},{},[964,980,1001,1006],{"type":40,"tag":74,"props":965,"children":966},{},[967,971,973,978],{"type":40,"tag":224,"props":968,"children":969},{},[970],{"type":46,"value":763},{"type":46,"value":972}," seed the database in ",{"type":40,"tag":55,"props":974,"children":976},{"className":975},[],[977],{"type":46,"value":422},{"type":46,"value":979}," — always use migrations",{"type":40,"tag":74,"props":981,"children":982},{},[983,985,991,993,999],{"type":46,"value":984},"For ",{"type":40,"tag":55,"props":986,"children":988},{"className":987},[],[989],{"type":46,"value":990},"dotnet ef",{"type":46,"value":992},": prefer ",{"type":40,"tag":55,"props":994,"children":996},{"className":995},[],[997],{"type":46,"value":998},"dotnet tool restore",{"type":46,"value":1000}," from a local tool manifest. Only install globally if no manifest exists",{"type":40,"tag":74,"props":1002,"children":1003},{},[1004],{"type":46,"value":1005},"Inspect the model for navigation properties and foreign keys. Ensure CRUD endpoints\u002Fpages exist for referenced entities",{"type":40,"tag":74,"props":1007,"children":1008},{},[1009,1011,1016],{"type":46,"value":1010},"For API scaffolders: the ",{"type":40,"tag":55,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":46,"value":572},{"type":46,"value":1017}," file MUST create parent entities before child entities. Use FK values consistent with creation order",{"type":40,"tag":209,"props":1019,"children":1021},{"id":1020},"step-6-generate-http-file-api-scaffolders-only",[1022],{"type":46,"value":1023},"Step 6: Generate .http File (API scaffolders only)",{"type":40,"tag":49,"props":1025,"children":1026},{},[1027],{"type":46,"value":1028},"Skip this step for non-API scaffolders.",{"type":40,"tag":409,"props":1030,"children":1031},{},[1032,1067,1072,1077,1082,1087,1092],{"type":40,"tag":74,"props":1033,"children":1034},{},[1035,1037,1042,1044,1050,1052,1058,1059,1065],{"type":46,"value":1036},"Create a ",{"type":40,"tag":55,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":46,"value":572},{"type":46,"value":1043}," file named ",{"type":40,"tag":55,"props":1045,"children":1047},{"className":1046},[],[1048],{"type":46,"value":1049},"{ModelName}.http",{"type":46,"value":1051}," in the project directory. If a file with that name exists, append a numeric suffix (",{"type":40,"tag":55,"props":1053,"children":1055},{"className":1054},[],[1056],{"type":46,"value":1057},"Product2.http",{"type":46,"value":532},{"type":40,"tag":55,"props":1060,"children":1062},{"className":1061},[],[1063],{"type":46,"value":1064},"Product3.http",{"type":46,"value":1066},") until unique",{"type":40,"tag":74,"props":1068,"children":1069},{},[1070],{"type":46,"value":1071},"Include sample requests for every CRUD endpoint scaffolded, including endpoints for parent\u002Fdependent entities",{"type":40,"tag":74,"props":1073,"children":1074},{},[1075],{"type":46,"value":1076},"Every request must target the correct URL path matching an actual mapped endpoint",{"type":40,"tag":74,"props":1078,"children":1079},{},[1080],{"type":46,"value":1081},"Request labels must accurately describe the action (e.g., \"Create a category\" must POST to the categories endpoint)",{"type":40,"tag":74,"props":1083,"children":1084},{},[1085],{"type":46,"value":1086},"Order requests by dependency: create parent entities before child entities",{"type":40,"tag":74,"props":1088,"children":1089},{},[1090],{"type":46,"value":1091},"When possible, capture IDs from parent creation responses using your HTTP client's variable\u002Ftemplating features and reuse them as foreign key values in child-entity POST payloads",{"type":40,"tag":74,"props":1093,"children":1094},{},[1095],{"type":46,"value":1096},"If your client cannot capture response values, add comments indicating which FK IDs must be updated after running the parent creation requests; do not leave unrealistic placeholder or assumed FK values that do not correspond to actual parent records when executing the requests",{"type":40,"tag":209,"props":1098,"children":1100},{"id":1099},"step-7-verify",[1101],{"type":46,"value":1102},"Step 7: Verify",{"type":40,"tag":409,"props":1104,"children":1105},{},[1106,1119,1152,1209],{"type":40,"tag":74,"props":1107,"children":1108},{},[1109,1111,1117],{"type":46,"value":1110},"Run ",{"type":40,"tag":55,"props":1112,"children":1114},{"className":1113},[],[1115],{"type":46,"value":1116},"dotnet restore && dotnet build",{"type":46,"value":1118}," from the project directory",{"type":40,"tag":74,"props":1120,"children":1121},{},[1122,1124],{"type":46,"value":1123},"If Entity Framework is used and this is the first verification:\n",{"type":40,"tag":70,"props":1125,"children":1126},{},[1127,1137,1147],{"type":40,"tag":74,"props":1128,"children":1129},{},[1130,1131],{"type":46,"value":1110},{"type":40,"tag":55,"props":1132,"children":1134},{"className":1133},[],[1135],{"type":46,"value":1136},"dotnet ef migrations add InitialCreate",{"type":40,"tag":74,"props":1138,"children":1139},{},[1140,1141],{"type":46,"value":1110},{"type":40,"tag":55,"props":1142,"children":1144},{"className":1143},[],[1145],{"type":46,"value":1146},"dotnet ef database update",{"type":40,"tag":74,"props":1148,"children":1149},{},[1150],{"type":46,"value":1151},"You will need to change \"InitialCreate\" to something else if you run this more than once, as EF Core requires unique migration names.",{"type":40,"tag":74,"props":1153,"children":1154},{},[1155,1157],{"type":46,"value":1156},"If API scaffolder:\n",{"type":40,"tag":70,"props":1158,"children":1159},{},[1160,1187,1199,1204],{"type":40,"tag":74,"props":1161,"children":1162},{},[1163,1165,1171,1173,1179,1181],{"type":46,"value":1164},"Inspect ",{"type":40,"tag":55,"props":1166,"children":1168},{"className":1167},[],[1169],{"type":46,"value":1170},"Properties\u002FlaunchSettings.json",{"type":46,"value":1172}," — if a profile named ",{"type":40,"tag":55,"props":1174,"children":1176},{"className":1175},[],[1177],{"type":46,"value":1178},"https",{"type":46,"value":1180}," exists, use ",{"type":40,"tag":55,"props":1182,"children":1184},{"className":1183},[],[1185],{"type":46,"value":1186},"dotnet run --launch-profile https",{"type":40,"tag":74,"props":1188,"children":1189},{},[1190,1192,1197],{"type":46,"value":1191},"Execute EVERY ",{"type":40,"tag":55,"props":1193,"children":1195},{"className":1194},[],[1196],{"type":46,"value":572},{"type":46,"value":1198}," request one at a time in dependency order",{"type":40,"tag":74,"props":1200,"children":1201},{},[1202],{"type":46,"value":1203},"Report method, URL, and status code for each request",{"type":40,"tag":74,"props":1205,"children":1206},{},[1207],{"type":46,"value":1208},"Stop and fix if any request returns non-2xx",{"type":40,"tag":74,"props":1210,"children":1211},{},[1212],{"type":46,"value":1213},"Fix all errors until a clean build succeeds",{"type":40,"tag":63,"props":1215,"children":1217},{"id":1216},"validation",[1218],{"type":46,"value":1219},"Validation",{"type":40,"tag":70,"props":1221,"children":1224},{"className":1222},[1223],"contains-task-list",[1225,1238,1255,1264,1280,1296,1305],{"type":40,"tag":74,"props":1226,"children":1229},{"className":1227},[1228],"task-list-item",[1230,1236],{"type":40,"tag":1231,"props":1232,"children":1235},"input",{"disabled":1233,"type":1234},true,"checkbox",[],{"type":46,"value":1237}," All generated files match the project's existing CSS framework and conventions",{"type":40,"tag":74,"props":1239,"children":1241},{"className":1240},[1228],[1242,1245,1247,1253],{"type":40,"tag":1231,"props":1243,"children":1244},{"disabled":1233,"type":1234},[],{"type":46,"value":1246}," ",{"type":40,"tag":55,"props":1248,"children":1250},{"className":1249},[],[1251],{"type":46,"value":1252},"dotnet build",{"type":46,"value":1254}," succeeds with zero errors",{"type":40,"tag":74,"props":1256,"children":1258},{"className":1257},[1228],[1259,1262],{"type":40,"tag":1231,"props":1260,"children":1261},{"disabled":1233,"type":1234},[],{"type":46,"value":1263}," EF migrations apply cleanly (if applicable)",{"type":40,"tag":74,"props":1265,"children":1267},{"className":1266},[1228],[1268,1271,1273,1278],{"type":40,"tag":1231,"props":1269,"children":1270},{"disabled":1233,"type":1234},[],{"type":46,"value":1272}," All ",{"type":40,"tag":55,"props":1274,"children":1276},{"className":1275},[],[1277],{"type":46,"value":572},{"type":46,"value":1279}," requests return 2xx status codes (if API scaffolder)",{"type":40,"tag":74,"props":1281,"children":1283},{"className":1282},[1228],[1284,1287,1289,1294],{"type":40,"tag":1231,"props":1285,"children":1286},{"disabled":1233,"type":1234},[],{"type":46,"value":1288}," No forbidden packages were added (",{"type":40,"tag":55,"props":1290,"children":1292},{"className":1291},[],[1293],{"type":46,"value":780},{"type":46,"value":1295},", etc.)",{"type":40,"tag":74,"props":1297,"children":1299},{"className":1298},[1228],[1300,1303],{"type":40,"tag":1231,"props":1301,"children":1302},{"disabled":1233,"type":1234},[],{"type":46,"value":1304}," No CLI scaffolding tools were invoked",{"type":40,"tag":74,"props":1306,"children":1308},{"className":1307},[1228],[1309,1312,1314,1319,1321,1326],{"type":40,"tag":1231,"props":1310,"children":1311},{"disabled":1233,"type":1234},[],{"type":46,"value":1313}," Blazor ",{"type":40,"tag":55,"props":1315,"children":1317},{"className":1316},[],[1318],{"type":46,"value":661},{"type":46,"value":1320}," properties use ",{"type":40,"tag":55,"props":1322,"children":1324},{"className":1323},[],[1325],{"type":46,"value":669},{"type":46,"value":1327}," (if Blazor scaffolder)",{"type":40,"tag":63,"props":1329,"children":1331},{"id":1330},"common-pitfalls",[1332],{"type":46,"value":1333},"Common Pitfalls",{"type":40,"tag":115,"props":1335,"children":1336},{},[1337,1353],{"type":40,"tag":119,"props":1338,"children":1339},{},[1340],{"type":40,"tag":123,"props":1341,"children":1342},{},[1343,1348],{"type":40,"tag":127,"props":1344,"children":1345},{},[1346],{"type":46,"value":1347},"Pitfall",{"type":40,"tag":127,"props":1349,"children":1350},{},[1351],{"type":46,"value":1352},"Solution",{"type":40,"tag":143,"props":1354,"children":1355},{},[1356,1369,1410,1423,1441,1466,1479],{"type":40,"tag":123,"props":1357,"children":1358},{},[1359,1364],{"type":40,"tag":150,"props":1360,"children":1361},{},[1362],{"type":46,"value":1363},"Generated UI doesn't match project's CSS framework",{"type":40,"tag":150,"props":1365,"children":1366},{},[1367],{"type":46,"value":1368},"Always inspect layout and CSS files before generating code (Step 2)",{"type":40,"tag":123,"props":1370,"children":1371},{},[1372,1384],{"type":40,"tag":150,"props":1373,"children":1374},{},[1375,1377,1382],{"type":46,"value":1376},"Blazor ",{"type":40,"tag":55,"props":1378,"children":1380},{"className":1379},[],[1381],{"type":46,"value":685},{"type":46,"value":1383}," crashes on initial GET",{"type":40,"tag":150,"props":1385,"children":1386},{},[1387,1389,1394,1396,1401,1403,1408],{"type":46,"value":1388},"Use ",{"type":40,"tag":55,"props":1390,"children":1392},{"className":1391},[],[1393],{"type":46,"value":669},{"type":46,"value":1395}," not ",{"type":40,"tag":55,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":46,"value":677},{"type":46,"value":1402}," for ",{"type":40,"tag":55,"props":1404,"children":1406},{"className":1405},[],[1407],{"type":46,"value":661},{"type":46,"value":1409}," properties",{"type":40,"tag":123,"props":1411,"children":1412},{},[1413,1418],{"type":40,"tag":150,"props":1414,"children":1415},{},[1416],{"type":46,"value":1417},"EF migration fails due to missing parent entity CRUD",{"type":40,"tag":150,"props":1419,"children":1420},{},[1421],{"type":46,"value":1422},"Scaffold CRUD for FK-dependent entities when request mentions foreign keys",{"type":40,"tag":123,"props":1424,"children":1425},{},[1426,1436],{"type":40,"tag":150,"props":1427,"children":1428},{},[1429,1434],{"type":40,"tag":55,"props":1430,"children":1432},{"className":1431},[],[1433],{"type":46,"value":572},{"type":46,"value":1435}," file has wrong FK values",{"type":40,"tag":150,"props":1437,"children":1438},{},[1439],{"type":46,"value":1440},"Order requests by dependency; use values consistent with creation order",{"type":40,"tag":123,"props":1442,"children":1443},{},[1444,1454],{"type":40,"tag":150,"props":1445,"children":1446},{},[1447,1452],{"type":40,"tag":55,"props":1448,"children":1450},{"className":1449},[],[1451],{"type":46,"value":990},{"type":46,"value":1453}," not found",{"type":40,"tag":150,"props":1455,"children":1456},{},[1457,1459,1464],{"type":46,"value":1458},"Try ",{"type":40,"tag":55,"props":1460,"children":1462},{"className":1461},[],[1463],{"type":46,"value":998},{"type":46,"value":1465}," first; only install globally as fallback",{"type":40,"tag":123,"props":1467,"children":1468},{},[1469,1474],{"type":40,"tag":150,"props":1470,"children":1471},{},[1472],{"type":46,"value":1473},"Added unnecessary packages",{"type":40,"tag":150,"props":1475,"children":1476},{},[1477],{"type":46,"value":1478},"Only add packages explicitly required for the scaffolded functionality",{"type":40,"tag":123,"props":1480,"children":1481},{},[1482,1487],{"type":40,"tag":150,"props":1483,"children":1484},{},[1485],{"type":46,"value":1486},"Generated code uses different naming conventions",{"type":40,"tag":150,"props":1488,"children":1489},{},[1490],{"type":46,"value":1491},"Inspect existing project files to match naming patterns before generating",{"type":40,"tag":63,"props":1493,"children":1495},{"id":1494},"references",[1496],{"type":46,"value":1497},"References",{"type":40,"tag":70,"props":1499,"children":1500},{},[1501,1513],{"type":40,"tag":74,"props":1502,"children":1503},{},[1504],{"type":40,"tag":1505,"props":1506,"children":1510},"a",{"href":1507,"rel":1508},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fdbcontext-configuration\u002F",[1509],"nofollow",[1511],{"type":46,"value":1512},"Entity Framework Core DbContext Lifetime, Configuration, and Initialization",{"type":40,"tag":74,"props":1514,"children":1515},{},[1516,1523],{"type":40,"tag":1505,"props":1517,"children":1520},{"href":1518,"rel":1519},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fopenapi\u002Foverview?view=aspnetcore-10.0",[1509],[1521],{"type":46,"value":1522},"OpenAPI overview in ASP.NET Core",{"type":46,"value":1524}," — .NET 10 specific; similar pages exist for other versions",{"type":40,"tag":1526,"props":1527,"children":1528},"style",{},[1529],{"type":46,"value":1530},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1532,"total":1638},[1533,1550,1565,1583,1597,1614,1624],{"slug":1534,"name":1534,"fn":1535,"description":1536,"org":1537,"tags":1538,"stars":22,"repoUrl":23,"updatedAt":1549},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1539,1540,1543,1546],{"name":17,"slug":18,"type":15},{"name":1541,"slug":1542,"type":15},"Code Analysis","code-analysis",{"name":1544,"slug":1545,"type":15},"Debugging","debugging",{"name":1547,"slug":1548,"type":15},"Performance","performance","2026-07-12T08:23:25.400375",{"slug":1551,"name":1551,"fn":1552,"description":1553,"org":1554,"tags":1555,"stars":22,"repoUrl":23,"updatedAt":1564},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1556,1557,1560,1561],{"name":17,"slug":18,"type":15},{"name":1558,"slug":1559,"type":15},"Android","android",{"name":1544,"slug":1545,"type":15},{"name":1562,"slug":1563,"type":15},"Microsoft","microsoft","2026-07-12T08:23:21.595572",{"slug":1566,"name":1566,"fn":1567,"description":1568,"org":1569,"tags":1570,"stars":22,"repoUrl":23,"updatedAt":1582},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1571,1572,1573,1576,1579],{"name":17,"slug":18,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1574,"slug":1575,"type":15},"iOS","ios",{"name":1577,"slug":1578,"type":15},"macOS","macos",{"name":1580,"slug":1581,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":1584,"name":1584,"fn":1585,"description":1586,"org":1587,"tags":1588,"stars":22,"repoUrl":23,"updatedAt":1596},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1589,1590,1593],{"name":1541,"slug":1542,"type":15},{"name":1591,"slug":1592,"type":15},"QA","qa",{"name":1594,"slug":1595,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":1598,"name":1598,"fn":1599,"description":1600,"org":1601,"tags":1602,"stars":22,"repoUrl":23,"updatedAt":1613},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1603,1604,1607,1609,1612],{"name":17,"slug":18,"type":15},{"name":1605,"slug":1606,"type":15},"Blazor","blazor",{"name":1608,"slug":889,"type":15},"C#",{"name":1610,"slug":1611,"type":15},"UI Components","ui-components",{"name":20,"slug":21,"type":15},"2026-07-15T06:03:29.216359",{"slug":1615,"name":1615,"fn":1616,"description":1617,"org":1618,"tags":1619,"stars":22,"repoUrl":23,"updatedAt":1623},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1620,1621,1622],{"name":1541,"slug":1542,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1562,"slug":1563,"type":15},"2026-07-12T08:21:34.637923",{"slug":1625,"name":1625,"fn":1626,"description":1627,"org":1628,"tags":1629,"stars":22,"repoUrl":23,"updatedAt":1637},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1630,1633,1634],{"name":1631,"slug":1632,"type":15},"Build","build",{"name":1544,"slug":1545,"type":15},{"name":1635,"slug":1636,"type":15},"Engineering","engineering","2026-07-19T05:38:19.340791",96,{"items":1640,"total":1745},[1641,1653,1660,1667,1675,1681,1689,1695,1701,1711,1724,1735],{"slug":1642,"name":1642,"fn":1643,"description":1644,"org":1645,"tags":1646,"stars":1650,"repoUrl":1651,"updatedAt":1652},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1647,1648,1649],{"name":17,"slug":18,"type":15},{"name":1635,"slug":1636,"type":15},{"name":1547,"slug":1548,"type":15},5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":1534,"name":1534,"fn":1535,"description":1536,"org":1654,"tags":1655,"stars":22,"repoUrl":23,"updatedAt":1549},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1656,1657,1658,1659],{"name":17,"slug":18,"type":15},{"name":1541,"slug":1542,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1547,"slug":1548,"type":15},{"slug":1551,"name":1551,"fn":1552,"description":1553,"org":1661,"tags":1662,"stars":22,"repoUrl":23,"updatedAt":1564},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1663,1664,1665,1666],{"name":17,"slug":18,"type":15},{"name":1558,"slug":1559,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1562,"slug":1563,"type":15},{"slug":1566,"name":1566,"fn":1567,"description":1568,"org":1668,"tags":1669,"stars":22,"repoUrl":23,"updatedAt":1582},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1670,1671,1672,1673,1674],{"name":17,"slug":18,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1574,"slug":1575,"type":15},{"name":1577,"slug":1578,"type":15},{"name":1580,"slug":1581,"type":15},{"slug":1584,"name":1584,"fn":1585,"description":1586,"org":1676,"tags":1677,"stars":22,"repoUrl":23,"updatedAt":1596},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1678,1679,1680],{"name":1541,"slug":1542,"type":15},{"name":1591,"slug":1592,"type":15},{"name":1594,"slug":1595,"type":15},{"slug":1598,"name":1598,"fn":1599,"description":1600,"org":1682,"tags":1683,"stars":22,"repoUrl":23,"updatedAt":1613},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1684,1685,1686,1687,1688],{"name":17,"slug":18,"type":15},{"name":1605,"slug":1606,"type":15},{"name":1608,"slug":889,"type":15},{"name":1610,"slug":1611,"type":15},{"name":20,"slug":21,"type":15},{"slug":1615,"name":1615,"fn":1616,"description":1617,"org":1690,"tags":1691,"stars":22,"repoUrl":23,"updatedAt":1623},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1692,1693,1694],{"name":1541,"slug":1542,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1562,"slug":1563,"type":15},{"slug":1625,"name":1625,"fn":1626,"description":1627,"org":1696,"tags":1697,"stars":22,"repoUrl":23,"updatedAt":1637},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1698,1699,1700],{"name":1631,"slug":1632,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1635,"slug":1636,"type":15},{"slug":1702,"name":1702,"fn":1703,"description":1704,"org":1705,"tags":1706,"stars":22,"repoUrl":23,"updatedAt":1710},"build-parallelism","optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1707,1708,1709],{"name":17,"slug":18,"type":15},{"name":1635,"slug":1636,"type":15},{"name":1547,"slug":1548,"type":15},"2026-07-19T05:38:18.364937",{"slug":1712,"name":1712,"fn":1713,"description":1714,"org":1715,"tags":1716,"stars":22,"repoUrl":23,"updatedAt":1723},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1717,1718,1721,1722],{"name":1635,"slug":1636,"type":15},{"name":1719,"slug":1720,"type":15},"Monitoring","monitoring",{"name":1547,"slug":1548,"type":15},{"name":1594,"slug":1595,"type":15},"2026-07-12T08:21:35.865649",{"slug":1725,"name":1725,"fn":1726,"description":1727,"org":1728,"tags":1729,"stars":22,"repoUrl":23,"updatedAt":1734},"build-perf-diagnostics","diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1730,1731,1732,1733],{"name":17,"slug":18,"type":15},{"name":1544,"slug":1545,"type":15},{"name":1635,"slug":1636,"type":15},{"name":1547,"slug":1548,"type":15},"2026-07-12T08:21:40.961722",{"slug":1736,"name":1736,"fn":1737,"description":1738,"org":1739,"tags":1740,"stars":22,"repoUrl":23,"updatedAt":1744},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1741,1742,1743],{"name":1544,"slug":1545,"type":15},{"name":1635,"slug":1636,"type":15},{"name":1591,"slug":1592,"type":15},"2026-07-19T05:38:14.336279",144]