File: Program.cs | Web Access |
Project: src\playground\TestShop\OrderProcessor\OrderProcessor.csproj (OrderProcessor) |
using OrderProcessor; var builder = Host.CreateApplicationBuilder(args); builder.AddServiceDefaults(); builder.AddRabbitMQClient("messaging"); builder.Services.AddHostedService<OrderProcessingWorker>(); var host = builder.Build(); host.Run(); |