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 ``` ## 手动将最新迁移脚本应用到数据库