Framework Web v1.0.0

Blazor

Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and hosting choices.

Trigger On

  • building interactive web UIs with C# instead of JavaScript
  • choosing between Server, WebAssembly, or Auto render modes
  • designing component hierarchies and state management
  • handling prerendering and hydration
  • integrating with JavaScript when necessary

Workflow

  1. Choose render mode based on requirements:

- Need SEO? Start with Static or prerendering - Need real-time? Use InteractiveServer - Need offline? Use InteractiveWebAssembly - Want both? Use InteractiveAuto

  1. Design components for reusability:

- Small, focused components - Parameters for customization - Events for communication

  1. Handle state correctly:

- Component state lives in component - Shared state via services (DI) - Persist state across prerender with [PersistentState]

  1. Validate in both environments (for Auto mode)

Deliver

  • interactive Blazor components with appropriate render mode
  • efficient state management and data flow
  • proper handling of prerendering scenarios
  • performant list rendering with virtualization

Validate

  • components render correctly in chosen mode
  • state persists correctly across prerender/hydration
  • no unnecessary re-renders (check with browser tools)
  • JS interop works in both Server and WASM
  • error boundaries catch component failures
  • Auto mode works in both environments

Related skills

Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

Microsoft.AspNetCore.*

Design and implement Minimal APIs in ASP.NET Core using handler-first endpoints, route groups, filters, and lightweight composition suited to modern .NET services.

Configure OpenTelemetry distributed tracing, metrics, and logging in ASP.NET Core using the .NET OpenTelemetry SDK.

OpenTelemetry.*

Related agents

Orchestration agent
10 linked skills

.NET Frontend

Frontend-focused orchestration agent for .NET repositories that ship browser-facing UI plus Node-based frontend assets.

agents install frontend

Also works: dotnet agents install frontend