Table of Contents

Method OpenEntryDocument

Namespace
Millrace.Dashboard
Assembly
Millrace.Dashboard.dll

OpenEntryDocument(out string)

The entry document served for the mount root and for any path with no matching asset.

public Stream OpenEntryDocument(out string contentType)

Parameters

contentType string

Returns

Stream

Exceptions

InvalidOperationException

The bundle has no ui/index.html, which means the package was built without its UI assets — almost always -p:SkipUiBuild=true, or Node missing on the build machine. It throws rather than returning null because a dashboard with no entry document cannot degrade into anything useful, and the message names the fix.