Files
Web_BLVLOG_Server_Mvc_Prod/WebServices/Program.cs
2025-11-20 16:20:37 +08:00

27 lines
527 B
C#

namespace WebServices
{
public class Program
{
public static void Main(string[] args)
{
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddWindowsService();
builder.Services.AddControllers();
var app = builder.Build();
// Configure the HTTP request pipeline.
app.UseAuthorization();
app.MapControllers();
app.Run();
}
}
}