diff --git a/docs/en/Migration-Guides/OpenIddict-Step-by-Step.md b/docs/en/Migration-Guides/OpenIddict-Step-by-Step.md
index ba6b264758..b6ad9172da 100644
--- a/docs/en/Migration-Guides/OpenIddict-Step-by-Step.md
+++ b/docs/en/Migration-Guides/OpenIddict-Step-by-Step.md
@@ -19,13 +19,16 @@ Use the `abp update` command to update your existing application. See [Upgrading
### Domain.Shared Layer
- In **MyApplication.Domain.Shared.csproj** replace **project reference**:
- ```csharp
-
- ```
+
+```csharp
+
+```
+
with
- ```csharp
-
- ```
+
+```csharp
+
+```
- In **MyApplicationDomainSharedModule.cs** replace usings and **module dependencies:**
@@ -34,7 +37,9 @@ Use the `abp update` command to update your existing application. See [Upgrading
...
typeof(AbpIdentityServerDomainSharedModule)
```
+
with
+
```csharp
using Volo.Abp.OpenIddict;
...
@@ -58,23 +63,23 @@ Use the `abp update` command to update your existing application. See [Upgrading
- In **MyApplicationDomainModule.cs** replace usings and **module dependencies**:
- ```csharp
- using Volo.Abp.IdentityServer;
- using Volo.Abp.PermissionManagement.IdentityServer;
- ...
- typeof(AbpIdentityServerDomainModule),
- typeof(AbpPermissionManagementDomainIdentityServerModule),
- ```
+```csharp
+using Volo.Abp.IdentityServer;
+using Volo.Abp.PermissionManagement.IdentityServer;
+...
+typeof(AbpIdentityServerDomainModule),
+typeof(AbpPermissionManagementDomainIdentityServerModule),
+```
with
- ```csharp
- using Volo.Abp.OpenIddict;
- using Volo.Abp.PermissionManagement.OpenIddict;
- ...
- typeof(AbpOpenIddictDomainModule),
- typeof(AbpPermissionManagementDomainOpenIddictModule),
- ```
+```csharp
+using Volo.Abp.OpenIddict;
+using Volo.Abp.PermissionManagement.OpenIddict;
+...
+typeof(AbpOpenIddictDomainModule),
+typeof(AbpPermissionManagementDomainOpenIddictModule),
+```
#### OpenIddictDataSeedContributor
@@ -101,19 +106,19 @@ If you are using MongoDB, skip this step and check the *MongoDB* layer section.
- In **MyApplicationEntityFrameworkCoreModule.cs** replace usings and **module dependencies**:
- ```csharp
- using Volo.Abp.IdentityServer.EntityFrameworkCore;
- ...
- typeof(AbpIdentityServerEntityFrameworkCoreModule),
- ```
+```csharp
+using Volo.Abp.IdentityServer.EntityFrameworkCore;
+...
+typeof(AbpIdentityServerEntityFrameworkCoreModule),
+```
with
- ```csharp
- using Volo.Abp.OpenIddict.EntityFrameworkCore;
- ...
- typeof(AbpOpenIddictEntityFrameworkCoreModule),
- ```
+```csharp
+using Volo.Abp.OpenIddict.EntityFrameworkCore;
+...
+typeof(AbpOpenIddictEntityFrameworkCoreModule),
+```
- In **MyApplicationDbContext.cs** replace usings and **fluent api configurations**:
@@ -165,19 +170,19 @@ If you are using EntityFrameworkCore, skip this step and check the *EntityFramew
- In **MyApplicationMongoDbModule.cs** replace usings and **module dependencies**:
- ```csharp
- using Volo.Abp.IdentityServer.MongoDB;
- ...
- typeof(AbpIdentityServerMongoDbModule),
- ```
+```csharp
+using Volo.Abp.IdentityServer.MongoDB;
+...
+typeof(AbpIdentityServerMongoDbModule),
+```
with
- ```csharp
- using Volo.Abp.OpenIddict.MongoDB;
- ...
- typeof(AbpOpenIddictMongoDbModule),
- ```
+```csharp
+using Volo.Abp.OpenIddict.MongoDB;
+...
+typeof(AbpOpenIddictMongoDbModule),
+```
### DbMigrator Project