Medusa.net/Medusa.Core/Program.cs

22 lines
351 B
C#
Raw Normal View History

using FastEndpoints;
using Medusa.Core.Extensions;
using Medusa.Core.Request;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddFastEndpoints();
builder.Services.AddHandlers();
builder.AddServiceDefaults();
// Add services to the container.
var app = builder.Build();
app.UseFastEndpoints();
app.UseHandlers();
app.Run();