chore: Thêm gói EF Core Design vào ChatService, cập nhật cổng phát triển cục bộ của SocialService và cấu hình chuỗi kết nối cơ sở dữ liệu của nó sang Neon.tech.

This commit is contained in:
Ho Ngoc Hai
2026-01-15 23:57:09 +07:00
parent d018a2eecc
commit a4db8f02b0
3 changed files with 8 additions and 2 deletions

View File

@@ -37,6 +37,12 @@
<!-- EN: SignalR for real-time communication / VI: SignalR cho real-time communication -->
<PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="9.0.0" />
<!-- EN: EF Core Design for migrations / VI: EF Core Design cho migrations -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>

View File

@@ -6,7 +6,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5000",
"applicationUrl": "http://localhost:5009",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

View File

@@ -30,7 +30,7 @@
]
},
"ConnectionStrings": {
"DefaultConnection": "Host=localhost;Port=5432;Database=socialservice_db;Username=postgres;Password=postgres"
"DefaultConnection": "Host=ep-holy-glitter-a4hongg7-pooler.us-east-1.aws.neon.tech;Port=5432;Database=social_service;Username=neondb_owner;Password=npg_Ssfy6HKO0cXI;SSL Mode=Require"
},
"Redis": {
"ConnectionString": "localhost:6379"