mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-08 05:44:08 +00:00
11 lines
329 B
C#
11 lines
329 B
C#
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
|
// Program.cs
|
||
|
|
|
||
|
|
using Microsoft.Extensions.Hosting;
|
||
|
|
|
||
|
|
var appHost = DistributedApplication.CreateBuilder();
|
||
|
|
appHost.AddProject<Projects.HelloAgent>("HelloAgentsDotNetInMemoryRuntime");
|
||
|
|
var app = appHost.Build();
|
||
|
|
await app.StartAsync();
|
||
|
|
await app.WaitForShutdownAsync();
|