Browse Source

spacing

pull/14374/head
Sean Killeen 4 years ago
parent
commit
6d187c6f9b
  1. 85
      docs/en/Migration-Guides/OpenIddict-Step-by-Step.md

85
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 ### Domain.Shared Layer
- In **MyApplication.Domain.Shared.csproj** replace **project reference**: - In **MyApplication.Domain.Shared.csproj** replace **project reference**:
```csharp
<PackageReference Include="Volo.Abp.IdentityServer.Domain.Shared" Version="6.0.*" /> ```csharp
``` <PackageReference Include="Volo.Abp.IdentityServer.Domain.Shared" Version="6.0.*" />
```
with with
```csharp
<PackageReference Include="Volo.Abp.OpenIddict.Domain.Shared" Version="6.0.*" /> ```csharp
``` <PackageReference Include="Volo.Abp.OpenIddict.Domain.Shared" Version="6.0.*" />
```
- In **MyApplicationDomainSharedModule.cs** replace usings and **module dependencies:** - 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) typeof(AbpIdentityServerDomainSharedModule)
``` ```
with with
```csharp ```csharp
using Volo.Abp.OpenIddict; 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**: - In **MyApplicationDomainModule.cs** replace usings and **module dependencies**:
```csharp ```csharp
using Volo.Abp.IdentityServer; using Volo.Abp.IdentityServer;
using Volo.Abp.PermissionManagement.IdentityServer; using Volo.Abp.PermissionManagement.IdentityServer;
... ...
typeof(AbpIdentityServerDomainModule), typeof(AbpIdentityServerDomainModule),
typeof(AbpPermissionManagementDomainIdentityServerModule), typeof(AbpPermissionManagementDomainIdentityServerModule),
``` ```
with with
```csharp ```csharp
using Volo.Abp.OpenIddict; using Volo.Abp.OpenIddict;
using Volo.Abp.PermissionManagement.OpenIddict; using Volo.Abp.PermissionManagement.OpenIddict;
... ...
typeof(AbpOpenIddictDomainModule), typeof(AbpOpenIddictDomainModule),
typeof(AbpPermissionManagementDomainOpenIddictModule), typeof(AbpPermissionManagementDomainOpenIddictModule),
``` ```
#### OpenIddictDataSeedContributor #### 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**: - In **MyApplicationEntityFrameworkCoreModule.cs** replace usings and **module dependencies**:
```csharp ```csharp
using Volo.Abp.IdentityServer.EntityFrameworkCore; using Volo.Abp.IdentityServer.EntityFrameworkCore;
... ...
typeof(AbpIdentityServerEntityFrameworkCoreModule), typeof(AbpIdentityServerEntityFrameworkCoreModule),
``` ```
with with
```csharp ```csharp
using Volo.Abp.OpenIddict.EntityFrameworkCore; using Volo.Abp.OpenIddict.EntityFrameworkCore;
... ...
typeof(AbpOpenIddictEntityFrameworkCoreModule), typeof(AbpOpenIddictEntityFrameworkCoreModule),
``` ```
- In **MyApplicationDbContext.cs** replace usings and **fluent api configurations**: - 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**: - In **MyApplicationMongoDbModule.cs** replace usings and **module dependencies**:
```csharp ```csharp
using Volo.Abp.IdentityServer.MongoDB; using Volo.Abp.IdentityServer.MongoDB;
... ...
typeof(AbpIdentityServerMongoDbModule), typeof(AbpIdentityServerMongoDbModule),
``` ```
with with
```csharp ```csharp
using Volo.Abp.OpenIddict.MongoDB; using Volo.Abp.OpenIddict.MongoDB;
... ...
typeof(AbpOpenIddictMongoDbModule), typeof(AbpOpenIddictMongoDbModule),
``` ```
### DbMigrator Project ### DbMigrator Project

Loading…
Cancel
Save