Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 838 Bytes

File metadata and controls

20 lines (12 loc) · 838 Bytes

aspire-e2e-sample-b

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.

Structure

  • src/SampleApi — A minimal ASP.NET Core API
  • src/SampleB.AppHost — Aspire AppHost with SharedResourceReference for sample-api

Usage

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.csproj

The auto-clone feature will fetch this repo and enrich the imported resource with metadata defined here.