From bfc15537da5d3db4622b4d394659ae75f444a4a5 Mon Sep 17 00:00:00 2001 From: hello Date: Thu, 3 Apr 2025 06:13:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AC=94=E8=AE=B0=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/helloshop/hybrid-cache-library.md | 2 ++ notes/helloshop/migration-dataseeding.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/notes/helloshop/hybrid-cache-library.md b/notes/helloshop/hybrid-cache-library.md index 4a168de..469d212 100644 --- a/notes/helloshop/hybrid-cache-library.md +++ b/notes/helloshop/hybrid-cache-library.md @@ -11,6 +11,8 @@ Service 1 ----> HybridCache ----> MemoryCache ----> DistributedCache ``` +https://learn.microsoft.com/zh-cn/azure/architecture/best-practices/caching + ## 安装程序包 diff --git a/notes/helloshop/migration-dataseeding.md b/notes/helloshop/migration-dataseeding.md index d83e9cf..0a24638 100644 --- a/notes/helloshop/migration-dataseeding.md +++ b/notes/helloshop/migration-dataseeding.md @@ -3,7 +3,7 @@ ## 生成迁移脚本 ```shell -ef migrations add InitialCreate -o Infrastructure/Migrations +dotnet ef migrations add InitialCreate --output-dir Infrastructure/Migrations ``` ## 手动将最新迁移脚本应用到数据库