From 07d47ce314743df66770156d94491730094d2b31 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 27 Nov 2020 17:27:36 +0800 Subject: [PATCH] Update Abp-4_0.md --- docs/en/Migration-Guides/Abp-4_0.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/Migration-Guides/Abp-4_0.md b/docs/en/Migration-Guides/Abp-4_0.md index 33ccc63513..6c5540df9e 100644 --- a/docs/en/Migration-Guides/Abp-4_0.md +++ b/docs/en/Migration-Guides/Abp-4_0.md @@ -251,6 +251,7 @@ public class MyService : ITransientDependency ```` Pre-built modules already handles this. However, if you have used `IdentityOptions` directly in your code, you also need to follow this new pattern. +Please make sure that the injected `IOptions` service and the service consuming it are in the same scope of dependency injection container. ## ASP.NET Core MVC / Razor Pages UI @@ -262,4 +263,4 @@ See the [Angular UI Migration Guide](Abp-4_0-Angular.md). ## Blazor UI -See the [Blazor UI Migration Guide](Abp-4_0-Blazor.md). \ No newline at end of file +See the [Blazor UI Migration Guide](Abp-4_0-Blazor.md).