AgentEndpointExtensions.MapAgentRootEndpoint(WebApplication) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.