From a76851fdda8f7de59145eb0bca54357c68a23459 Mon Sep 17 00:00:00 2001 From: Engincan VESKE <43685404+EngincanV@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:42:47 +0300 Subject: [PATCH] Update Abp-8_1.md --- docs/en/Migration-Guides/Abp-8_1.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/Migration-Guides/Abp-8_1.md b/docs/en/Migration-Guides/Abp-8_1.md index 65b3ab7a46..f13ac8d209 100644 --- a/docs/en/Migration-Guides/Abp-8_1.md +++ b/docs/en/Migration-Guides/Abp-8_1.md @@ -83,23 +83,23 @@ public partial class Add_NormalizedName : Migration See https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/managing?tabs=dotnet-core-cli#adding-raw-sql to learn how to add raw SQL to migrations. -## Use `Asp.Versioning.Mvc` to replace `Microsoft.AspNetCore.Mvc.Versioning`. +## Use `Asp.Versioning.Mvc` to replace `Microsoft.AspNetCore.Mvc.Versioning` The Microsoft.AspNetCore.Mvc.Versioning packages are now deprecated and superseded by Asp.Versioning.Mvc. See the announcement here: https://github.com/dotnet/aspnet-api-versioning/discussions/807 -The namespace of [ControllerName] attribute has changed to `using Asp.Versioning`, Please update your code to use the new namespace. +The namespace of the `[ControllerName]` attribute has changed to `using Asp.Versioning`, Please update your code to use the new namespace. Related PR: https://github.com/abpframework/abp/pull/18380 -## Make `IsRedirectAllowedUrlAsync` of `IAppUrlProvider` async. +## New asynchronous methods for `IAppUrlProvider` The `IsRedirectAllowedUrl` method of `IAppUrlProvider` has been changed to `IsRedirectAllowedUrlAsync` and it is now an async method. -You should update your usages of `IAppUrlProvider` to use the new method. +You should update your usage of `IAppUrlProvider` to use the new method. Related PR: https://github.com/abpframework/abp/pull/18492 -## New `ExposeKeyedServiceAttribute` +## New attribute: `ExposeKeyedServiceAttribute` The new `ExposeKeyedServiceAttribute` is used to control which keyed services are provided by the related class. Example: @@ -141,6 +141,6 @@ public class TaxCalculator: ICalculator, ITaxCalculator, ICanCalculate, ITransie } ```` -This is a small **Breaking Change** because `IOnServiceExposingContext` has changed. You should update your usages of `IOnServiceExposingContext` if you related code. +This is a small **Breaking Change** because `IOnServiceExposingContext` has changed. You should update your usage of `IOnServiceExposingContext` if you have related code. Related PR: https://github.com/abpframework/abp/pull/18819