Skip to content

VitreousDevUIOptions class

Namespace: Vitreous.DevUI
Assembly: Vitreous.DevUI.dll

Configuration options for the Vitreous Developer UI.

public sealed class VitreousDevUIOptions

object ← VitreousDevUIOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Whether the developer UI and tracing are active. null (the default) means active only when the host environment is Development. Set to true to enable it in other environments (protect it with MapVitreousDevUI().RequireAuthorization()), or false to turn it off.

public bool? Enabled { get; set; }

bool?

While inactive, the tracing behaviors pass straight through and record nothing, and UseVitreousDevUI() / MapVitreousDevUI() do not expose any endpoints.

Maximum number of stream query items whose serialized form is captured for the “Output” tab of a stream trace. Items beyond this limit are still counted but not stored, which keeps memory bounded for long-running or infinite streams. Defaults to 100.

public int MaxCapturedStreamItems { get; set; }

int

URL path prefix where the developer UI is mounted. Defaults to /vitreous.

public string PathPrefix { get; set; }

string

Property names whose values are masked as “***” in captured input, output and stream items. Matching is case-insensitive and by substring, so “token” also masks accessToken and refreshToken. Properties marked with SensitiveAttribute are always masked.

public ISet<string> RedactedPropertyNames { get; }

ISet<string>

How often an idle live-trace connection receives a keep-alive comment, so proxies don’t close it. Defaults to 15 seconds.

public TimeSpan SseHeartbeatInterval { get; set; }

TimeSpan

Maximum number of execution traces to keep in memory. When the buffer is full, the oldest entry is dropped. Defaults to 500.

public int TraceBufferCapacity { get; set; }

int