using Lamar.Microsoft.DependencyInjection; var builder = WebApplication.CreateBuilder(args); builder.Services.AddLamar(); builder.Services.AddControllers(); builder.Services.AddSignalR(); builder.Services.AddDbContext(); builder.Services.Configure(builder.Configuration.GetSection(nameof(Pulsar))); var app = builder.Build(); await app.RunAsync(); public class PulsarConfiguration { public string JournalDirectory { get; set; } }