Interface IMillraceDashboardUi
A set of prebuilt UI assets served under the dashboard mount.
public interface IMillraceDashboardUi
Remarks
Implemented by the official UI packages (React, Angular, Blazor), each shipping an embedded
prebuilt bundle so consumers never install Node (§7). A consumer references the backend plus
exactly one UI package; registering it is what makes MapMillraceDashboard serve a UI at
all, so the mount stays a single call and the prefix is never repeated.
Assets are static and versioned with the package, so implementations are expected to resolve from memory or embedded resources rather than the filesystem.
Properties
- Name
The UI's name, for the startup log line — e.g. "React".
Methods
- OpenEntryDocument(out string)
The entry document served for the mount root and for any path with no matching asset.
- TryOpenAsset(string, out Stream, out string)
Opens the asset at
relativePath(no leading slash), or returns false if this bundle has no such asset.