VitreousDevUIOptions class
Namespace: Vitreous.DevUI
Assembly: Vitreous.DevUI.dll
Configuration options for the Vitreous Developer UI.
public sealed class VitreousDevUIOptionsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”Enabled
Section titled “ Enabled”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; }Property Value
Section titled “Property Value”bool?
Remarks
Section titled “Remarks”While inactive, the tracing behaviors pass straight through and record nothing, and
UseVitreousDevUI() / MapVitreousDevUI() do not expose any endpoints.
MaxCapturedStreamItems
Section titled “ MaxCapturedStreamItems”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; }Property Value
Section titled “Property Value”PathPrefix
Section titled “ PathPrefix”URL path prefix where the developer UI is mounted.
Defaults to /vitreous.
public string PathPrefix { get; set; }Property Value
Section titled “Property Value”RedactedPropertyNames
Section titled “ RedactedPropertyNames”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; }Property Value
Section titled “Property Value”SseHeartbeatInterval
Section titled “ SseHeartbeatInterval”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; }Property Value
Section titled “Property Value”TraceBufferCapacity
Section titled “ TraceBufferCapacity”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; }