From b04c498322973417250a2044e21511078785f2d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 10 Nov 2020 15:20:56 +0300 Subject: [PATCH] Split UI migration guides --- docs/en/Migration-Guides/Abp-4_0-Angular.md | 11 +++++++ docs/en/Migration-Guides/Abp-4_0-Blazor.md | 16 ++++++++++ .../Abp-4_0-MVC-Razor-Pages.md | 6 ++++ docs/en/Migration-Guides/Abp-4_0.md | 29 ++----------------- 4 files changed, 36 insertions(+), 26 deletions(-) create mode 100644 docs/en/Migration-Guides/Abp-4_0-Angular.md create mode 100644 docs/en/Migration-Guides/Abp-4_0-Blazor.md create mode 100644 docs/en/Migration-Guides/Abp-4_0-MVC-Razor-Pages.md diff --git a/docs/en/Migration-Guides/Abp-4_0-Angular.md b/docs/en/Migration-Guides/Abp-4_0-Angular.md new file mode 100644 index 0000000000..60f6e46de5 --- /dev/null +++ b/docs/en/Migration-Guides/Abp-4_0-Angular.md @@ -0,0 +1,11 @@ +# Angular UI 3.3 to 4.0 Migration Guide + +### Removed the Angular Account Module Public UI + +Angular UI is using the Authorization Code Flow to authenticate since the version 3.1.0 by default. Starting from the version 4.0, this is becoming the only option, because it is the recommended way of authenticating SPAs. + +If you haven't done it yet, see [this post](https://blog.abp.io/abp/ABP-Framework-v3.1-RC-Has-Been-Released) to change the authentication of your application. + +### Removed the SessionState + +Use `SessionStateService` instead of the `SessionState`. See [this issue](https://github.com/abpframework/abp/issues/5606) for details. \ No newline at end of file diff --git a/docs/en/Migration-Guides/Abp-4_0-Blazor.md b/docs/en/Migration-Guides/Abp-4_0-Blazor.md new file mode 100644 index 0000000000..19676fe015 --- /dev/null +++ b/docs/en/Migration-Guides/Abp-4_0-Blazor.md @@ -0,0 +1,16 @@ +# Blazor UI 3.3 to 4.0 Migration Guide + +## Startup Template Changes + +* Change `...` to `
...
` in the `wwwroot/index.html`. + +## AbpCrudPageBase Changes + +- `OpenEditModalAsync` method requires `EntityDto` instead of id (`Guid`) parameter. +- `DeleteEntityAsync` method doesn't display confirmation dialog anymore. You can use the new `EntityActions` component in DataGrids to show confirmation messages. You can also inject `IUiMessageService` to your page or component and call `ConfirmAsync` explicitly. +- Added `GetListInput`. + +## Others + +- Refactored namespaces for some Blazor components ([#6015](https://github.com/abpframework/abp/issues/6015)). +- Remove Async Suffix from IUiMessageService ([#6123](https://github.com/abpframework/abp/pull/6123)). \ No newline at end of file diff --git a/docs/en/Migration-Guides/Abp-4_0-MVC-Razor-Pages.md b/docs/en/Migration-Guides/Abp-4_0-MVC-Razor-Pages.md new file mode 100644 index 0000000000..d2fa97ec5e --- /dev/null +++ b/docs/en/Migration-Guides/Abp-4_0-MVC-Razor-Pages.md @@ -0,0 +1,6 @@ +# MVC / Razor Pages UI 3.3 to 4.0 Migration Guide + +## Use IBrandingProvider in the Volo.Abp.UI Package + +This will be a breaking change for MVC UI, but very easy to fix. `IBrandingProvider` is being moved from `Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components` to `Volo.Abp.Ui.Branding` namespace. So, just update the namespace imports. + diff --git a/docs/en/Migration-Guides/Abp-4_0.md b/docs/en/Migration-Guides/Abp-4_0.md index 23a6255d2d..50d2d34bf1 100644 --- a/docs/en/Migration-Guides/Abp-4_0.md +++ b/docs/en/Migration-Guides/Abp-4_0.md @@ -223,35 +223,12 @@ Most of the applications don't be affected by this change. If you've directly im ## ASP.NET Core MVC / Razor Pages UI -### Use IBrandingProvider in the Volo.Abp.UI Package - -This will be a breaking change for MVC UI, but very easy to fix. `IBrandingProvider` is being moved from `Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components` to `Volo.Abp.Ui.Branding` namespace. So, just update the namespace imports. +See the [ASP.NET Core MVC / Razor Pages UI Migration Guide](Abp-4_0-MVC-Razor-Pages.md). ## Angular UI -### Removed the Angular Account Module Public UI - -Angular UI is using the Authorization Code Flow to authenticate since the version 3.1.0 by default. Starting from the version 4.0, this is becoming the only option, because it is the recommended way of authenticating SPAs. - -If you haven't done it yet, see [this post](https://blog.abp.io/abp/ABP-Framework-v3.1-RC-Has-Been-Released) to change the authentication of your application. - -### Removed the SessionState - -Use `SessionStateService` instead of the `SessionState`. See [this issue](https://github.com/abpframework/abp/issues/5606) for details. +See the [Angular UI Migration Guide](Abp-4_0-Angular.md). ## Blazor UI -### Startup Template Changes - -* Change `...` to `
...
` in the `wwwroot/index.html`. - -### AbpCrudPageBase Changes - -- `OpenEditModalAsync` method requires `EntityDto` instead of id (`Guid`) parameter. -- `DeleteEntityAsync` method doesn't display confirmation dialog anymore. You can use the new `EntityActions` component in DataGrids to show confirmation messages. You can also inject `IUiMessageService` to your page or component and call `ConfirmAsync` explicitly. -- Added `GetListInput`. - -### Others - -- Refactored namespaces for some Blazor components ([#6015](https://github.com/abpframework/abp/issues/6015)). -- Remove Async Suffix from IUiMessageService ([#6123](https://github.com/abpframework/abp/pull/6123)). +See the [Blazor UI Migration Guide](Abp-4_0-Blazor.md). \ No newline at end of file