using RhSolutions.SkuParser.Services; var builder = WebApplication.CreateBuilder(args); builder.Services .AddKeyedScoped("text/csv") .AddKeyedScoped("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") .AddKeyedScoped("application/vnd.ms-excel.sheet.macroenabled.12"); builder.Services.AddControllers(); var app = builder.Build(); app.MapControllers(); app.Run();