mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 02:20:20 +08:00
23 lines
399 B
C#
23 lines
399 B
C#
using Booking;
|
|
using Booking.Extensions.Infrastructure;
|
|
using BuildingBlocks.Web;
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
builder.AddMinimalEndpoints(assemblies: typeof(BookingRoot).Assembly);
|
|
builder.AddInfrastructure();
|
|
|
|
var app = builder.Build();
|
|
|
|
app.MapMinimalEndpoints();
|
|
app.UseInfrastructure();
|
|
|
|
app.Run();
|
|
|
|
namespace Booking.Api
|
|
{
|
|
public partial class Program
|
|
{
|
|
}
|
|
}
|