Table of Contents

Constructor EmbeddedBundleUi

Namespace
Millrace.Dashboard
Assembly
Millrace.Dashboard.dll

EmbeddedBundleUi(Assembly, string)

A IMillraceDashboardUi whose assets are embedded resources under ui/.

protected EmbeddedBundleUi(Assembly assembly, string name)

Parameters

assembly Assembly

The assembly holding the embedded bundle.

name string

The UI's name, for the startup log line โ€” e.g. "React".

Remarks

Every official UI package ships the same way โ€” a prebuilt bundle compiled into the assembly, so a consumer installs one NuGet package and never touches Node, npm or a CDN (ยง7). Only the assembly and the name differ, so the serving logic lives here once rather than three times: three copies would drift, and the drift would show up as one framework's dashboard 404ing an asset the others serve.

A UI package that is not a bundle of static files is free to implement the interface directly; this is a convenience for the shape all three official ones happen to have.