xaf-blazor-ui

Configure XAF Blazor UI for Blazor Server apps with Program.cs setup.

6|2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/kashiash/xaf-skills --skill xaf-blazor-ui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xaf-blazor-ui
Source: https://github.com/kashiash/xaf-skills/tree/main/xaf-blazor-ui
Command: npx skills add https://github.com/kashiash/xaf-skills --skill xaf-blazor-ui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XAF Blazor UI platform provides concise setup patterns and runtime guidance for building and customizing XAF Blazor Server applications, simplifying configuration, UI integration, and maintainable architecture.

Core Features & Use Cases

  • Application setup patterns for Blazor Server with XAF: Program.cs configuration, AddXaf and AddXafBlazor integration, object space providers, and security configuration.
  • Thread-safety guidance: InvokeAsync usage to ensure safe UI updates in Blazor Server.
  • UI customization and component integration: embedding custom Razor components as ViewItems using IComponentContentHolder, and JavaScript interop via IJSRuntime.
  • Runtime navigation and error handling: programmatic navigation, UserFriendlyException handling, and SignalR configuration for responsive experiences.

Quick Start

Install the XAF Blazor UI skill and bootstrap a minimal Blazor Server app with XAF integration.

Frequently Asked Questions about xaf-blazor-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure XAF Blazor UI in Program.cs for a Blazor Server app?

To configure XAF Blazor UI in Program.cs, use AddXaf and AddXafBlazor integration methods to set up object space providers, security configuration, and bootstrap your Blazor Server application with full XAF integration.

How do I ensure thread-safe UI updates in Blazor Server with XAF?

Ensure thread-safe UI updates in Blazor Server by using InvokeAsync, which guarantees safe execution when updating the UI from background threads within your XAF Blazor applications.

Can I embed custom Razor components as ViewItems in XAF Blazor?

Yes, you can embed custom Razor components as ViewItems in XAF Blazor using IComponentContentHolder, allowing seamless integration of custom UI elements alongside JavaScript interop via IJSRuntime.

What is the best way to handle errors and navigation in XAF Blazor UI?

The best way to handle errors in XAF Blazor UI is using UserFriendlyException for clear messaging, combined with programmatic navigation and SignalR configuration to maintain responsive user experiences.

Does XAF Blazor UI support EF and XPO object space providers?

Yes, XAF Blazor UI supports both EF and XPO object space providers during application setup in Program.cs, allowing flexible data layer configuration for Blazor Server applications.

How do I customize detail view layouts in XAF Blazor Server?

Customize detail view layouts in XAF Blazor Server through ViewItems, IComponentContentHolder integration, and programmatic navigation patterns to tailor the UI structure to your specific needs.