Skip to content

Aspire integration for service discovery #18802

Closed
@moljac

Description

@moljac

Description

I am trying to integrate MAUI app with Aspire

Alreay opened issue in Aspire repo:

dotnet/aspire#876

From:

https://github.com/dotnet/aspire/blob/6464fea863ea9ba17712fb38301ec6558bb4810c/src/Aspire.Hosting/Extensions/ProjectResourceBuilderExtensions.cs#L24

Seems like MauiAppBuilder should implement IDistributedApplicationBuilder

https://github.com/dotnet/aspire/blob/6464fea863ea9ba17712fb38301ec6558bb4810c/src/Aspire.Hosting/IDistributedApplicationBuilder.cs#L14

and MAUI project would need to implement:

https://github.com/dotnet/aspire/blob/6464fea863ea9ba17712fb38301ec6558bb4810c/src/Aspire.Hosting/IServiceMetadata.cs#L11

Will dig more. This is conversation starter.

It would be killer feature for some stuff I need and I bet I am not the only one.

Sample
SampleAspireStarter.zip

Discussion

#21064

Public API Changes

Not sure (yet).

Intended Use-Case

Aspire integration for inner dev loop.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions