Files
hrynco-notification-service/HrynCo.NotificationService.Worker/Program.cs
T
Anatolii Grynchuk 8aee35c123 chore: scaffold solution with Core, Api, Worker and test projects
- HrynCo.NotificationService.Core (class library)
- HrynCo.NotificationService.Api (ASP.NET Core Web API)
- HrynCo.NotificationService.Worker (Worker Service)
- HrynCo.NotificationService.Core.Tests (xUnit)
- HrynCo.NotificationService.Api.IntegrationTests (xUnit)
- Api and Worker reference Core
- Test projects reference their respective targets

Ref: IT-628

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 18:54:38 +03:00

8 lines
179 B
C#

using HrynCo.NotificationService.Worker;
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddHostedService<Worker>();
var host = builder.Build();
host.Run();