From a304c24b32c0327436bbd8c2853e60668e161b42 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 29 Dec 2025 00:41:52 +0100 Subject: Rename a lot of stuff, add Santiago real time --- src/Costasdev.Busurbano.Backend/Program.cs | 48 ------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 src/Costasdev.Busurbano.Backend/Program.cs (limited to 'src/Costasdev.Busurbano.Backend/Program.cs') diff --git a/src/Costasdev.Busurbano.Backend/Program.cs b/src/Costasdev.Busurbano.Backend/Program.cs deleted file mode 100644 index 97e7354..0000000 --- a/src/Costasdev.Busurbano.Backend/Program.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System.Text.Json.Serialization; -using Costasdev.Busurbano.Backend.Configuration; -using Costasdev.Busurbano.Backend.Services; -using Costasdev.Busurbano.Backend.Services.Processors; -using Costasdev.Busurbano.Backend.Services.Providers; -using Costasdev.Busurbano.Sources.TranviasCoruna; - -var builder = WebApplication.CreateBuilder(args); - -builder.Services.Configure(builder.Configuration.GetSection("App")); - -builder.Services - .AddControllers() - .AddJsonOptions(options => - { - options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter()); - }); - -builder.Services.AddHttpClient(); -builder.Services.AddMemoryCache(); - -builder.Services.AddSingleton(); - -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); - -builder.Services.AddScoped(); -builder.Services.AddScoped(); - -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); - -builder.Services.AddHttpClient(); -builder.Services.AddHttpClient(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); - -var app = builder.Build(); - -app.MapControllers(); - -app.Run(); -- cgit v1.3