Initial code commit.

This commit is contained in:
2026-02-03 10:44:31 +08:00
parent 8927c5ae0e
commit d69fe2cc1f
99 changed files with 10839 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using Serilog;
using Sufi.Demo.PeopleDirectory.UI.Server;
try
{
var builder = WebApplication.CreateBuilder(args);
var app = builder.ConfigureServices()
.ConfigurePipeline();
// Ensure all pending migrations are applied.
await app.EnsureDatabaseMigrationAsync();
app.Run();
}
catch (Exception ex)
{
Log.Fatal(ex, "Application terminated unexpectedly");
}
finally
{
Log.CloseAndFlush();
}