File: Program.cs
Web Access
Project: src\tests\testproject\TestProject.WorkerA\TestProject.WorkerA.csproj (TestProject.WorkerA)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using TestProject.WorkerA;
 
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddHostedService<Worker>();
 
using var host = builder.Build();
host.Run();