.NET API
TraconUiBuilderExtensions
Tracon.UI.dllProvides extensions that register the embedded management UI.
public static class TraconUiBuilderExtensionsInheritance
Section titled “Inheritance”object ← TraconUiBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
Section titled “Methods”UseUI(ITraconBuilder)
Section titled “ UseUI(ITraconBuilder)”Registers the embedded management UI. MapTracon finds the
registration and binds the UI routes under the same prefix.
public static ITraconBuilder UseUI(this ITraconBuilder builder)Parameters
Section titled “Parameters”builder ITraconBuilder
The Tracon configuration chain.
Returns
Section titled “Returns”The continuation of the chain.
Remarks
Section titled “Remarks”No separate mapping call is required. The prefix is written in one place -
inside MapTracon - because a prefix written in two places,
once out of sync, would make the UI show a blank page without any error.
Registration uses TryAdd. A consumer that registers its own
ITraconUiProvider implementation earlier wins (the replaceable-extension rule).
builder.AddTracon() .UseOpenAI(apiKey) .UseUI();
app.MapTracon("/tracon");Exceptions
Section titled “Exceptions”builder is null.