12 lines
240 B
C#
12 lines
240 B
C#
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
builder.Services.AddEndpointsApiExplorer();
|
|
builder.Services.AddControllers();
|
|
|
|
var app = builder.Build();
|
|
app.UseWebSockets();
|
|
app.MapControllers();
|
|
app.UseHttpsRedirection();
|
|
app.Run();
|
|
|