AgentEndpointExtensions.MapAgentRootEndpoint(WebApplication) Method

Definition

Maps the root endpoint ('/') of the web application to return the assembly name and version information for the Microsoft Agents SDK.

public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapAgentRootEndpoint(this Microsoft.AspNetCore.Builder.WebApplication app);
static member MapAgentRootEndpoint : Microsoft.AspNetCore.Builder.WebApplication -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function MapAgentRootEndpoint (app As WebApplication) As IEndpointConventionBuilder

Parameters

app
WebApplication

The web application instance to which the root endpoint will be mapped.

Returns

Remarks

The root endpoint provides a simple informational response containing the name and version of the calling assembly. This can be useful for diagnostics or verifying deployment details.

Applies to