Program.cs 517 B

123456789101112131415161718192021222324252627
  1. namespace HTEX.Screen
  2. {
  3. public class Program
  4. {
  5. public static void Main(string[] args)
  6. {
  7. var builder = WebApplication.CreateBuilder(args);
  8. // Add services to the container.
  9. builder.Services.AddControllers();
  10. var app = builder.Build();
  11. // Configure the HTTP request pipeline.
  12. app.UseHttpsRedirection();
  13. app.UseAuthorization();
  14. app.MapControllers();
  15. app.Run();
  16. }
  17. }
  18. }