Microsoft.Agents.Hosting.AspNetCore Namespace

Classes

Name Description
AdapterOptions

Configuration options for CloudAdapter runtime behavior.

AgentEndpointExtensions

Provides extension methods for mapping HTTP endpoints related to Agent applications, including activity protocol endpoints, proactive messaging, and root informational endpoints, to ASP.NET Core applications.

ChannelApiController

This contains the routes for the ChannelAPI. These are the endpoints that ConnectorClient uses in the case of a Agent-to-Agent. The implementation of this is via IChannelApiHandler. See the Microsoft.Agents.Builder.ProxyChannelApiHandler class for an example of this for Dialogs.SkillDialog and Agent-to-Agent. IConnectorClient

ChannelResponseQueue

Producer/consumer queue to read Activities sent by the Adapter during asynchronous background requests such as DeliveryMode.Stream/ExpectReplies.

CloudAdapter

The CloudAdapter will queue the incoming request to be processed by the configured background service if possible.

HeaderPropagationMiddleware

A middleware to propagate incoming request headers to outgoing ones by internally using the HeaderPropagationContext static class.

HttpHelper

Helper class with methods to help with reading and responding to HTTP requests.

ServiceCollectionExtensions

Provides extension methods for registering agent-related services, adapters, and middleware with dependency injection containers and application builders.

Interfaces

Name Description
IAgentHttpAdapter

An Adapter that handles Http request/response.

IChannelResponseHandler

Defines methods for handling the lifecycle of an HTTP response in a channel-based communication pipeline.

Delegates

Name Description
AgentEndpointExtensions.ProcessRequestDelegate

The delegate signature for custom AgentApplication request processing methods when specified in AgentInterfaceAttribute.ProcessDelegate.

AgentEndpointExtensions.ProcessRequestDelegate<TAdapter,TAgent>

Represents an asynchronous method that processes an HTTP request using the specified adapter and agent.