Sample repository demonstrating Aspire E2E shared resource definitions.
This repo contains a SampleApi service with SharedResourceReference metadata in its AppHost, allowing other repositories to import and run this service via a2a import-csproj.
src/SampleApi— A minimal ASP.NET Core APIsrc/SampleB.AppHost— Aspire AppHost withSharedResourceReferenceforsample-api
Other repos can reference this service by adding a SharedResourceReference with a GitHubRepository tag pointing to shirubasoft/aspire-e2e-sample-b, then running:
a2a import-csproj ./path/to/AppHost.csprojThe auto-clone feature will fetch this repo and enrich the imported resource with metadata defined here.