Skip to content

Commit

Permalink
Revised module references for the service template. Fixed #872.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Mar 20, 2019
1 parent 4207445 commit 511718c
Show file tree
Hide file tree
Showing 11 changed files with 791 additions and 60 deletions.
6 changes: 6 additions & 0 deletions templates/service/host/IdentityServerHost/DemoAppDbContext.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
using Microsoft.EntityFrameworkCore;
using Volo.Abp.AuditLogging.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Identity.EntityFrameworkCore;
using Volo.Abp.IdentityServer.EntityFrameworkCore;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;

namespace IdentityServerHost
{
Expand All @@ -17,6 +20,9 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);

modelBuilder.ConfigurePermissionManagement();
modelBuilder.ConfigureSettingManagement();
modelBuilder.ConfigureAuditLogging();
modelBuilder.ConfigureIdentity();
modelBuilder.ConfigureIdentityServer();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<ProjectReference Include="..\..\..\..\modules\identityserver\src\Volo.Abp.IdentityServer.EntityFrameworkCore\Volo.Abp.IdentityServer.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\..\..\modules\identity\src\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\..\..\modules\identity\src\Volo.Abp.Identity.AspNetCore\Volo.Abp.Identity.AspNetCore.csproj" />
<ProjectReference Include="..\..\..\..\modules\permission-management\src\Volo.Abp.PermissionManagement.EntityFrameworkCore\Volo.Abp.PermissionManagement.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\..\..\modules\setting-management\src\Volo.Abp.SettingManagement.EntityFrameworkCore\Volo.Abp.SettingManagement.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\..\..\modules\audit-logging\src\Volo.Abp.AuditLogging.EntityFrameworkCore\Volo.Abp.AuditLogging.EntityFrameworkCore.csproj" />
</ItemGroup>

<ItemGroup>
Expand All @@ -26,9 +29,4 @@
<None Remove="Logs\**" />
</ItemGroup>

<ItemGroup>
<Compile Remove="Migrations\20181212121034_Initial.cs" />
<Compile Remove="Migrations\20181218135354_Initial.cs" />
</ItemGroup>

</Project>
Loading

0 comments on commit 511718c

Please sign in to comment.