Go to file
Chunyi 9027f7d93d 整合 Entity Framework 和 Swagger 配置
此次更改將 Entity Framework 和 Swagger 的配置整合進入 ASP.NET Core 應用程式中。新增了對 `Microsoft.EntityFrameworkCore` 和 `Microsoft.OpenApi.Models` 的引用,移除了原本的 `AddControllers` 和 `AddSwaggerGen` 方法。新增 `AddDbContext` 方法以配置 MySQL 資料庫的連接字串並設置重試機制。更新了 Swagger 的配置,並啟用了 CORS 和 HTTPS 重定向。
2025-09-30 11:03:49 +08:00
XisongSpaceBooking_BackEnd 整合 Entity Framework 和 Swagger 配置 2025-09-30 11:03:49 +08:00
.gitattributes 新增 .gitattributes 和 .gitignore。 2025-09-26 13:27:13 +08:00
.gitignore 新增 .gitattributes 和 .gitignore。 2025-09-26 13:27:13 +08:00
XisongSpaceBooking_BackEnd.sln 加入專案檔案。 2025-09-26 13:27:14 +08:00