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).