次の方法で共有


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 void MapAgentRootEndpoint(this Microsoft.AspNetCore.Builder.WebApplication app);
static member MapAgentRootEndpoint : Microsoft.AspNetCore.Builder.WebApplication -> unit
<Extension()>
Public Sub MapAgentRootEndpoint (app As WebApplication)

Parameters

app
WebApplication

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

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