Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions BookStore-Angular-MongoDb/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
},
"private": true,
"dependencies": {
"@abp/ng.account": "^8.3.0",
"@abp/ng.components": "^8.3.0",
"@abp/ng.core": "^8.3.0",
"@abp/ng.oauth": "^8.3.0",
"@abp/ng.identity": "^8.3.0",
"@abp/ng.setting-management": "^8.3.0",
"@abp/ng.tenant-management": "^8.3.0",
"@abp/ng.theme.shared": "^8.3.0",
"@abp/ng.theme.lepton-x": "~3.3.0",
"@abp/ng.account": "^9.3.3",
"@abp/ng.components": "^9.3.3",
"@abp/ng.core": "^9.3.3",
"@abp/ng.oauth": "^9.3.3",
"@abp/ng.identity": "^9.3.3",
"@abp/ng.setting-management": "^9.3.3",
"@abp/ng.tenant-management": "^9.3.3",
"@abp/ng.theme.shared": "^9.3.3",
"@abp/ng.theme.lepton-x": "~4.3.3",
"@angular/animations": "^18.1.0",
"@angular/common": "^18.1.0",
"@angular/compiler": "^18.1.0",
Expand All @@ -36,7 +36,7 @@
"zone.js": "~0.14.0"
},
"devDependencies": {
"@abp/ng.schematics": "^8.3.0",
"@abp/ng.schematics": "^9.3.3",
"@angular-devkit/build-angular": "^18.1.0",
"@angular-eslint/builder": "~18.1.0",
"@angular-eslint/eslint-plugin": "~18.1.0",
Expand Down
1,293 changes: 1,001 additions & 292 deletions BookStore-Angular-MongoDb/angular/yarn.lock

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions BookStore-Angular-MongoDb/aspnet-core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,7 @@ src/Acme.BookStore.Blazor.Server.Tiered/Logs/*

# Use abp install-libs to restore.
**/wwwroot/libs/*


# ABP Studio
**/.abpstudio/
100 changes: 100 additions & 0 deletions BookStore-Angular-MongoDb/aspnet-core/Acme.BookStore.abpmdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"imports": {
"Volo.Abp.LeptonXLiteTheme": {
"version": "4.3.3",
"isInstalled": true
},
"Volo.Abp.Account": {
"version": "9.3.3",
"isInstalled": true
},
"Volo.Abp.OpenIddict": {
"version": "9.3.3",
"isInstalled": true
},
"Volo.Abp.Identity": {
"version": "9.3.3",
"isInstalled": true
},
"Volo.Abp.TenantManagement": {
"version": "9.3.3",
"isInstalled": true
},
"Volo.Abp.SettingManagement": {
"version": "9.3.3",
"isInstalled": true
},
"Volo.Abp.PermissionManagement": {
"version": "9.3.3",
"isInstalled": true
},
"Volo.Abp.FeatureManagement": {
"version": "9.3.3",
"isInstalled": true
}
},
"folders": {
"items": {
"src": {},
"test": {}
}
},
"packages": {
"Acme.BookStore.Domain": {
"path": "src/Acme.BookStore.Domain/Acme.BookStore.Domain.abppkg",
"folder": "src"
},
"Acme.BookStore.Application": {
"path": "src/Acme.BookStore.Application/Acme.BookStore.Application.abppkg",
"folder": "src"
},
"Acme.BookStore.Application.Tests": {
"path": "test/Acme.BookStore.Application.Tests/Acme.BookStore.Application.Tests.abppkg",
"folder": "test"
},
"Acme.BookStore.MongoDB": {
"path": "src/Acme.BookStore.MongoDB/Acme.BookStore.MongoDB.abppkg",
"folder": "src"
},
"Acme.BookStore.Domain.Shared": {
"path": "src/Acme.BookStore.Domain.Shared/Acme.BookStore.Domain.Shared.abppkg",
"folder": "src"
},
"Acme.BookStore.Application.Contracts": {
"path": "src/Acme.BookStore.Application.Contracts/Acme.BookStore.Application.Contracts.abppkg",
"folder": "src"
},
"Acme.BookStore.HttpApi": {
"path": "src/Acme.BookStore.HttpApi/Acme.BookStore.HttpApi.abppkg",
"folder": "src"
},
"Acme.BookStore.HttpApi.Client": {
"path": "src/Acme.BookStore.HttpApi.Client/Acme.BookStore.HttpApi.Client.abppkg",
"folder": "src"
},
"Acme.BookStore.TestBase": {
"path": "test/Acme.BookStore.TestBase/Acme.BookStore.TestBase.abppkg",
"folder": "test"
},
"Acme.BookStore.Domain.Tests": {
"path": "test/Acme.BookStore.Domain.Tests/Acme.BookStore.Domain.Tests.abppkg",
"folder": "test"
},
"Acme.BookStore.MongoDB.Tests": {
"path": "test/Acme.BookStore.MongoDB.Tests/Acme.BookStore.MongoDB.Tests.abppkg",
"folder": "test"
},
"Acme.BookStore.HttpApi.Client.ConsoleTestApp": {
"path": "test/Acme.BookStore.HttpApi.Client.ConsoleTestApp/Acme.BookStore.HttpApi.Client.ConsoleTestApp.abppkg",
"folder": "test"
},
"Acme.BookStore.DbMigrator": {
"path": "src/Acme.BookStore.DbMigrator/Acme.BookStore.DbMigrator.abppkg",
"folder": "src"
},
"Acme.BookStore.HttpApi.Host": {
"path": "src/Acme.BookStore.HttpApi.Host/Acme.BookStore.HttpApi.Host.abppkg",
"folder": "src"
}
}
}
14 changes: 14 additions & 0 deletions BookStore-Angular-MongoDb/aspnet-core/Acme.BookStore.abpsln
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"id": "b8de8587-4bb1-444b-8c20-bb6d2bf9475b",
"template": "empty",
"modules": {
"Acme.BookStore": {
"path": "Acme.BookStore.abpmdl"
}
},
"runProfiles": {
"Default": {
"path": "etc/abp-studio/run-profiles/Default.abprun.json"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"folders": {
"items": {
"Angular": {}
}
},
"applications": {
"Acme.BookStore.HttpApi.Host": {
"type": "dotnet-project",
"path": "../../../src/Acme.BookStore.HttpApi.Host/Acme.BookStore.HttpApi.Host.csproj",
"launchUrl": "https://localhost:44367"
},
"Angular": {
"type": "cli",
"startCommand": "./start.ps1",
"workingDirectory": "../../../../angular",
"launchUrl": "http://localhost:4200"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"role": "lib.application-contracts"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.ObjectExtending" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Account.Application.Contracts" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Identity.Application.Contracts" Version="8.3.0" />
<PackageReference Include="Volo.Abp.PermissionManagement.Application.Contracts" Version="8.3.0" />
<PackageReference Include="Volo.Abp.TenantManagement.Application.Contracts" Version="8.3.0" />
<PackageReference Include="Volo.Abp.FeatureManagement.Application.Contracts" Version="8.3.0" />
<PackageReference Include="Volo.Abp.SettingManagement.Application.Contracts" Version="8.3.0" />
<PackageReference Include="Volo.Abp.ObjectExtending" Version="9.3.3" />
<PackageReference Include="Volo.Abp.Account.Application.Contracts" Version="9.3.3" />
<PackageReference Include="Volo.Abp.Identity.Application.Contracts" Version="9.3.3" />
<PackageReference Include="Volo.Abp.PermissionManagement.Application.Contracts" Version="9.3.3" />
<PackageReference Include="Volo.Abp.TenantManagement.Application.Contracts" Version="9.3.3" />
<PackageReference Include="Volo.Abp.FeatureManagement.Application.Contracts" Version="9.3.3" />
<PackageReference Include="Volo.Abp.SettingManagement.Application.Contracts" Version="9.3.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"role": "lib.application"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\..\common.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<RootNamespace>Acme.BookStore</RootNamespace>
</PropertyGroup>

Expand All @@ -13,12 +13,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.Account.Application" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Identity.Application" Version="8.3.0" />
<PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="8.3.0" />
<PackageReference Include="Volo.Abp.TenantManagement.Application" Version="8.3.0" />
<PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="8.3.0" />
<PackageReference Include="Volo.Abp.SettingManagement.Application" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Account.Application" Version="9.3.3" />
<PackageReference Include="Volo.Abp.Identity.Application" Version="9.3.3" />
<PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="9.3.3" />
<PackageReference Include="Volo.Abp.TenantManagement.Application" Version="9.3.3" />
<PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="9.3.3" />
<PackageReference Include="Volo.Abp.SettingManagement.Application" Version="9.3.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand All @@ -29,7 +29,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.Autofac" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Autofac" Version="9.3.3" />
<ProjectReference Include="..\Acme.BookStore.Application.Contracts\Acme.BookStore.Application.Contracts.csproj" />
<ProjectReference Include="..\Acme.BookStore.MongoDB\Acme.BookStore.MongoDB.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"role": "lib.domain-shared"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.Identity.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.BackgroundJobs.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.AuditLogging.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.TenantManagement.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.FeatureManagement.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.SettingManagement.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.OpenIddict.Domain.Shared" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Identity.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.BackgroundJobs.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.AuditLogging.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.TenantManagement.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.FeatureManagement.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.SettingManagement.Domain.Shared" Version="9.3.3" />
<PackageReference Include="Volo.Abp.OpenIddict.Domain.Shared" Version="9.3.3" />
</ItemGroup>

<ItemGroup>
Expand All @@ -25,7 +25,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.4" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="9.0.5" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"role": "lib.domain"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\..\common.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<RootNamespace>Acme.BookStore</RootNamespace>
</PropertyGroup>

Expand All @@ -12,16 +12,16 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.Emailing" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Identity.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="8.3.0" />
<PackageReference Include="Volo.Abp.BackgroundJobs.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.AuditLogging.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.TenantManagement.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.FeatureManagement.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.OpenIddict.Domain" Version="8.3.0" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.OpenIddict" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Emailing" Version="9.3.3" />
<PackageReference Include="Volo.Abp.Identity.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="9.3.3" />
<PackageReference Include="Volo.Abp.BackgroundJobs.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.AuditLogging.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.TenantManagement.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.FeatureManagement.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.OpenIddict.Domain" Version="9.3.3" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.OpenIddict" Version="9.3.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private async Task CreateApplicationAsync(

if (!redirectUri.IsNullOrWhiteSpace() || !postLogoutRedirectUri.IsNullOrWhiteSpace())
{
application.Permissions.Add(OpenIddictConstants.Permissions.Endpoints.Logout);
application.Permissions.Add(OpenIddictConstants.Permissions.Endpoints.EndSession);
}

foreach (var grantType in grantTypes)
Expand Down Expand Up @@ -307,7 +307,7 @@ private async Task CreateApplicationAsync(
if (grantType == OpenIddictConstants.GrantTypes.DeviceCode)
{
application.Permissions.Add(OpenIddictConstants.Permissions.GrantTypes.DeviceCode);
application.Permissions.Add(OpenIddictConstants.Permissions.Endpoints.Device);
application.Permissions.Add(OpenIddictConstants.Permissions.Endpoints.DeviceAuthorization);
}

if (grantType == OpenIddictConstants.GrantTypes.Implicit)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"role": "lib.http-api-client"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.Account.HttpApi.Client" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Identity.HttpApi.Client" Version="8.3.0" />
<PackageReference Include="Volo.Abp.PermissionManagement.HttpApi.Client" Version="8.3.0" />
<PackageReference Include="Volo.Abp.TenantManagement.HttpApi.Client" Version="8.3.0" />
<PackageReference Include="Volo.Abp.FeatureManagement.HttpApi.Client" Version="8.3.0" />
<PackageReference Include="Volo.Abp.SettingManagement.HttpApi.Client" Version="8.3.0" />
<PackageReference Include="Volo.Abp.Account.HttpApi.Client" Version="9.3.3" />
<PackageReference Include="Volo.Abp.Identity.HttpApi.Client" Version="9.3.3" />
<PackageReference Include="Volo.Abp.PermissionManagement.HttpApi.Client" Version="9.3.3" />
<PackageReference Include="Volo.Abp.TenantManagement.HttpApi.Client" Version="9.3.3" />
<PackageReference Include="Volo.Abp.FeatureManagement.HttpApi.Client" Version="9.3.3" />
<PackageReference Include="Volo.Abp.SettingManagement.HttpApi.Client" Version="9.3.3" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"role": "host.http-api"
}
Loading