Skip to content

AI Foundry Local and integration / support for .NET Aspire in WSL2 / Linux #222

@MedAnd

Description

@MedAnd

AI Foundry Local and integration / support for .NET Aspire running in WSL2 / Linux

With all the positive news and adoption surrounding .NET Aspire Preview support for Foundry Local for development, there is an opportunity to build out & support the WSL2 / Linux Developer experience.

The current implementation of Foundry Local in .NET Aspire appears to assume that .NET Aspire is running on the same host as the Foundry Local service. This creates friction for development workflows where .NET Aspire is run from WSL2 or Linux, but Foundry Local is only supported on Windows or macOS currently.

Describe the solution you'd like

💡 Feature Request

Please align your design and roadmap with that of .NET Aspire Foundry Local implementation, to address support and documentation for the following:

  1. Remote Foundry Local configuration:

    • Allow .NET Aspire to connect to a Foundry Local instance running on a different host (e.g., Windows host from WSL2).
    • Enable configuration of the Foundry Local endpoint via .WithEndpoint() or similar methods.
  2. Enhance RunAsFoundryLocal():

    • Add an overload or configuration option to specify the location of the Foundry Local service.
    • Support environment variables or distributed app settings to override the default behavior.
    • Add support for Foundry Local service lifecycle support (stop, start, status) etc.
    • Add support for Foundry Local service Open Telemetry, logs, traces and metrics where applicable in .NET Aspire Dashboard

Additional context

🔍 Current Limitation in .NET Aspire Foundry Local Support

var foundry = builder.AddAzureAIFoundry("foundry")
                     .RunAsFoundryLocal();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions