File: Program.cs | Web Access |
Project: src\playground\Qdrant\Qdrant.AppHost\Qdrant.AppHost.csproj (Qdrant.AppHost) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. var builder = DistributedApplication.CreateBuilder(args); var qdrant = builder.AddQdrant("qdrant") .WithDataVolume("qdrant-data"); builder.AddProject<Projects.Qdrant_ApiService>("apiservice") .WithExternalHttpEndpoints() .WithReference(qdrant) .WaitFor(qdrant); builder.Build().Run(); |