使用 Aspire 启动分布式微服务

This commit is contained in:
administrator committed 2024-11-15 22:42:18 +08:00
1 parent 81d8f1b3f9
commit b9a6d002ca
7 files changed
+66 -14

No files matched your search

@@ -15,9 +15,6 @@ namespace HelloShop.IdentityService.Infrastructure
base.OnModelCreating(modelBuilder);
modelBuilder.ApplyConfigurationsFromAssembly(Assembly.GetExecutingAssembly());
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true);
}
}
}