Fermyon.Aspire.Spin adds support for Spin to .NET Aspire.
The project is under active development, so no guarantees of stability or compatibility can be expected - but we still hope you think it's great!
# Add Fermyon.Aspire.Spin to your .NET Aspire project
dotnet add package Fermyon.Aspire.SpinFermyon.Aspire.Spin contributes extensions to the Aspire.Hosting namespace. Adding an existing Spin App to your DistributedApplicationBuilder is as simple as calling AddSpinApp:
var builder = DistributedApplication.CreateBuilder(args);
builder.AddSpinApp("api-one", "../api-one", 3001)
.WithOtlpExporter();
builder.Build().Run();Check out the example folder, it contains a basic sample illustrating how you can design a distributed application using multiple Spin Apps