Skip to content
DocsTry Aspire
DocsTry

HostedAgentResourceBuilderExtensions

Classstaticnet10.0
📦 Aspire.Hosting.Foundry v13.5.3-preview.1.26425.3
Extension methods for adding hosted agent applications to the distributed application model.
namespace Aspire.Hosting;
public static class HostedAgentResourceBuilderExtensions
{
// ...
}
AsHostedAgent(IResourceBuilder<T>, HostedAgentProtocol, string)extensionats ignored
IResourceBuilder<T>
Configures the resource to run and publish as a Microsoft Foundry hosted agent.
AsHostedAgent(IResourceBuilder<T>)extensionats ignored
IResourceBuilder<T>
Configures the resource to run and publish as a Microsoft Foundry hosted agent using the Responses protocol version 2.0.0.
AsHostedAgent(IResourceBuilder<T>, IResourceBuilder<AzureCognitiveServicesProjectResource>, Action<HostedAgentConfiguration>)extensionats ignored
IResourceBuilder<T>
Configures the resource to run and publish as a Microsoft Foundry hosted agent using the Responses protocol version 2.0.0.
AsHostedAgent(IResourceBuilder<T>, Action<HostedAgentConfiguration>)extensionats ignored
IResourceBuilder<T>
Configures the resource to run and publish as a Microsoft Foundry hosted agent using the Responses protocol version 2.0.0.
AsHostedAgent(IResourceBuilder<T>, IResourceBuilder<AzureCognitiveServicesProjectResource>, HostedAgentProtocol, string, Action<HostedAgentConfiguration>)extensionats ignored
IResourceBuilder<T>
AsHostedAgent(IResourceBuilder<T>, HostedAgentProtocol, string, Action<HostedAgentConfiguration>)extensionats ignored
IResourceBuilder<T>
View all methods