From 9f9ef0867cbd7524bbb17d745cda3829a22b8878 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 09:23:08 +0300 Subject: [PATCH 01/22] Fix lodash path --- npm/packs/lodash/abp.resourcemapping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/packs/lodash/abp.resourcemapping.js b/npm/packs/lodash/abp.resourcemapping.js index 434db6fe41..aa0f6520c5 100644 --- a/npm/packs/lodash/abp.resourcemapping.js +++ b/npm/packs/lodash/abp.resourcemapping.js @@ -1,5 +1,5 @@ module.exports = { mappings: { - "@node_modules/lodash/dist/lodash.min.js": "@libs/lodash/" + "@node_modules/lodash/lodash.min.js": "@libs/lodash/" } } \ No newline at end of file From 70aa869886afd1b12eaea4d4bd0618e70c5fa378 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 09:24:45 +0300 Subject: [PATCH 02/22] Updated npm packages. --- npm/lerna.json | 2 +- .../package.json | 4 ++-- .../package.json | 24 +++++++++---------- npm/packs/aspnetcore.mvc.ui/package.json | 2 +- npm/packs/blogging/package.json | 8 +++---- npm/packs/bootstrap/package.json | 4 ++-- npm/packs/codemirror/package.json | 4 ++-- npm/packs/core/package.json | 2 +- npm/packs/datatables.net-bs4/package.json | 4 ++-- npm/packs/datatables.net/package.json | 4 ++-- npm/packs/font-awesome/package.json | 4 ++-- npm/packs/highlight.js/package.json | 4 ++-- npm/packs/jquery-form/package.json | 4 ++-- .../package.json | 4 ++-- npm/packs/jquery-validation/package.json | 4 ++-- npm/packs/jquery/package.json | 4 ++-- npm/packs/lodash/package.json | 4 ++-- npm/packs/markdown-it/package.json | 4 ++-- npm/packs/owl.carousel/package.json | 4 ++-- npm/packs/select2/package.json | 4 ++-- npm/packs/sweetalert/package.json | 4 ++-- npm/packs/timeago/package.json | 4 ++-- npm/packs/toastr/package.json | 4 ++-- npm/packs/tui-editor/package.json | 10 ++++---- 24 files changed, 60 insertions(+), 60 deletions(-) diff --git a/npm/lerna.json b/npm/lerna.json index 5157dd891e..e3eb510067 100644 --- a/npm/lerna.json +++ b/npm/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.4.8", + "version": "0.4.9", "packages": [ "packs/*" ], diff --git a/npm/packs/aspnetcore.mvc.ui.theme.basic/package.json b/npm/packs/aspnetcore.mvc.ui.theme.basic/package.json index c43d5a867f..03572eeffe 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.basic/package.json +++ b/npm/packs/aspnetcore.mvc.ui.theme.basic/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/aspnetcore.mvc.ui.theme.basic", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.8" + "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.9" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" } diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json index 17fe8386e2..e8fdce70e0 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json @@ -1,21 +1,21 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/aspnetcore.mvc.ui.theme.shared", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/aspnetcore.mvc.ui": "^0.4.8", - "@abp/bootstrap": "^0.4.8", - "@abp/datatables.net-bs4": "^0.4.8", - "@abp/font-awesome": "^0.4.8", - "@abp/jquery-form": "^0.4.8", - "@abp/jquery-validation-unobtrusive": "^0.4.8", - "@abp/lodash": "^0.4.8", - "@abp/select2": "^0.4.8", - "@abp/sweetalert": "^0.4.8", - "@abp/timeago": "^0.4.8", - "@abp/toastr": "^0.4.8" + "@abp/aspnetcore.mvc.ui": "^0.4.9", + "@abp/bootstrap": "^0.4.9", + "@abp/datatables.net-bs4": "^0.4.9", + "@abp/font-awesome": "^0.4.9", + "@abp/jquery-form": "^0.4.9", + "@abp/jquery-validation-unobtrusive": "^0.4.9", + "@abp/lodash": "^0.4.9", + "@abp/select2": "^0.4.9", + "@abp/sweetalert": "^0.4.9", + "@abp/timeago": "^0.4.9", + "@abp/toastr": "^0.4.9" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" } diff --git a/npm/packs/aspnetcore.mvc.ui/package.json b/npm/packs/aspnetcore.mvc.ui/package.json index 0b25ab7ed1..cc2c2b6581 100644 --- a/npm/packs/aspnetcore.mvc.ui/package.json +++ b/npm/packs/aspnetcore.mvc.ui/package.json @@ -1,5 +1,5 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/aspnetcore.mvc.ui", "publishConfig": { "access": "public" diff --git a/npm/packs/blogging/package.json b/npm/packs/blogging/package.json index f8084f1336..f609f13857 100644 --- a/npm/packs/blogging/package.json +++ b/npm/packs/blogging/package.json @@ -1,12 +1,12 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/blogging", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.8", - "@abp/owl.carousel": "^0.4.8", - "@abp/tui-editor": "^0.4.8" + "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.9", + "@abp/owl.carousel": "^0.4.9", + "@abp/tui-editor": "^0.4.9" } } diff --git a/npm/packs/bootstrap/package.json b/npm/packs/bootstrap/package.json index 15c5d8ba9f..16f28145b1 100644 --- a/npm/packs/bootstrap/package.json +++ b/npm/packs/bootstrap/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/bootstrap", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "bootstrap": "^4.1.1" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/codemirror/package.json b/npm/packs/codemirror/package.json index 0fb5af1cfe..5a29ea6593 100644 --- a/npm/packs/codemirror/package.json +++ b/npm/packs/codemirror/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/codemirror", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "codemirror": "^5.38.0" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/core/package.json b/npm/packs/core/package.json index 314d6833f6..0ddd08be20 100644 --- a/npm/packs/core/package.json +++ b/npm/packs/core/package.json @@ -1,5 +1,5 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/core", "publishConfig": { "access": "public" diff --git a/npm/packs/datatables.net-bs4/package.json b/npm/packs/datatables.net-bs4/package.json index 2b76274925..76d8471864 100644 --- a/npm/packs/datatables.net-bs4/package.json +++ b/npm/packs/datatables.net-bs4/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/datatables.net-bs4", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/datatables.net": "^0.4.8", + "@abp/datatables.net": "^0.4.9", "datatables.net-bs4": "^1.10.16" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/datatables.net/package.json b/npm/packs/datatables.net/package.json index 974b7adafa..5f951c3460 100644 --- a/npm/packs/datatables.net/package.json +++ b/npm/packs/datatables.net/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/datatables.net", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "datatables.net": "^1.10.16" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/font-awesome/package.json b/npm/packs/font-awesome/package.json index 2500f3c090..01b9188e60 100644 --- a/npm/packs/font-awesome/package.json +++ b/npm/packs/font-awesome/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/font-awesome", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "font-awesome": "^4.7.0" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/highlight.js/package.json b/npm/packs/highlight.js/package.json index 2339d3568d..ad687d68c3 100644 --- a/npm/packs/highlight.js/package.json +++ b/npm/packs/highlight.js/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/highlight.js", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8" + "@abp/core": "^0.4.9" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" } diff --git a/npm/packs/jquery-form/package.json b/npm/packs/jquery-form/package.json index 51e4956584..4f7024cad7 100644 --- a/npm/packs/jquery-form/package.json +++ b/npm/packs/jquery-form/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/jquery-form", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/jquery": "^0.4.8", + "@abp/jquery": "^0.4.9", "jquery-form": "^4.2.2" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/jquery-validation-unobtrusive/package.json b/npm/packs/jquery-validation-unobtrusive/package.json index ada2a09653..ab39d95cf0 100644 --- a/npm/packs/jquery-validation-unobtrusive/package.json +++ b/npm/packs/jquery-validation-unobtrusive/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/jquery-validation-unobtrusive", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/jquery-validation": "^0.4.8", + "@abp/jquery-validation": "^0.4.9", "jquery-validation-unobtrusive": "^3.2.9" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/jquery-validation/package.json b/npm/packs/jquery-validation/package.json index e315314613..7a11e12877 100644 --- a/npm/packs/jquery-validation/package.json +++ b/npm/packs/jquery-validation/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/jquery-validation", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/jquery": "^0.4.8", + "@abp/jquery": "^0.4.9", "jquery-validation": "^1.17.0" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/jquery/package.json b/npm/packs/jquery/package.json index b4c97e970b..b2add4bcd8 100644 --- a/npm/packs/jquery/package.json +++ b/npm/packs/jquery/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/jquery", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "jquery": "^3.3.1" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/lodash/package.json b/npm/packs/lodash/package.json index 656737614a..cc57ead5dc 100644 --- a/npm/packs/lodash/package.json +++ b/npm/packs/lodash/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/lodash", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "lodash": "^4.17.10" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/markdown-it/package.json b/npm/packs/markdown-it/package.json index 4d1f2cb59b..97da6d8566 100644 --- a/npm/packs/markdown-it/package.json +++ b/npm/packs/markdown-it/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/markdown-it", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "markdown-it": "^8.4.1" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/owl.carousel/package.json b/npm/packs/owl.carousel/package.json index e98a5100aa..1ac7c1de6d 100644 --- a/npm/packs/owl.carousel/package.json +++ b/npm/packs/owl.carousel/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/owl.carousel", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "owl.carousel": "^2.3.4" } } diff --git a/npm/packs/select2/package.json b/npm/packs/select2/package.json index 3727f173c3..a240b6976c 100644 --- a/npm/packs/select2/package.json +++ b/npm/packs/select2/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/select2", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "select2": "^4.0.5" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/sweetalert/package.json b/npm/packs/sweetalert/package.json index a0a8916299..78e077fb8a 100644 --- a/npm/packs/sweetalert/package.json +++ b/npm/packs/sweetalert/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/sweetalert", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/core": "^0.4.8", + "@abp/core": "^0.4.9", "sweetalert": "^2.1.0" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/timeago/package.json b/npm/packs/timeago/package.json index f457ba8d81..0ee2fb7e09 100644 --- a/npm/packs/timeago/package.json +++ b/npm/packs/timeago/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/timeago", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/jquery": "^0.4.8", + "@abp/jquery": "^0.4.9", "timeago": "^1.6.3" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/toastr/package.json b/npm/packs/toastr/package.json index e6c9a1fd4a..78eb013622 100644 --- a/npm/packs/toastr/package.json +++ b/npm/packs/toastr/package.json @@ -1,11 +1,11 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/toastr", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/jquery": "^0.4.8", + "@abp/jquery": "^0.4.9", "toastr": "^2.1.4" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" diff --git a/npm/packs/tui-editor/package.json b/npm/packs/tui-editor/package.json index 7c8ce6fec7..4124554e27 100644 --- a/npm/packs/tui-editor/package.json +++ b/npm/packs/tui-editor/package.json @@ -1,14 +1,14 @@ { - "version": "0.4.8", + "version": "0.4.9", "name": "@abp/tui-editor", "publishConfig": { "access": "public" }, "dependencies": { - "@abp/codemirror": "^0.4.8", - "@abp/highlight.js": "^0.4.8", - "@abp/jquery": "^0.4.8", - "@abp/markdown-it": "^0.4.8", + "@abp/codemirror": "^0.4.9", + "@abp/highlight.js": "^0.4.9", + "@abp/jquery": "^0.4.9", + "@abp/markdown-it": "^0.4.9", "tui-editor": "^1.2.6" }, "gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" From 47960093c24affc9fd91abaa086dbaa134df2fe9 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 09:29:47 +0300 Subject: [PATCH 03/22] Updated npm packages and blog css --- .../OwlCarouselStyleContributor.cs | 2 +- .../app/Volo.BloggingTestApp/Logs/logs.txt | 662 +++++++++++ .../app/Volo.BloggingTestApp/package.json | 4 +- .../wwwroot/libs/lodash/lodash.min.js | 137 +++ .../app/Volo.BloggingTestApp/yarn.lock | 222 ++-- .../Pages/Blog/Shared/Styles/blog.css | 1020 +++++++---------- .../Pages/Blog/Shared/Styles/blog.min.css | 1 + .../Volo.Blogging.Web.csproj | 2 + .../src/Volo.Blogging.Web/compilerconfig.json | 6 + .../compilerconfig.json.defaults | 49 + 10 files changed, 1365 insertions(+), 740 deletions(-) create mode 100644 modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/lodash/lodash.min.js create mode 100644 modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.min.css create mode 100644 modules/blogging/src/Volo.Blogging.Web/compilerconfig.json create mode 100644 modules/blogging/src/Volo.Blogging.Web/compilerconfig.json.defaults diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/OwlCarousel/OwlCarouselStyleContributor.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/OwlCarousel/OwlCarouselStyleContributor.cs index 38e3f2bea0..11a201f8b5 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/OwlCarousel/OwlCarouselStyleContributor.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/OwlCarousel/OwlCarouselStyleContributor.cs @@ -10,7 +10,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.OwlCarousel //TODO: Theming! context.Files.AddIfNotContains("/libs/owl.carousel/assets/owl.carousel.min.css"); context.Files.AddIfNotContains("/libs/owl.carousel/assets/owl.theme.default.min.css"); - context.Files.AddIfNotContains("/libs/owl.carousel/assets/owl.owl.theme.green.min.css"); + context.Files.AddIfNotContains("/libs/owl.carousel/assets/owl.theme.green.min.css"); } } } \ No newline at end of file diff --git a/modules/blogging/app/Volo.BloggingTestApp/Logs/logs.txt b/modules/blogging/app/Volo.BloggingTestApp/Logs/logs.txt index 828dd37816..35f4cd4980 100644 --- a/modules/blogging/app/Volo.BloggingTestApp/Logs/logs.txt +++ b/modules/blogging/app/Volo.BloggingTestApp/Logs/logs.txt @@ -69737,3 +69737,665 @@ Volo.Abp.Authorization.AbpAuthorizationException: Authorization failed! Given po 2018-09-05 11:31:25.972 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. 2018-09-05 11:31:25.972 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 8.5541ms 2018-09-05 11:31:25.972 +03:00 [INF] Request finished in 30.3013ms 200 text/plain; charset=utf-8 +2018-09-07 09:26:12.392 +03:00 [INF] Starting web host. +2018-09-07 09:26:14.289 +03:00 [INF] User profile is available. Using 'C:\Users\halil\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2018-09-07 09:26:14.387 +03:00 [INF] Loaded modules: +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.BloggingDomainSharedModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.BloggingApplicationContractsModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.BloggingHttpApiModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Data.AbpDataModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Json.AbpJsonModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Http.AbpHttpModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.UI.AbpUiModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.BloggingWebModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.BloggingDomainModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.BloggingApplicationModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Blogging.EntityFrameworkCore.BloggingEntityFrameworkCoreModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Users.AbpUsersDomainSharedModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityDomainSharedModule +2018-09-07 09:26:14.387 +03:00 [INF] - Volo.Abp.Users.AbpUsersAbstractionModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Users.AbpUsersDomainModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityDomainModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Users.EntityFrameworkCore.AbpUsersEntityFrameworkCoreModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Identity.EntityFrameworkCore.AbpIdentityEntityFrameworkCoreModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.BloggingTestApp.EntityFrameworkCore.BloggingTestAppEntityFrameworkCoreModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Account.Web.AbpAccountWebModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityApplicationContractsModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityHttpApiModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.PermissionManagement.Web.AbpPermissionManagementWebModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Identity.Web.AbpIdentityWebModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityApplicationModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.AbpAspNetCoreMvcUiBasicThemeModule +2018-09-07 09:26:14.388 +03:00 [INF] - Volo.BloggingTestApp.BloggingTestAppModule +2018-09-07 09:26:14.462 +03:00 [DBG] No class found with auto mapping attributes. +2018-09-07 09:26:16.253 +03:00 [INF] Initialized all modules. +2018-09-07 09:26:16.571 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/ +2018-09-07 09:26:16.619 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:16.867 +03:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing action Volo.BloggingTestApp.Controllers.HomeController.Index (Volo.BloggingTestApp) +2018-09-07 09:26:16.894 +03:00 [INF] Executing action method Volo.BloggingTestApp.Controllers.HomeController.Index (Volo.BloggingTestApp) - Validation state: "Valid" +2018-09-07 09:26:16.902 +03:00 [INF] Executed action method Volo.BloggingTestApp.Controllers.HomeController.Index (Volo.BloggingTestApp), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.17200000000000001ms. +2018-09-07 09:26:16.906 +03:00 [INF] Executing RedirectResult, redirecting to /blog/. +2018-09-07 09:26:16.909 +03:00 [INF] Executed action Volo.BloggingTestApp.Controllers.HomeController.Index (Volo.BloggingTestApp) in 39.589400000000005ms +2018-09-07 09:26:16.918 +03:00 [INF] Request finished in 348.2448ms 302 +2018-09-07 09:26:16.933 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/blog/ +2018-09-07 09:26:16.934 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:19.199 +03:00 [INF] Route matched with {page = "/Blog/Index", action = "", controller = "", area = ""}. Executing action /Blog/Index +2018-09-07 09:26:19.267 +03:00 [INF] Executing handler method OnGetAsync with arguments (null) - ModelState is "Valid" +2018-09-07 09:26:19.470 +03:00 [INF] Executing RedirectToPageResult, redirecting to ./Posts/Index. +2018-09-07 09:26:19.471 +03:00 [INF] Executed action /Blog/Index in 272.0736ms +2018-09-07 09:26:19.471 +03:00 [INF] Request finished in 2538.5293ms 302 +2018-09-07 09:26:19.488 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/blog/abp +2018-09-07 09:26:19.488 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:19.883 +03:00 [INF] Route matched with {page = "/Blog/Posts/Index", action = "", controller = "", area = ""}. Executing action /Blog/Posts/Index +2018-09-07 09:26:20.009 +03:00 [INF] Executing handler method OnGetAsync with arguments (null) - ModelState is "Valid" +2018-09-07 09:26:20.331 +03:00 [INF] Authorization failed. +2018-09-07 09:26:20.754 +03:00 [DBG] Added bundle 'Basic.Global' to the page in 12.28 ms. +2018-09-07 09:26:20.774 +03:00 [DBG] Added bundle 'Volo.Blogging.Pages.Blog.Posts.IndexModel' to the page in 2.34 ms. +2018-09-07 09:26:21.311 +03:00 [INF] Authorization failed. +2018-09-07 09:26:21.318 +03:00 [INF] Authorization failed. +2018-09-07 09:26:21.318 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.057 +03:00 [DBG] Added bundle 'Basic.Global' to the page in 3.45 ms. +2018-09-07 09:26:22.064 +03:00 [DBG] Added bundle 'Volo.Blogging.Pages.Blog.Posts.IndexModel' to the page in 1.28 ms. +2018-09-07 09:26:22.073 +03:00 [INF] Executed action /Blog/Posts/Index in 2189.7439ms +2018-09-07 09:26:22.077 +03:00 [INF] Request finished in 2588.9429ms 200 text/html; charset=utf-8 +2018-09-07 09:26:22.114 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/bootstrap/css/bootstrap.css?_v=636718983431457365 +2018-09-07 09:26:22.129 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/toastr/toastr.min.css?_v=636718983431997396 +2018-09-07 09:26:22.139 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/font-awesome/css/font-awesome.css?_v=636718983431337331 +2018-09-07 09:26:22.140 +03:00 [INF] Sending file. Request path: '/libs/font-awesome/css/font-awesome.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\font-awesome\css\font-awesome.css' +2018-09-07 09:26:22.140 +03:00 [INF] Request finished in 1.3139ms 200 text/css +2018-09-07 09:26:22.140 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/select2/css/select2.min.css?_v=636718983431337331 +2018-09-07 09:26:22.142 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net-bs4/css/dataTables.bootstrap4.css?_v=636718983431327323 +2018-09-07 09:26:22.145 +03:00 [INF] Sending file. Request path: '/libs/toastr/toastr.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\toastr\toastr.min.css' +2018-09-07 09:26:22.145 +03:00 [INF] Sending file. Request path: '/libs/datatables.net-bs4/css/dataTables.bootstrap4.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net-bs4\css\dataTables.bootstrap4.css' +2018-09-07 09:26:22.145 +03:00 [INF] Sending file. Request path: '/libs/bootstrap/css/bootstrap.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\bootstrap\css\bootstrap.css' +2018-09-07 09:26:22.145 +03:00 [INF] Sending file. Request path: '/libs/select2/css/select2.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\select2\css\select2.min.css' +2018-09-07 09:26:22.155 +03:00 [INF] Request finished in 13.1585ms 200 text/css +2018-09-07 09:26:22.155 +03:00 [INF] Request finished in 25.6829ms 200 text/css +2018-09-07 09:26:22.155 +03:00 [INF] Request finished in 14.6675ms 200 text/css +2018-09-07 09:26:22.155 +03:00 [INF] Request finished in 41.0006ms 200 text/css +2018-09-07 09:26:22.155 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css?_v=636662026164862248 +2018-09-07 09:26:22.157 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\datatables\datatables-styles.css' +2018-09-07 09:26:22.157 +03:00 [INF] Request finished in 2.0404ms 200 text/css +2018-09-07 09:26:22.167 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/themes/basic/layout.css?_v=636673362328519686 +2018-09-07 09:26:22.168 +03:00 [INF] Sending file. Request path: '/themes/basic/layout.css'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\wwwroot\themes\basic\layout.css' +2018-09-07 09:26:22.168 +03:00 [INF] Request finished in 1.1406ms 200 text/css +2018-09-07 09:26:22.172 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.carousel.min.css?_v=636718983432377354 +2018-09-07 09:26:22.173 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.carousel.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.carousel.min.css' +2018-09-07 09:26:22.173 +03:00 [INF] Request finished in 1.2907ms 200 text/css +2018-09-07 09:26:22.180 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.theme.default.min.css?_v=636718983432597350 +2018-09-07 09:26:22.181 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.theme.default.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.theme.default.min.css' +2018-09-07 09:26:22.181 +03:00 [INF] Request finished in 1.0051ms 200 text/css +2018-09-07 09:26:22.189 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.owl.theme.green.min.css?_v=0 +2018-09-07 09:26:22.190 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:22.191 +03:00 [INF] Request finished in 2.1395ms 404 +2018-09-07 09:26:22.193 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Shared/Styles/blog.css?_v=636715824173477111 +2018-09-07 09:26:22.194 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Shared/Styles/blog.css'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Shared\Styles\blog.css' +2018-09-07 09:26:22.194 +03:00 [INF] Request finished in 0.7419ms 200 text/css +2018-09-07 09:26:22.270 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/core/abp.js?_v=636718983431327323 +2018-09-07 09:26:22.271 +03:00 [INF] Sending file. Request path: '/libs/abp/core/abp.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\abp\core\abp.js' +2018-09-07 09:26:22.271 +03:00 [INF] Request finished in 0.7754ms 200 application/javascript +2018-09-07 09:26:22.277 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery/jquery.js?_v=636718983431227357 +2018-09-07 09:26:22.280 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/jquery/abp.jquery.js?_v=636718983431447352 +2018-09-07 09:26:22.281 +03:00 [INF] Sending file. Request path: '/libs/abp/jquery/abp.jquery.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\abp\jquery\abp.jquery.js' +2018-09-07 09:26:22.281 +03:00 [INF] Request finished in 0.8485ms 200 application/javascript +2018-09-07 09:26:22.282 +03:00 [INF] Sending file. Request path: '/libs/jquery/jquery.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery\jquery.js' +2018-09-07 09:26:22.282 +03:00 [INF] Request finished in 5.1235ms 200 application/javascript +2018-09-07 09:26:22.292 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/lodash/lodash.min.js?_v=636718983431257364 +2018-09-07 09:26:22.293 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/bootstrap/js/bootstrap.bundle.js?_v=636718983431347334 +2018-09-07 09:26:22.295 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-validation/jquery.validate.js?_v=636718983431207345 +2018-09-07 09:26:22.295 +03:00 [INF] Sending file. Request path: '/libs/jquery-validation/jquery.validate.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-validation\jquery.validate.js' +2018-09-07 09:26:22.296 +03:00 [INF] Request finished in 0.9849ms 200 application/javascript +2018-09-07 09:26:22.299 +03:00 [INF] Sending file. Request path: '/libs/bootstrap/js/bootstrap.bundle.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\bootstrap\js\bootstrap.bundle.js' +2018-09-07 09:26:22.299 +03:00 [INF] Request finished in 5.9768ms 200 application/javascript +2018-09-07 09:26:22.300 +03:00 [INF] Sending file. Request path: '/libs/lodash/lodash.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\lodash\lodash.min.js' +2018-09-07 09:26:22.300 +03:00 [INF] Request finished in 8.0258ms 200 application/javascript +2018-09-07 09:26:22.302 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js?_v=636718983431227357 +2018-09-07 09:26:22.303 +03:00 [INF] Sending file. Request path: '/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-validation-unobtrusive\jquery.validate.unobtrusive.js' +2018-09-07 09:26:22.303 +03:00 [INF] Request finished in 1.7919ms 200 application/javascript +2018-09-07 09:26:22.305 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-form/jquery.form.min.js?_v=636718983431217356 +2018-09-07 09:26:22.306 +03:00 [INF] Sending file. Request path: '/libs/jquery-form/jquery.form.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-form\jquery.form.min.js' +2018-09-07 09:26:22.306 +03:00 [INF] Request finished in 0.7094ms 200 application/javascript +2018-09-07 09:26:22.320 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/select2/js/select2.min.js?_v=636718983431557347 +2018-09-07 09:26:22.321 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net/js/jquery.dataTables.js?_v=636718983431337331 +2018-09-07 09:26:22.325 +03:00 [INF] Sending file. Request path: '/libs/select2/js/select2.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\select2\js\select2.min.js' +2018-09-07 09:26:22.325 +03:00 [INF] Request finished in 5.1286ms 200 application/javascript +2018-09-07 09:26:22.334 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/sweetalert/sweetalert.min.js?_v=636718983431237356 +2018-09-07 09:26:22.335 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/toastr/toastr.min.js?_v=636718983432177340 +2018-09-07 09:26:22.335 +03:00 [INF] Sending file. Request path: '/libs/datatables.net/js/jquery.dataTables.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net\js\jquery.dataTables.js' +2018-09-07 09:26:22.335 +03:00 [INF] Request finished in 14.3528ms 200 application/javascript +2018-09-07 09:26:22.335 +03:00 [INF] Sending file. Request path: '/libs/sweetalert/sweetalert.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\sweetalert\sweetalert.min.js' +2018-09-07 09:26:22.335 +03:00 [INF] Request finished in 1.075ms 200 application/javascript +2018-09-07 09:26:22.335 +03:00 [INF] Sending file. Request path: '/libs/toastr/toastr.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\toastr\toastr.min.js' +2018-09-07 09:26:22.336 +03:00 [INF] Request finished in 0.9792ms 200 application/javascript +2018-09-07 09:26:22.339 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net-bs4/js/dataTables.bootstrap4.js?_v=636718983431447352 +2018-09-07 09:26:22.342 +03:00 [INF] Sending file. Request path: '/libs/datatables.net-bs4/js/dataTables.bootstrap4.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net-bs4\js\dataTables.bootstrap4.js' +2018-09-07 09:26:22.342 +03:00 [INF] Request finished in 4.9954ms 200 application/javascript +2018-09-07 09:26:22.364 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/timeago/jquery.timeago.js?_v=636718983431237356 +2018-09-07 09:26:22.366 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js?_v=636675994690052836 +2018-09-07 09:26:22.369 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery-form/jquery-form-extensions.js?_v=636634793200502732 +2018-09-07 09:26:22.370 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js?_v=636634793200502732 +2018-09-07 09:26:22.371 +03:00 [INF] Sending file. Request path: '/libs/timeago/jquery.timeago.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\timeago\jquery.timeago.js' +2018-09-07 09:26:22.372 +03:00 [INF] Request finished in 7.6814ms 200 application/javascript +2018-09-07 09:26:22.372 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\jquery\jquery-extensions.js' +2018-09-07 09:26:22.372 +03:00 [INF] Request finished in 6.2133ms 200 application/javascript +2018-09-07 09:26:22.372 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery-form/jquery-form-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\jquery-form\jquery-form-extensions.js' +2018-09-07 09:26:22.372 +03:00 [INF] Request finished in 2.9198ms 200 application/javascript +2018-09-07 09:26:22.372 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\bootstrap\dom-event-handlers.js' +2018-09-07 09:26:22.372 +03:00 [INF] Request finished in 2.1652ms 200 application/javascript +2018-09-07 09:26:22.373 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js?_v=636634793200502732 +2018-09-07 09:26:22.375 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\bootstrap\modal-manager.js' +2018-09-07 09:26:22.375 +03:00 [INF] Request finished in 2.9165ms 200 application/javascript +2018-09-07 09:26:22.380 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js?_v=636662203982800995 +2018-09-07 09:26:22.382 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js?_v=636634793200502732 +2018-09-07 09:26:22.385 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js?_v=636634793200502732 +2018-09-07 09:26:22.385 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\sweetalert\abp-sweetalert.js' +2018-09-07 09:26:22.385 +03:00 [INF] Request finished in 3.8074ms 200 application/javascript +2018-09-07 09:26:22.386 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Abp/ServiceProxyScript +2018-09-07 09:26:22.386 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:22.385 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Abp/ApplicationConfigurationScript +2018-09-07 09:26:22.387 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\toastr\abp-toastr.js' +2018-09-07 09:26:22.387 +03:00 [INF] Request finished in 2.3245ms 200 application/javascript +2018-09-07 09:26:22.387 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:22.391 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\datatables\datatables-extensions.js' +2018-09-07 09:26:22.392 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/owl.carousel.min.js?_v=636718983431647351 +2018-09-07 09:26:22.393 +03:00 [INF] Request finished in 12.5051ms 200 application/javascript +2018-09-07 09:26:22.393 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/owl.carousel.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\owl.carousel.min.js' +2018-09-07 09:26:22.393 +03:00 [INF] Request finished in 1.2762ms 200 application/javascript +2018-09-07 09:26:22.400 +03:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) +2018-09-07 09:26:22.403 +03:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) +2018-09-07 09:26:22.404 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Posts/detail.js?_v=636715824173727116 +2018-09-07 09:26:22.405 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Posts/detail.js'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Posts\detail.js' +2018-09-07 09:26:22.406 +03:00 [INF] Request finished in 2.3227ms 200 application/javascript +2018-09-07 09:26:22.417 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Shared/Scripts/blog.js?_v=636718352894573305 +2018-09-07 09:26:22.421 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Shared/Scripts/blog.js'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Shared\Scripts\blog.js' +2018-09-07 09:26:22.422 +03:00 [INF] Request finished in 4.2503ms 200 application/javascript +2018-09-07 09:26:22.422 +03:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) - Validation state: "Valid" +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.434 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.435 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.436 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.436 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.436 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.436 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.436 +03:00 [INF] Authorization failed. +2018-09-07 09:26:22.437 +03:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) with arguments (["Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel"]) - Validation state: "Valid" +2018-09-07 09:26:22.466 +03:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 43.8034ms. +2018-09-07 09:26:22.479 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. +2018-09-07 09:26:22.480 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 77.051200000000009ms +2018-09-07 09:26:22.480 +03:00 [INF] Request finished in 100.0552ms 200 text/plain; charset=utf-8 +2018-09-07 09:26:22.532 +03:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 93.7913ms. +2018-09-07 09:26:22.533 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. +2018-09-07 09:26:22.533 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 132.7194ms +2018-09-07 09:26:22.533 +03:00 [INF] Request finished in 147.5774ms 200 text/plain; charset=utf-8 +2018-09-07 09:26:22.700 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 +2018-09-07 09:26:22.703 +03:00 [INF] Sending file. Request path: '/libs/font-awesome/fonts/fontawesome-webfont.woff2'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\font-awesome\fonts\fontawesome-webfont.woff2' +2018-09-07 09:26:22.703 +03:00 [INF] Request finished in 2.5057ms 200 font/woff2 +2018-09-07 09:26:23.144 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/favicon.ico +2018-09-07 09:26:23.144 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:26:23.144 +03:00 [INF] Request finished in 0.7914ms 404 +2018-09-07 09:27:32.749 +03:00 [INF] Starting web host. +2018-09-07 09:27:34.245 +03:00 [INF] User profile is available. Using 'C:\Users\halil\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. +2018-09-07 09:27:34.317 +03:00 [INF] Loaded modules: +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Settings.AbpSettingsModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Blogging.BloggingDomainSharedModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Blogging.BloggingApplicationContractsModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Blogging.BloggingHttpApiModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Data.AbpDataModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Timing.AbpTimingModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Json.AbpJsonModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Security.AbpSecurityModule +2018-09-07 09:27:34.317 +03:00 [INF] - Volo.Abp.Threading.AbpThreadingModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Http.AbpHttpModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Guids.AbpGuidsModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.UI.AbpUiModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Validation.AbpValidationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Blogging.BloggingWebModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Blogging.BloggingDomainModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Caching.AbpCachingModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Blogging.BloggingApplicationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Blogging.EntityFrameworkCore.BloggingEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Users.AbpUsersDomainSharedModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityDomainSharedModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Users.AbpUsersAbstractionModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Users.AbpUsersDomainModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityDomainModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Users.EntityFrameworkCore.AbpUsersEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.EntityFrameworkCore.AbpIdentityEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.BloggingTestApp.EntityFrameworkCore.BloggingTestAppEntityFrameworkCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Account.Web.AbpAccountWebModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityApplicationContractsModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityHttpApiModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.PermissionManagement.Web.AbpPermissionManagementWebModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.Web.AbpIdentityWebModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Identity.AbpIdentityApplicationModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.AbpAspNetCoreMvcUiBasicThemeModule +2018-09-07 09:27:34.318 +03:00 [INF] - Volo.BloggingTestApp.BloggingTestAppModule +2018-09-07 09:27:34.392 +03:00 [DBG] No class found with auto mapping attributes. +2018-09-07 09:27:36.029 +03:00 [INF] Initialized all modules. +2018-09-07 09:27:36.359 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/blog/abp +2018-09-07 09:27:36.403 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:27:38.640 +03:00 [INF] Route matched with {page = "/Blog/Posts/Index", action = "", controller = "", area = ""}. Executing action /Blog/Posts/Index +2018-09-07 09:27:38.808 +03:00 [INF] Executing handler method OnGetAsync with arguments (null) - ModelState is "Valid" +2018-09-07 09:27:39.222 +03:00 [INF] Authorization failed. +2018-09-07 09:27:39.582 +03:00 [DBG] Added bundle 'Basic.Global' to the page in 8.80 ms. +2018-09-07 09:27:39.600 +03:00 [DBG] Added bundle 'Volo.Blogging.Pages.Blog.Posts.IndexModel' to the page in 2.72 ms. +2018-09-07 09:27:40.044 +03:00 [INF] Authorization failed. +2018-09-07 09:27:40.048 +03:00 [INF] Authorization failed. +2018-09-07 09:27:40.048 +03:00 [INF] Authorization failed. +2018-09-07 09:27:40.770 +03:00 [DBG] Added bundle 'Basic.Global' to the page in 3.33 ms. +2018-09-07 09:27:40.776 +03:00 [DBG] Added bundle 'Volo.Blogging.Pages.Blog.Posts.IndexModel' to the page in 0.69 ms. +2018-09-07 09:27:40.790 +03:00 [INF] Executed action /Blog/Posts/Index in 2147.2222ms +2018-09-07 09:27:40.799 +03:00 [INF] Request finished in 4442.5849ms 200 text/html; charset=utf-8 +2018-09-07 09:27:40.855 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/font-awesome/css/font-awesome.css?_v=636718983431337331 +2018-09-07 09:27:40.856 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/bootstrap/css/bootstrap.css?_v=636718983431457365 +2018-09-07 09:27:40.856 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/toastr/toastr.min.css?_v=636718983431997396 +2018-09-07 09:27:40.863 +03:00 [INF] Sending file. Request path: '/libs/toastr/toastr.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\toastr\toastr.min.css' +2018-09-07 09:27:40.864 +03:00 [INF] Request finished in 7.7369ms 200 text/css +2018-09-07 09:27:40.867 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/select2/css/select2.min.css?_v=636718983431337331 +2018-09-07 09:27:40.874 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net-bs4/css/dataTables.bootstrap4.css?_v=636718983431327323 +2018-09-07 09:27:40.874 +03:00 [INF] Sending file. Request path: '/libs/font-awesome/css/font-awesome.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\font-awesome\css\font-awesome.css' +2018-09-07 09:27:40.874 +03:00 [INF] Sending file. Request path: '/libs/select2/css/select2.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\select2\css\select2.min.css' +2018-09-07 09:27:40.876 +03:00 [INF] Sending file. Request path: '/libs/datatables.net-bs4/css/dataTables.bootstrap4.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net-bs4\css\dataTables.bootstrap4.css' +2018-09-07 09:27:40.878 +03:00 [INF] Request finished in 10.7059ms 200 text/css +2018-09-07 09:27:40.878 +03:00 [INF] Request finished in 22.4761ms 200 text/css +2018-09-07 09:27:40.878 +03:00 [INF] Request finished in 4.1186ms 200 text/css +2018-09-07 09:27:40.878 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/themes/basic/layout.css?_v=636673362328519686 +2018-09-07 09:27:40.879 +03:00 [INF] Sending file. Request path: '/themes/basic/layout.css'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\wwwroot\themes\basic\layout.css' +2018-09-07 09:27:40.879 +03:00 [INF] Request finished in 1.114ms 200 text/css +2018-09-07 09:27:40.879 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css?_v=636662026164862248 +2018-09-07 09:27:40.881 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\datatables\datatables-styles.css' +2018-09-07 09:27:40.881 +03:00 [INF] Request finished in 1.8941ms 200 text/css +2018-09-07 09:27:40.882 +03:00 [INF] Sending file. Request path: '/libs/bootstrap/css/bootstrap.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\bootstrap\css\bootstrap.css' +2018-09-07 09:27:40.882 +03:00 [INF] Request finished in 26.4964ms 200 text/css +2018-09-07 09:27:40.895 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.carousel.min.css?_v=636718983432377354 +2018-09-07 09:27:40.895 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.carousel.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.carousel.min.css' +2018-09-07 09:27:40.896 +03:00 [INF] Request finished in 0.8822ms 200 text/css +2018-09-07 09:27:40.904 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.theme.default.min.css?_v=636718983432597350 +2018-09-07 09:27:40.904 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.theme.default.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.theme.default.min.css' +2018-09-07 09:27:40.904 +03:00 [INF] Request finished in 0.7117ms 200 text/css +2018-09-07 09:27:40.912 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.theme.green.min.css?_v=636718983432747327 +2018-09-07 09:27:40.913 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.theme.green.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.theme.green.min.css' +2018-09-07 09:27:40.913 +03:00 [INF] Request finished in 1.1387ms 200 text/css +2018-09-07 09:27:40.918 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Shared/Styles/blog.css?_v=636715824173477111 +2018-09-07 09:27:40.919 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Shared/Styles/blog.css'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Shared\Styles\blog.css' +2018-09-07 09:27:40.919 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/core/abp.js?_v=636718983431327323 +2018-09-07 09:27:40.919 +03:00 [INF] Request finished in 1.5168ms 200 text/css +2018-09-07 09:27:40.920 +03:00 [INF] Sending file. Request path: '/libs/abp/core/abp.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\abp\core\abp.js' +2018-09-07 09:27:40.920 +03:00 [INF] Request finished in 0.6834ms 200 application/javascript +2018-09-07 09:27:40.935 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery/jquery.js?_v=636718983431227357 +2018-09-07 09:27:40.939 +03:00 [INF] Sending file. Request path: '/libs/jquery/jquery.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery\jquery.js' +2018-09-07 09:27:40.939 +03:00 [INF] Request finished in 4.5383ms 200 application/javascript +2018-09-07 09:27:40.974 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/jquery/abp.jquery.js?_v=636718983431447352 +2018-09-07 09:27:40.975 +03:00 [INF] Sending file. Request path: '/libs/abp/jquery/abp.jquery.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\abp\jquery\abp.jquery.js' +2018-09-07 09:27:40.975 +03:00 [INF] Request finished in 0.5658ms 200 application/javascript +2018-09-07 09:27:40.988 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/bootstrap/js/bootstrap.bundle.js?_v=636718983431347334 +2018-09-07 09:27:40.992 +03:00 [INF] Sending file. Request path: '/libs/bootstrap/js/bootstrap.bundle.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\bootstrap\js\bootstrap.bundle.js' +2018-09-07 09:27:40.992 +03:00 [INF] Request finished in 3.9458ms 200 application/javascript +2018-09-07 09:27:41.006 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/lodash/lodash.min.js?_v=636718983431257364 +2018-09-07 09:27:41.008 +03:00 [INF] Sending file. Request path: '/libs/lodash/lodash.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\lodash\lodash.min.js' +2018-09-07 09:27:41.008 +03:00 [INF] Request finished in 1.797ms 200 application/javascript +2018-09-07 09:27:41.019 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-validation/jquery.validate.js?_v=636718983431207345 +2018-09-07 09:27:41.019 +03:00 [INF] Sending file. Request path: '/libs/jquery-validation/jquery.validate.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-validation\jquery.validate.js' +2018-09-07 09:27:41.019 +03:00 [INF] Request finished in 0.8395ms 200 application/javascript +2018-09-07 09:27:41.021 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js?_v=636718983431227357 +2018-09-07 09:27:41.022 +03:00 [INF] Sending file. Request path: '/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-validation-unobtrusive\jquery.validate.unobtrusive.js' +2018-09-07 09:27:41.023 +03:00 [INF] Request finished in 1.0347ms 200 application/javascript +2018-09-07 09:27:41.023 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-form/jquery.form.min.js?_v=636718983431217356 +2018-09-07 09:27:41.023 +03:00 [INF] Sending file. Request path: '/libs/jquery-form/jquery.form.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-form\jquery.form.min.js' +2018-09-07 09:27:41.024 +03:00 [INF] Request finished in 0.907ms 200 application/javascript +2018-09-07 09:27:41.026 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/select2/js/select2.min.js?_v=636718983431557347 +2018-09-07 09:27:41.028 +03:00 [INF] Sending file. Request path: '/libs/select2/js/select2.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\select2\js\select2.min.js' +2018-09-07 09:27:41.029 +03:00 [INF] Request finished in 2.4543ms 200 application/javascript +2018-09-07 09:27:41.036 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net/js/jquery.dataTables.js?_v=636718983431337331 +2018-09-07 09:27:41.036 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net-bs4/js/dataTables.bootstrap4.js?_v=636718983431447352 +2018-09-07 09:27:41.037 +03:00 [INF] Sending file. Request path: '/libs/datatables.net-bs4/js/dataTables.bootstrap4.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net-bs4\js\dataTables.bootstrap4.js' +2018-09-07 09:27:41.037 +03:00 [INF] Request finished in 0.5761ms 200 application/javascript +2018-09-07 09:27:41.043 +03:00 [INF] Sending file. Request path: '/libs/datatables.net/js/jquery.dataTables.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net\js\jquery.dataTables.js' +2018-09-07 09:27:41.043 +03:00 [INF] Request finished in 7.2068ms 200 application/javascript +2018-09-07 09:27:41.047 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/toastr/toastr.min.js?_v=636718983432177340 +2018-09-07 09:27:41.047 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/sweetalert/sweetalert.min.js?_v=636718983431237356 +2018-09-07 09:27:41.047 +03:00 [INF] Sending file. Request path: '/libs/toastr/toastr.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\toastr\toastr.min.js' +2018-09-07 09:27:41.047 +03:00 [INF] Request finished in 0.7454ms 200 application/javascript +2018-09-07 09:27:41.049 +03:00 [INF] Sending file. Request path: '/libs/sweetalert/sweetalert.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\sweetalert\sweetalert.min.js' +2018-09-07 09:27:41.049 +03:00 [INF] Request finished in 2.6555ms 200 application/javascript +2018-09-07 09:27:41.050 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js?_v=636675994690052836 +2018-09-07 09:27:41.051 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/timeago/jquery.timeago.js?_v=636718983431237356 +2018-09-07 09:27:41.051 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\jquery\jquery-extensions.js' +2018-09-07 09:27:41.052 +03:00 [INF] Sending file. Request path: '/libs/timeago/jquery.timeago.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\timeago\jquery.timeago.js' +2018-09-07 09:27:41.052 +03:00 [INF] Request finished in 0.9393ms 200 application/javascript +2018-09-07 09:27:41.052 +03:00 [INF] Request finished in 2.048ms 200 application/javascript +2018-09-07 09:27:41.052 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery-form/jquery-form-extensions.js?_v=636634793200502732 +2018-09-07 09:27:41.053 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery-form/jquery-form-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\jquery-form\jquery-form-extensions.js' +2018-09-07 09:27:41.054 +03:00 [INF] Request finished in 1.5355ms 200 application/javascript +2018-09-07 09:27:41.058 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js?_v=636634793200502732 +2018-09-07 09:27:41.059 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\bootstrap\dom-event-handlers.js' +2018-09-07 09:27:41.059 +03:00 [INF] Request finished in 0.9241ms 200 application/javascript +2018-09-07 09:27:41.063 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js?_v=636634793200502732 +2018-09-07 09:27:41.065 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\bootstrap\modal-manager.js' +2018-09-07 09:27:41.066 +03:00 [INF] Request finished in 2.8446ms 200 application/javascript +2018-09-07 09:27:41.076 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js?_v=636662203982800995 +2018-09-07 09:27:41.077 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\datatables\datatables-extensions.js' +2018-09-07 09:27:41.078 +03:00 [INF] Request finished in 1.181ms 200 application/javascript +2018-09-07 09:27:41.079 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js?_v=636634793200502732 +2018-09-07 09:27:41.080 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\sweetalert\abp-sweetalert.js' +2018-09-07 09:27:41.081 +03:00 [INF] Request finished in 1.5069ms 200 application/javascript +2018-09-07 09:27:41.087 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js?_v=636634793200502732 +2018-09-07 09:27:41.088 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Abp/ApplicationConfigurationScript +2018-09-07 09:27:41.088 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\toastr\abp-toastr.js' +2018-09-07 09:27:41.088 +03:00 [INF] Request finished in 0.7221ms 200 application/javascript +2018-09-07 09:27:41.089 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:27:41.091 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Abp/ServiceProxyScript +2018-09-07 09:27:41.091 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:27:41.092 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/owl.carousel.min.js?_v=636718983431647351 +2018-09-07 09:27:41.092 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/owl.carousel.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\owl.carousel.min.js' +2018-09-07 09:27:41.092 +03:00 [INF] Request finished in 0.7395ms 200 application/javascript +2018-09-07 09:27:41.100 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Posts/detail.js?_v=636715824173727116 +2018-09-07 09:27:41.100 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Posts/detail.js'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Posts\detail.js' +2018-09-07 09:27:41.101 +03:00 [INF] Request finished in 0.9558ms 200 application/javascript +2018-09-07 09:27:41.106 +03:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) +2018-09-07 09:27:41.108 +03:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) +2018-09-07 09:27:41.143 +03:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) - Validation state: "Valid" +2018-09-07 09:27:41.145 +03:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) with arguments (["Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel"]) - Validation state: "Valid" +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.151 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.152 +03:00 [INF] Authorization failed. +2018-09-07 09:27:41.163 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Shared/Scripts/blog.js?_v=636718352894573305 +2018-09-07 09:27:41.163 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Shared/Scripts/blog.js'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Shared\Scripts\blog.js' +2018-09-07 09:27:41.164 +03:00 [INF] Request finished in 0.7918ms 200 application/javascript +2018-09-07 09:27:41.186 +03:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 36.4377ms. +2018-09-07 09:27:41.192 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. +2018-09-07 09:27:41.193 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 86.383900000000011ms +2018-09-07 09:27:41.193 +03:00 [INF] Request finished in 105.4581ms 200 text/plain; charset=utf-8 +2018-09-07 09:27:41.222 +03:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 75.7011ms. +2018-09-07 09:27:41.222 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. +2018-09-07 09:27:41.222 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 114.0892ms +2018-09-07 09:27:41.222 +03:00 [INF] Request finished in 131.4957ms 200 text/plain; charset=utf-8 +2018-09-07 09:27:41.411 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 +2018-09-07 09:27:41.413 +03:00 [INF] Sending file. Request path: '/libs/font-awesome/fonts/fontawesome-webfont.woff2'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\font-awesome\fonts\fontawesome-webfont.woff2' +2018-09-07 09:27:41.413 +03:00 [INF] Request finished in 2.2289ms 200 font/woff2 +2018-09-07 09:27:41.979 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/favicon.ico +2018-09-07 09:27:41.981 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:27:41.986 +03:00 [INF] Request finished in 6.4816ms 404 +2018-09-07 09:29:19.218 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/blog/abp +2018-09-07 09:29:19.218 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:29:19.219 +03:00 [INF] Route matched with {page = "/Blog/Posts/Index", action = "", controller = "", area = ""}. Executing action /Blog/Posts/Index +2018-09-07 09:29:19.225 +03:00 [INF] Executing handler method OnGetAsync with arguments (null) - ModelState is "Valid" +2018-09-07 09:29:19.255 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.259 +03:00 [DBG] Added bundle 'Basic.Global' to the page in 0.46 ms. +2018-09-07 09:29:19.260 +03:00 [DBG] Added bundle 'Volo.Blogging.Pages.Blog.Posts.IndexModel' to the page in 0.37 ms. +2018-09-07 09:29:19.262 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.263 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.263 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.264 +03:00 [DBG] Added bundle 'Basic.Global' to the page in 0.86 ms. +2018-09-07 09:29:19.265 +03:00 [DBG] Added bundle 'Volo.Blogging.Pages.Blog.Posts.IndexModel' to the page in 0.21 ms. +2018-09-07 09:29:19.266 +03:00 [INF] Executed action /Blog/Posts/Index in 46.1396ms +2018-09-07 09:29:19.266 +03:00 [INF] Request finished in 47.8442ms 200 text/html; charset=utf-8 +2018-09-07 09:29:19.349 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/bootstrap/css/bootstrap.css?_v=636718983431457365 +2018-09-07 09:29:19.350 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/font-awesome/css/font-awesome.css?_v=636718983431337331 +2018-09-07 09:29:19.351 +03:00 [INF] Sending file. Request path: '/libs/font-awesome/css/font-awesome.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\font-awesome\css\font-awesome.css' +2018-09-07 09:29:19.351 +03:00 [INF] Request finished in 0.9406ms 200 text/css +2018-09-07 09:29:19.352 +03:00 [INF] Sending file. Request path: '/libs/bootstrap/css/bootstrap.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\bootstrap\css\bootstrap.css' +2018-09-07 09:29:19.352 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/select2/css/select2.min.css?_v=636718983431337331 +2018-09-07 09:29:19.353 +03:00 [INF] Request finished in 3.2494ms 200 text/css +2018-09-07 09:29:19.353 +03:00 [INF] Sending file. Request path: '/libs/select2/css/select2.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\select2\css\select2.min.css' +2018-09-07 09:29:19.353 +03:00 [INF] Request finished in 0.8818ms 200 text/css +2018-09-07 09:29:19.353 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net-bs4/css/dataTables.bootstrap4.css?_v=636718983431327323 +2018-09-07 09:29:19.353 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/toastr/toastr.min.css?_v=636718983431997396 +2018-09-07 09:29:19.354 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css?_v=636662026164862248 +2018-09-07 09:29:19.355 +03:00 [INF] Sending file. Request path: '/libs/toastr/toastr.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\toastr\toastr.min.css' +2018-09-07 09:29:19.355 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-styles.css'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\datatables\datatables-styles.css' +2018-09-07 09:29:19.355 +03:00 [INF] Request finished in 1.8712ms 200 text/css +2018-09-07 09:29:19.355 +03:00 [INF] Request finished in 0.9681ms 200 text/css +2018-09-07 09:29:19.355 +03:00 [INF] Sending file. Request path: '/libs/datatables.net-bs4/css/dataTables.bootstrap4.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net-bs4\css\dataTables.bootstrap4.css' +2018-09-07 09:29:19.356 +03:00 [INF] Request finished in 2.6473ms 200 text/css +2018-09-07 09:29:19.364 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.carousel.min.css?_v=636718983432377354 +2018-09-07 09:29:19.364 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.carousel.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.carousel.min.css' +2018-09-07 09:29:19.364 +03:00 [INF] Request finished in 0.7487ms 200 text/css +2018-09-07 09:29:19.364 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/themes/basic/layout.css?_v=636673362328519686 +2018-09-07 09:29:19.365 +03:00 [INF] Sending file. Request path: '/themes/basic/layout.css'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\wwwroot\themes\basic\layout.css' +2018-09-07 09:29:19.365 +03:00 [INF] Request finished in 0.7633ms 200 text/css +2018-09-07 09:29:19.398 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.theme.default.min.css?_v=636718983432597350 +2018-09-07 09:29:19.399 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.theme.default.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.theme.default.min.css' +2018-09-07 09:29:19.399 +03:00 [INF] Request finished in 0.94ms 200 text/css +2018-09-07 09:29:19.411 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/assets/owl.theme.green.min.css?_v=636718983432747327 +2018-09-07 09:29:19.411 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/assets/owl.theme.green.min.css'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\assets\owl.theme.green.min.css' +2018-09-07 09:29:19.411 +03:00 [INF] Request finished in 0.8254ms 200 text/css +2018-09-07 09:29:19.415 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Shared/Styles/blog.css?_v=636718985510269168 +2018-09-07 09:29:19.416 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Shared/Styles/blog.css'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Shared\Styles\blog.css' +2018-09-07 09:29:19.416 +03:00 [INF] Request finished in 1.0686ms 200 text/css +2018-09-07 09:29:19.418 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/core/abp.js?_v=636718983431327323 +2018-09-07 09:29:19.419 +03:00 [INF] Sending file. Request path: '/libs/abp/core/abp.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\abp\core\abp.js' +2018-09-07 09:29:19.419 +03:00 [INF] Request finished in 0.7291ms 200 application/javascript +2018-09-07 09:29:19.470 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery/jquery.js?_v=636718983431227357 +2018-09-07 09:29:19.475 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/jquery/abp.jquery.js?_v=636718983431447352 +2018-09-07 09:29:19.475 +03:00 [INF] Sending file. Request path: '/libs/jquery/jquery.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery\jquery.js' +2018-09-07 09:29:19.475 +03:00 [INF] Request finished in 4.7533ms 200 application/javascript +2018-09-07 09:29:19.475 +03:00 [INF] Sending file. Request path: '/libs/abp/jquery/abp.jquery.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\abp\jquery\abp.jquery.js' +2018-09-07 09:29:19.476 +03:00 [INF] Request finished in 0.8918ms 200 application/javascript +2018-09-07 09:29:19.476 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/bootstrap/js/bootstrap.bundle.js?_v=636718983431347334 +2018-09-07 09:29:19.476 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/lodash/lodash.min.js?_v=636718983431257364 +2018-09-07 09:29:19.478 +03:00 [INF] Sending file. Request path: '/libs/lodash/lodash.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\lodash\lodash.min.js' +2018-09-07 09:29:19.478 +03:00 [INF] Request finished in 2.3227ms 200 application/javascript +2018-09-07 09:29:19.480 +03:00 [INF] Sending file. Request path: '/libs/bootstrap/js/bootstrap.bundle.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\bootstrap\js\bootstrap.bundle.js' +2018-09-07 09:29:19.480 +03:00 [INF] Request finished in 4.5892ms 200 application/javascript +2018-09-07 09:29:19.483 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-validation/jquery.validate.js?_v=636718983431207345 +2018-09-07 09:29:19.484 +03:00 [INF] Sending file. Request path: '/libs/jquery-validation/jquery.validate.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-validation\jquery.validate.js' +2018-09-07 09:29:19.484 +03:00 [INF] Request finished in 1.4098ms 200 application/javascript +2018-09-07 09:29:19.486 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js?_v=636718983431227357 +2018-09-07 09:29:19.486 +03:00 [INF] Sending file. Request path: '/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-validation-unobtrusive\jquery.validate.unobtrusive.js' +2018-09-07 09:29:19.486 +03:00 [INF] Request finished in 0.7076ms 200 application/javascript +2018-09-07 09:29:19.491 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/jquery-form/jquery.form.min.js?_v=636718983431217356 +2018-09-07 09:29:19.491 +03:00 [INF] Sending file. Request path: '/libs/jquery-form/jquery.form.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\jquery-form\jquery.form.min.js' +2018-09-07 09:29:19.492 +03:00 [INF] Request finished in 0.7093ms 200 application/javascript +2018-09-07 09:29:19.497 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/select2/js/select2.min.js?_v=636718983431557347 +2018-09-07 09:29:19.498 +03:00 [INF] Sending file. Request path: '/libs/select2/js/select2.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\select2\js\select2.min.js' +2018-09-07 09:29:19.498 +03:00 [INF] Request finished in 1.568ms 200 application/javascript +2018-09-07 09:29:19.500 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net/js/jquery.dataTables.js?_v=636718983431337331 +2018-09-07 09:29:19.502 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/datatables.net-bs4/js/dataTables.bootstrap4.js?_v=636718983431447352 +2018-09-07 09:29:19.503 +03:00 [INF] Sending file. Request path: '/libs/datatables.net-bs4/js/dataTables.bootstrap4.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net-bs4\js\dataTables.bootstrap4.js' +2018-09-07 09:29:19.503 +03:00 [INF] Request finished in 1.1557ms 200 application/javascript +2018-09-07 09:29:19.503 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/sweetalert/sweetalert.min.js?_v=636718983431237356 +2018-09-07 09:29:19.504 +03:00 [INF] Sending file. Request path: '/libs/sweetalert/sweetalert.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\sweetalert\sweetalert.min.js' +2018-09-07 09:29:19.504 +03:00 [INF] Request finished in 1.1885ms 200 application/javascript +2018-09-07 09:29:19.510 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/toastr/toastr.min.js?_v=636718983432177340 +2018-09-07 09:29:19.510 +03:00 [INF] Sending file. Request path: '/libs/datatables.net/js/jquery.dataTables.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\datatables.net\js\jquery.dataTables.js' +2018-09-07 09:29:19.511 +03:00 [INF] Request finished in 10.1984ms 200 application/javascript +2018-09-07 09:29:19.511 +03:00 [INF] Sending file. Request path: '/libs/toastr/toastr.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\toastr\toastr.min.js' +2018-09-07 09:29:19.511 +03:00 [INF] Request finished in 0.7774ms 200 application/javascript +2018-09-07 09:29:19.517 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/timeago/jquery.timeago.js?_v=636718983431237356 +2018-09-07 09:29:19.517 +03:00 [INF] Sending file. Request path: '/libs/timeago/jquery.timeago.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\timeago\jquery.timeago.js' +2018-09-07 09:29:19.518 +03:00 [INF] Request finished in 0.7294ms 200 application/javascript +2018-09-07 09:29:19.524 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery-form/jquery-form-extensions.js?_v=636634793200502732 +2018-09-07 09:29:19.525 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery-form/jquery-form-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\jquery-form\jquery-form-extensions.js' +2018-09-07 09:29:19.525 +03:00 [INF] Request finished in 1.4389ms 200 application/javascript +2018-09-07 09:29:19.528 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js?_v=636675994690052836 +2018-09-07 09:29:19.530 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js?_v=636634793200502732 +2018-09-07 09:29:19.530 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js?_v=636634793200502732 +2018-09-07 09:29:19.531 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\bootstrap\dom-event-handlers.js' +2018-09-07 09:29:19.531 +03:00 [INF] Request finished in 0.8322ms 200 application/javascript +2018-09-07 09:29:19.530 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\jquery\jquery-extensions.js' +2018-09-07 09:29:19.532 +03:00 [INF] Request finished in 7.9955ms 200 application/javascript +2018-09-07 09:29:19.533 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\bootstrap\modal-manager.js' +2018-09-07 09:29:19.533 +03:00 [INF] Request finished in 2.9948ms 200 application/javascript +2018-09-07 09:29:19.536 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js?_v=636662203982800995 +2018-09-07 09:29:19.539 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\datatables\datatables-extensions.js' +2018-09-07 09:29:19.540 +03:00 [INF] Request finished in 3.5434ms 200 application/javascript +2018-09-07 09:29:19.545 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js?_v=636634793200502732 +2018-09-07 09:29:19.546 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js?_v=636634793200502732 +2018-09-07 09:29:19.547 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\toastr\abp-toastr.js' +2018-09-07 09:29:19.547 +03:00 [INF] Request finished in 2.2062ms 200 application/javascript +2018-09-07 09:29:19.549 +03:00 [INF] Sending file. Request path: '/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js'. Physical path: 'D:\Github\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\wwwroot\libs\abp\aspnetcore-mvc-ui-theme-shared\sweetalert\abp-sweetalert.js' +2018-09-07 09:29:19.549 +03:00 [INF] Request finished in 4.5222ms 200 application/javascript +2018-09-07 09:29:19.557 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Abp/ApplicationConfigurationScript +2018-09-07 09:29:19.558 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:29:19.559 +03:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) +2018-09-07 09:29:19.560 +03:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) - Validation state: "Valid" +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.561 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Abp/ServiceProxyScript +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.561 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.562 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.563 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.563 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.563 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.563 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.563 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.563 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.564 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.564 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.564 +03:00 [INF] Authorization failed. +2018-09-07 09:29:19.566 +03:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) +2018-09-07 09:29:19.566 +03:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5.6756ms. +2018-09-07 09:29:19.566 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. +2018-09-07 09:29:19.566 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 7.4088ms +2018-09-07 09:29:19.566 +03:00 [INF] Request finished in 8.8993ms 200 text/plain; charset=utf-8 +2018-09-07 09:29:19.566 +03:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) with arguments (["Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel"]) - Validation state: "Valid" +2018-09-07 09:29:19.567 +03:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 0.16770000000000002ms. +2018-09-07 09:29:19.567 +03:00 [INF] Executing ObjectResult, writing value of type 'System.String'. +2018-09-07 09:29:19.567 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 1.4305ms +2018-09-07 09:29:19.567 +03:00 [INF] Request finished in 6.5649ms 200 text/plain; charset=utf-8 +2018-09-07 09:29:19.573 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/owl.carousel/owl.carousel.min.js?_v=636718983431647351 +2018-09-07 09:29:19.574 +03:00 [INF] Sending file. Request path: '/libs/owl.carousel/owl.carousel.min.js'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\owl.carousel\owl.carousel.min.js' +2018-09-07 09:29:19.574 +03:00 [INF] Request finished in 0.5844ms 200 application/javascript +2018-09-07 09:29:19.584 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Posts/detail.js?_v=636715824173727116 +2018-09-07 09:29:19.584 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Posts/detail.js'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Posts\detail.js' +2018-09-07 09:29:19.584 +03:00 [INF] Request finished in 0.7772ms 200 application/javascript +2018-09-07 09:29:19.586 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/Pages/Blog/Shared/Scripts/blog.js?_v=636718352894573305 +2018-09-07 09:29:19.587 +03:00 [INF] Sending file. Request path: '/Pages/Blog/Shared/Scripts/blog.js'. Physical path: 'D:\Github\abp\modules\blogging\src\Volo.Blogging.Web\Pages\Blog\Shared\Scripts\blog.js' +2018-09-07 09:29:19.587 +03:00 [INF] Request finished in 1.0162ms 200 application/javascript +2018-09-07 09:29:19.876 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/libs/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 +2018-09-07 09:29:19.878 +03:00 [INF] Sending file. Request path: '/libs/font-awesome/fonts/fontawesome-webfont.woff2'. Physical path: 'D:\Github\abp\modules\blogging\app\Volo.BloggingTestApp\wwwroot\libs\font-awesome\fonts\fontawesome-webfont.woff2' +2018-09-07 09:29:19.878 +03:00 [INF] Request finished in 2.1394ms 200 font/woff2 +2018-09-07 09:29:20.383 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:50013/favicon.ico +2018-09-07 09:29:20.384 +03:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed +2018-09-07 09:29:20.384 +03:00 [INF] Request finished in 0.8455ms 404 diff --git a/modules/blogging/app/Volo.BloggingTestApp/package.json b/modules/blogging/app/Volo.BloggingTestApp/package.json index e1124010ff..8c3725341c 100644 --- a/modules/blogging/app/Volo.BloggingTestApp/package.json +++ b/modules/blogging/app/Volo.BloggingTestApp/package.json @@ -3,7 +3,7 @@ "name": "volo.blogtestapp", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "^0.4.8", - "@abp/blogging": "^0.4.8" + "@abp/aspnetcore.mvc.ui.theme.basic": "^0.4.9", + "@abp/blogging": "^0.4.9" } } diff --git a/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/lodash/lodash.min.js b/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/lodash/lodash.min.js new file mode 100644 index 0000000000..fced00b390 --- /dev/null +++ b/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/lodash/lodash.min.js @@ -0,0 +1,137 @@ +/** + * @license + * Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE + */ +;(function(){function n(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function t(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u"']/g,G=RegExp(V.source),H=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/,tn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rn=/[\\^$.*+?()[\]{}|]/g,en=RegExp(rn.source),un=/^\s+|\s+$/g,on=/^\s+/,fn=/\s+$/,cn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,an=/\{\n\/\* \[wrapped with (.+)\] \*/,ln=/,? & /,sn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,hn=/\\(\\)?/g,pn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_n=/\w*$/,vn=/^[-+]0x[0-9a-f]+$/i,gn=/^0b[01]+$/i,dn=/^\[object .+?Constructor\]$/,yn=/^0o[0-7]+$/i,bn=/^(?:0|[1-9]\d*)$/,xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jn=/($^)/,wn=/['\n\r\u2028\u2029\\]/g,mn="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",An="(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])"+mn,En="(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])",kn=RegExp("['\u2019]","g"),Sn=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),On=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+En+mn,"g"),In=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",An].join("|"),"g"),Rn=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),zn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wn="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Bn={}; +Bn["[object Float32Array]"]=Bn["[object Float64Array]"]=Bn["[object Int8Array]"]=Bn["[object Int16Array]"]=Bn["[object Int32Array]"]=Bn["[object Uint8Array]"]=Bn["[object Uint8ClampedArray]"]=Bn["[object Uint16Array]"]=Bn["[object Uint32Array]"]=true,Bn["[object Arguments]"]=Bn["[object Array]"]=Bn["[object ArrayBuffer]"]=Bn["[object Boolean]"]=Bn["[object DataView]"]=Bn["[object Date]"]=Bn["[object Error]"]=Bn["[object Function]"]=Bn["[object Map]"]=Bn["[object Number]"]=Bn["[object Object]"]=Bn["[object RegExp]"]=Bn["[object Set]"]=Bn["[object String]"]=Bn["[object WeakMap]"]=false; +var Ln={};Ln["[object Arguments]"]=Ln["[object Array]"]=Ln["[object ArrayBuffer]"]=Ln["[object DataView]"]=Ln["[object Boolean]"]=Ln["[object Date]"]=Ln["[object Float32Array]"]=Ln["[object Float64Array]"]=Ln["[object Int8Array]"]=Ln["[object Int16Array]"]=Ln["[object Int32Array]"]=Ln["[object Map]"]=Ln["[object Number]"]=Ln["[object Object]"]=Ln["[object RegExp]"]=Ln["[object Set]"]=Ln["[object String]"]=Ln["[object Symbol]"]=Ln["[object Uint8Array]"]=Ln["[object Uint8ClampedArray]"]=Ln["[object Uint16Array]"]=Ln["[object Uint32Array]"]=true, +Ln["[object Error]"]=Ln["[object Function]"]=Ln["[object WeakMap]"]=false;var Un={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cn=parseFloat,Dn=parseInt,Mn=typeof global=="object"&&global&&global.Object===Object&&global,Tn=typeof self=="object"&&self&&self.Object===Object&&self,$n=Mn||Tn||Function("return this")(),Fn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Nn=Fn&&typeof module=="object"&&module&&!module.nodeType&&module,Pn=Nn&&Nn.exports===Fn,Zn=Pn&&Mn.process,qn=function(){ +try{var n=Nn&&Nn.f&&Nn.f("util").types;return n?n:Zn&&Zn.binding&&Zn.binding("util")}catch(n){}}(),Vn=qn&&qn.isArrayBuffer,Kn=qn&&qn.isDate,Gn=qn&&qn.isMap,Hn=qn&&qn.isRegExp,Jn=qn&&qn.isSet,Yn=qn&&qn.isTypedArray,Qn=b("length"),Xn=x({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I", +"\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C", +"\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i", +"\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r", +"\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij", +"\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),nt=x({"&":"&","<":"<",">":">",'"':""","'":"'"}),tt=x({"&":"&","<":"<",">":">",""":'"',"'":"'"}),rt=function x(mn){function An(n){if(du(n)&&!of(n)&&!(n instanceof Un)){if(n instanceof On)return n;if(ii.call(n,"__wrapped__"))return $e(n)}return new On(n)}function En(){}function On(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=T}function Un(n){this.__wrapped__=n, +this.__actions__=[],this.__dir__=1,this.__filtered__=false,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Mn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function _t(n,t,e,u,i,o){var f,c=1&t,a=2&t,l=4&t;if(e&&(f=i?e(n,u,i,o):e(n)),f!==T)return f;if(!gu(n))return n;if(u=of(n)){if(f=me(n),!c)return Ur(n,f)}else{var s=_o(n),h="[object Function]"==s||"[object GeneratorFunction]"==s;if(cf(n))return Ir(n,c);if("[object Object]"==s||"[object Arguments]"==s||h&&!i){if(f=a||h?{}:Ae(n),!c)return a?Mr(n,lt(f,n)):Dr(n,at(f,n))}else{if(!Ln[s])return i?n:{};f=Ee(n,s,c)}}if(o||(o=new Zn), +i=o.get(n))return i;if(o.set(n,f),hf(n))return n.forEach(function(r){f.add(_t(r,t,e,r,n,o))}),f;if(lf(n))return n.forEach(function(r,u){f.set(u,_t(r,t,e,u,n,o))}),f;var a=l?a?ve:_e:a?Wu:zu,p=u?T:a(n);return r(p||n,function(r,u){p&&(u=r,r=n[u]),ot(f,u,_t(r,t,e,u,n,o))}),f}function vt(n){var t=zu(n);return function(r){return gt(r,n,t)}}function gt(n,t,r){var e=r.length;if(null==n)return!e;for(n=Yu(n);e--;){var u=r[e],i=t[u],o=n[u];if(o===T&&!(u in n)||!i(o))return false}return true}function dt(n,t,r){if(typeof n!="function")throw new ni("Expected a function"); +return yo(function(){n.apply(T,r)},t)}function yt(n,t,r,e){var u=-1,i=o,a=true,l=n.length,s=[],h=t.length;if(!l)return s;r&&(t=c(t,k(r))),e?(i=f,a=false):200<=t.length&&(i=O,a=false,t=new Nn(t));n:for(;++ut}function Rt(n,t){return null!=n&&ii.call(n,t)}function zt(n,t){return null!=n&&t in Yu(n)}function Wt(n,t,r){for(var e=r?f:o,u=n[0].length,i=n.length,a=i,l=Vu(i),s=1/0,h=[];a--;){var p=n[a];a&&t&&(p=c(p,k(t))),s=Ui(p.length,s), +l[a]=!r&&(t||120<=u&&120<=p.length)?new Nn(a&&p):T}var p=n[0],_=-1,v=l[0];n:for(;++_r.length?t:kt(t,hr(r,0,-1)),r=null==t?t:t[De(qe(r))],null==r?T:n(r,t,e)}function Ut(n){return du(n)&&"[object Arguments]"==Ot(n)}function Ct(n){ +return du(n)&&"[object ArrayBuffer]"==Ot(n)}function Dt(n){return du(n)&&"[object Date]"==Ot(n)}function Mt(n,t,r,e,u){if(n===t)t=true;else if(null==n||null==t||!du(n)&&!du(t))t=n!==n&&t!==t;else n:{var i=of(n),o=of(t),f=i?"[object Array]":_o(n),c=o?"[object Array]":_o(t),f="[object Arguments]"==f?"[object Object]":f,c="[object Arguments]"==c?"[object Object]":c,a="[object Object]"==f,o="[object Object]"==c;if((c=f==c)&&cf(n)){if(!cf(t)){t=false;break n}i=true,a=false}if(c&&!a)u||(u=new Zn),t=i||pf(n)?se(n,t,r,e,Mt,u):he(n,t,f,r,e,Mt,u);else{ +if(!(1&r)&&(i=a&&ii.call(n,"__wrapped__"),f=o&&ii.call(t,"__wrapped__"),i||f)){n=i?n.value():n,t=f?t.value():t,u||(u=new Zn),t=Mt(n,t,r,e,u);break n}if(c)t:if(u||(u=new Zn),i=1&r,f=_e(n),o=f.length,c=_e(t).length,o==c||i){for(a=o;a--;){var l=f[a];if(!(i?l in t:ii.call(t,l))){t=false;break t}}if((c=u.get(n))&&u.get(t))t=c==t;else{c=true,u.set(n,t),u.set(t,n);for(var s=i;++at?r:0,Se(t,r)?n[t]:T}function Xt(n,t,r){var e=-1;return t=c(t.length?t:[Tu],k(ye())), +n=Gt(n,function(n){return{a:c(t,function(t){return t(n)}),b:++e,c:n}}),w(n,function(n,t){var e;n:{e=-1;for(var u=n.a,i=t.a,o=u.length,f=r.length;++e=f?c:c*("desc"==r[e]?-1:1);break n}}e=n.b-t.b}return e})}function nr(n,t){return tr(n,t,function(t,r){return Ru(n,r)})}function tr(n,t,r){for(var e=-1,u=t.length,i={};++et||9007199254740991t&&(t=-t>u?0:u+t),r=r>u?u:r,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Vu(u);++e=u){for(;e>>1,o=n[i];null!==o&&!ju(o)&&(r?o<=t:ot.length?n:kt(n,hr(t,0,-1)),null==n||delete n[De(qe(t))]}function jr(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++ie)return e?br(n[0]):[];for(var u=-1,i=Vu(e);++u=e?n:hr(n,t,r)}function Ir(n,t){if(t)return n.slice();var r=n.length,r=vi?vi(r):new n.constructor(r);return n.copy(r),r}function Rr(n){var t=new n.constructor(n.byteLength);return new _i(t).set(new _i(n)), +t}function zr(n,t){return new n.constructor(t?Rr(n.buffer):n.buffer,n.byteOffset,n.length)}function Wr(n,t){if(n!==t){var r=n!==T,e=null===n,u=n===n,i=ju(n),o=t!==T,f=null===t,c=t===t,a=ju(t);if(!f&&!a&&!i&&n>t||i&&o&&c&&!f&&!a||e&&o&&c||!r&&c||!u)return 1;if(!e&&!i&&!a&&nu?T:i,u=1),t=Yu(t);++eo&&f[0]!==a&&f[o-1]!==a?[]:L(f,a), +o-=c.length,or?r?or(t,n):t:(r=or(t,Si(n/D(t))),Rn.test(t)?Or(M(r),0,n).join(""):r.slice(0,n))}function te(t,r,e,u){function i(){for(var r=-1,c=arguments.length,a=-1,l=u.length,s=Vu(l+c),h=this&&this!==$n&&this instanceof i?f:t;++at||e)&&(1&n&&(i[2]=h[2],t|=1&r?0:4),(r=h[3])&&(e=i[3],i[3]=e?Br(e,r,h[4]):r,i[4]=e?L(i[3],"__lodash_placeholder__"):h[4]),(r=h[5])&&(e=i[5],i[5]=e?Lr(e,r,h[6]):r,i[6]=e?L(i[5],"__lodash_placeholder__"):h[6]),(r=h[7])&&(i[7]=r),128&n&&(i[8]=null==i[8]?h[8]:Ui(i[8],h[8])),null==i[9]&&(i[9]=h[9]),i[0]=h[0],i[1]=t),n=i[0],t=i[1], +r=i[2],e=i[3],u=i[4],f=i[9]=i[9]===T?c?0:n.length:Li(i[9]-a,0),!f&&24&t&&(t&=-25),Le((h?fo:go)(t&&1!=t?8==t||16==t?Kr(n,t,f):32!=t&&33!=t||u.length?Jr.apply(T,i):te(n,t,r,e):Pr(n,t,r),i),n,t)}function ce(n,t,r,e){return n===T||au(n,ri[r])&&!ii.call(e,r)?t:n}function ae(n,t,r,e,u,i){return gu(n)&&gu(t)&&(i.set(t,n),Yt(n,t,T,ae,i),i.delete(t)),n}function le(n){return bu(n)?T:n}function se(n,t,r,e,u,i){var o=1&r,f=n.length,c=t.length;if(f!=c&&!(o&&c>f))return false;if((c=i.get(n))&&i.get(t))return c==t;var c=-1,a=true,l=2&r?new Nn:T; +for(i.set(n,t),i.set(t,n);++cr&&(r=Li(e+r,0)),_(n,ye(t,3),r)):-1}function Ne(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e-1;return r!==T&&(u=Au(r),u=0>r?Li(e+u,0):Ui(u,e-1)),_(n,ye(t,3),u,true)}function Pe(n){return(null==n?0:n.length)?wt(n,1):[]}function Ze(n){ +return n&&n.length?n[0]:T}function qe(n){var t=null==n?0:n.length;return t?n[t-1]:T}function Ve(n,t){return n&&n.length&&t&&t.length?er(n,t):n}function Ke(n){return null==n?n:Ti.call(n)}function Ge(n){if(!n||!n.length)return[];var t=0;return n=i(n,function(n){if(su(n))return t=Li(n.length,t),true}),A(t,function(t){return c(n,b(t))})}function He(t,r){if(!t||!t.length)return[];var e=Ge(t);return null==r?e:c(e,function(t){return n(r,T,t)})}function Je(n){return n=An(n),n.__chain__=true,n}function Ye(n,t){ +return t(n)}function Qe(){return this}function Xe(n,t){return(of(n)?r:eo)(n,ye(t,3))}function nu(n,t){return(of(n)?e:uo)(n,ye(t,3))}function tu(n,t){return(of(n)?c:Gt)(n,ye(t,3))}function ru(n,t,r){return t=r?T:t,t=n&&null==t?n.length:t,fe(n,128,T,T,T,T,t)}function eu(n,t){var r;if(typeof t!="function")throw new ni("Expected a function");return n=Au(n),function(){return 0<--n&&(r=t.apply(this,arguments)),1>=n&&(t=T),r}}function uu(n,t,r){return t=r?T:t,n=fe(n,8,T,T,T,T,T,t),n.placeholder=uu.placeholder, +n}function iu(n,t,r){return t=r?T:t,n=fe(n,16,T,T,T,T,T,t),n.placeholder=iu.placeholder,n}function ou(n,t,r){function e(t){var r=c,e=a;return c=a=T,_=t,s=n.apply(e,r)}function u(n){var r=n-p;return n-=_,p===T||r>=t||0>r||g&&n>=l}function i(){var n=Ko();if(u(n))return o(n);var r,e=yo;r=n-_,n=t-(n-p),r=g?Ui(n,l-r):n,h=e(i,r)}function o(n){return h=T,d&&c?e(n):(c=a=T,s)}function f(){var n=Ko(),r=u(n);if(c=arguments,a=this,p=n,r){if(h===T)return _=n=p,h=yo(i,t),v?e(n):s;if(g)return h=yo(i,t),e(p)}return h===T&&(h=yo(i,t)), +s}var c,a,l,s,h,p,_=0,v=false,g=false,d=true;if(typeof n!="function")throw new ni("Expected a function");return t=ku(t)||0,gu(r)&&(v=!!r.leading,l=(g="maxWait"in r)?Li(ku(r.maxWait)||0,t):l,d="trailing"in r?!!r.trailing:d),f.cancel=function(){h!==T&&ao(h),_=0,c=p=a=h=T},f.flush=function(){return h===T?s:o(Ko())},f}function fu(n,t){function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;return i.has(u)?i.get(u):(e=n.apply(this,e),r.cache=i.set(u,e)||i,e)}if(typeof n!="function"||null!=t&&typeof t!="function")throw new ni("Expected a function"); +return r.cache=new(fu.Cache||Fn),r}function cu(n){if(typeof n!="function")throw new ni("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}function au(n,t){return n===t||n!==n&&t!==t}function lu(n){return null!=n&&vu(n.length)&&!pu(n)}function su(n){return du(n)&&lu(n)}function hu(n){if(!du(n))return false;var t=Ot(n);return"[object Error]"==t||"[object DOMException]"==t||typeof n.message=="string"&&typeof n.name=="string"&&!bu(n); +}function pu(n){return!!gu(n)&&(n=Ot(n),"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n)}function _u(n){return typeof n=="number"&&n==Au(n)}function vu(n){return typeof n=="number"&&-1=n}function gu(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function du(n){return null!=n&&typeof n=="object"}function yu(n){return typeof n=="number"||du(n)&&"[object Number]"==Ot(n)}function bu(n){return!(!du(n)||"[object Object]"!=Ot(n))&&(n=gi(n), +null===n||(n=ii.call(n,"constructor")&&n.constructor,typeof n=="function"&&n instanceof n&&ui.call(n)==ai))}function xu(n){return typeof n=="string"||!of(n)&&du(n)&&"[object String]"==Ot(n)}function ju(n){return typeof n=="symbol"||du(n)&&"[object Symbol]"==Ot(n)}function wu(n){if(!n)return[];if(lu(n))return xu(n)?M(n):Ur(n);if(ji&&n[ji]){n=n[ji]();for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}return t=_o(n),("[object Map]"==t?W:"[object Set]"==t?U:Lu)(n)}function mu(n){return n?(n=ku(n), +n===$||n===-$?1.7976931348623157e308*(0>n?-1:1):n===n?n:0):0===n?n:0}function Au(n){n=mu(n);var t=n%1;return n===n?t?n-t:n:0}function Eu(n){return n?pt(Au(n),0,4294967295):0}function ku(n){if(typeof n=="number")return n;if(ju(n))return F;if(gu(n)&&(n=typeof n.valueOf=="function"?n.valueOf():n,n=gu(n)?n+"":n),typeof n!="string")return 0===n?n:+n;n=n.replace(un,"");var t=gn.test(n);return t||yn.test(n)?Dn(n.slice(2),t?2:8):vn.test(n)?F:+n}function Su(n){return Cr(n,Wu(n))}function Ou(n){return null==n?"":yr(n); +}function Iu(n,t,r){return n=null==n?T:kt(n,t),n===T?r:n}function Ru(n,t){return null!=n&&we(n,t,zt)}function zu(n){return lu(n)?qn(n):Vt(n)}function Wu(n){if(lu(n))n=qn(n,true);else if(gu(n)){var t,r=ze(n),e=[];for(t in n)("constructor"!=t||!r&&ii.call(n,t))&&e.push(t);n=e}else{if(t=[],null!=n)for(r in Yu(n))t.push(r);n=t}return n}function Bu(n,t){if(null==n)return{};var r=c(ve(n),function(n){return[n]});return t=ye(t),tr(n,r,function(n,r){return t(n,r[0])})}function Lu(n){return null==n?[]:S(n,zu(n)); +}function Uu(n){return Tf(Ou(n).toLowerCase())}function Cu(n){return(n=Ou(n))&&n.replace(xn,Xn).replace(Sn,"")}function Du(n,t,r){return n=Ou(n),t=r?T:t,t===T?zn.test(n)?n.match(In)||[]:n.match(sn)||[]:n.match(t)||[]}function Mu(n){return function(){return n}}function Tu(n){return n}function $u(n){return qt(typeof n=="function"?n:_t(n,1))}function Fu(n,t,e){var u=zu(t),i=Et(t,u);null!=e||gu(t)&&(i.length||!u.length)||(e=t,t=n,n=this,i=Et(t,zu(t)));var o=!(gu(e)&&"chain"in e&&!e.chain),f=pu(n);return r(i,function(r){ +var e=t[r];n[r]=e,f&&(n.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=n(this.__wrapped__);return(r.__actions__=Ur(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,a([this.value()],arguments))})}),n}function Nu(){}function Pu(n){return Ie(n)?b(De(n)):rr(n)}function Zu(){return[]}function qu(){return false}mn=null==mn?$n:rt.defaults($n.Object(),mn,rt.pick($n,Wn));var Vu=mn.Array,Ku=mn.Date,Gu=mn.Error,Hu=mn.Function,Ju=mn.Math,Yu=mn.Object,Qu=mn.RegExp,Xu=mn.String,ni=mn.TypeError,ti=Vu.prototype,ri=Yu.prototype,ei=mn["__core-js_shared__"],ui=Hu.prototype.toString,ii=ri.hasOwnProperty,oi=0,fi=function(){ +var n=/[^.]+$/.exec(ei&&ei.keys&&ei.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),ci=ri.toString,ai=ui.call(Yu),li=$n._,si=Qu("^"+ui.call(ii).replace(rn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Pn?mn.Buffer:T,pi=mn.Symbol,_i=mn.Uint8Array,vi=hi?hi.g:T,gi=B(Yu.getPrototypeOf,Yu),di=Yu.create,yi=ri.propertyIsEnumerable,bi=ti.splice,xi=pi?pi.isConcatSpreadable:T,ji=pi?pi.iterator:T,wi=pi?pi.toStringTag:T,mi=function(){try{var n=je(Yu,"defineProperty"); +return n({},"",{}),n}catch(n){}}(),Ai=mn.clearTimeout!==$n.clearTimeout&&mn.clearTimeout,Ei=Ku&&Ku.now!==$n.Date.now&&Ku.now,ki=mn.setTimeout!==$n.setTimeout&&mn.setTimeout,Si=Ju.ceil,Oi=Ju.floor,Ii=Yu.getOwnPropertySymbols,Ri=hi?hi.isBuffer:T,zi=mn.isFinite,Wi=ti.join,Bi=B(Yu.keys,Yu),Li=Ju.max,Ui=Ju.min,Ci=Ku.now,Di=mn.parseInt,Mi=Ju.random,Ti=ti.reverse,$i=je(mn,"DataView"),Fi=je(mn,"Map"),Ni=je(mn,"Promise"),Pi=je(mn,"Set"),Zi=je(mn,"WeakMap"),qi=je(Yu,"create"),Vi=Zi&&new Zi,Ki={},Gi=Me($i),Hi=Me(Fi),Ji=Me(Ni),Yi=Me(Pi),Qi=Me(Zi),Xi=pi?pi.prototype:T,no=Xi?Xi.valueOf:T,to=Xi?Xi.toString:T,ro=function(){ +function n(){}return function(t){return gu(t)?di?di(t):(n.prototype=t,t=new n,n.prototype=T,t):{}}}();An.templateSettings={escape:J,evaluate:Y,interpolate:Q,variable:"",imports:{_:An}},An.prototype=En.prototype,An.prototype.constructor=An,On.prototype=ro(En.prototype),On.prototype.constructor=On,Un.prototype=ro(En.prototype),Un.prototype.constructor=Un,Mn.prototype.clear=function(){this.__data__=qi?qi(null):{},this.size=0},Mn.prototype.delete=function(n){return n=this.has(n)&&delete this.__data__[n], +this.size-=n?1:0,n},Mn.prototype.get=function(n){var t=this.__data__;return qi?(n=t[n],"__lodash_hash_undefined__"===n?T:n):ii.call(t,n)?t[n]:T},Mn.prototype.has=function(n){var t=this.__data__;return qi?t[n]!==T:ii.call(t,n)},Mn.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=qi&&t===T?"__lodash_hash_undefined__":t,this},Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(n){var t=this.__data__;return n=ft(t,n),!(0>n)&&(n==t.length-1?t.pop():bi.call(t,n,1), +--this.size,true)},Tn.prototype.get=function(n){var t=this.__data__;return n=ft(t,n),0>n?T:t[n][1]},Tn.prototype.has=function(n){return-1e?(++this.size,r.push([n,t])):r[e][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new Mn,map:new(Fi||Tn),string:new Mn}},Fn.prototype.delete=function(n){return n=be(this,n).delete(n),this.size-=n?1:0,n},Fn.prototype.get=function(n){return be(this,n).get(n); +},Fn.prototype.has=function(n){return be(this,n).has(n)},Fn.prototype.set=function(n,t){var r=be(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Nn.prototype.add=Nn.prototype.push=function(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(n){return this.__data__.has(n)},Zn.prototype.clear=function(){this.__data__=new Tn,this.size=0},Zn.prototype.delete=function(n){var t=this.__data__;return n=t.delete(n),this.size=t.size,n},Zn.prototype.get=function(n){ +return this.__data__.get(n)},Zn.prototype.has=function(n){return this.__data__.has(n)},Zn.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Tn){var e=r.__data__;if(!Fi||199>e.length)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Fn(e)}return r.set(n,t),this.size=r.size,this};var eo=Fr(mt),uo=Fr(At,true),io=Nr(),oo=Nr(true),fo=Vi?function(n,t){return Vi.set(n,t),n}:Tu,co=mi?function(n,t){return mi(n,"toString",{configurable:true,enumerable:false,value:Mu(t),writable:true})}:Tu,ao=Ai||function(n){ +return $n.clearTimeout(n)},lo=Pi&&1/U(new Pi([,-0]))[1]==$?function(n){return new Pi(n)}:Nu,so=Vi?function(n){return Vi.get(n)}:Nu,ho=Ii?function(n){return null==n?[]:(n=Yu(n),i(Ii(n),function(t){return yi.call(n,t)}))}:Zu,po=Ii?function(n){for(var t=[];n;)a(t,ho(n)),n=gi(n);return t}:Zu,_o=Ot;($i&&"[object DataView]"!=_o(new $i(new ArrayBuffer(1)))||Fi&&"[object Map]"!=_o(new Fi)||Ni&&"[object Promise]"!=_o(Ni.resolve())||Pi&&"[object Set]"!=_o(new Pi)||Zi&&"[object WeakMap]"!=_o(new Zi))&&(_o=function(n){ +var t=Ot(n);if(n=(n="[object Object]"==t?n.constructor:T)?Me(n):"")switch(n){case Gi:return"[object DataView]";case Hi:return"[object Map]";case Ji:return"[object Promise]";case Yi:return"[object Set]";case Qi:return"[object WeakMap]"}return t});var vo=ei?pu:qu,go=Ue(fo),yo=ki||function(n,t){return $n.setTimeout(n,t)},bo=Ue(co),xo=function(n){n=fu(n,function(n){return 500===t.size&&t.clear(),n});var t=n.cache;return n}(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(tn,function(n,r,e,u){ +t.push(e?u.replace(hn,"$1"):r||n)}),t}),jo=fr(function(n,t){return su(n)?yt(n,wt(t,1,su,true)):[]}),wo=fr(function(n,t){var r=qe(t);return su(r)&&(r=T),su(n)?yt(n,wt(t,1,su,true),ye(r,2)):[]}),mo=fr(function(n,t){var r=qe(t);return su(r)&&(r=T),su(n)?yt(n,wt(t,1,su,true),T,r):[]}),Ao=fr(function(n){var t=c(n,Er);return t.length&&t[0]===n[0]?Wt(t):[]}),Eo=fr(function(n){var t=qe(n),r=c(n,Er);return t===qe(r)?t=T:r.pop(),r.length&&r[0]===n[0]?Wt(r,ye(t,2)):[]}),ko=fr(function(n){var t=qe(n),r=c(n,Er);return(t=typeof t=="function"?t:T)&&r.pop(), +r.length&&r[0]===n[0]?Wt(r,T,t):[]}),So=fr(Ve),Oo=pe(function(n,t){var r=null==n?0:n.length,e=ht(n,t);return ur(n,c(t,function(n){return Se(n,r)?+n:n}).sort(Wr)),e}),Io=fr(function(n){return br(wt(n,1,su,true))}),Ro=fr(function(n){var t=qe(n);return su(t)&&(t=T),br(wt(n,1,su,true),ye(t,2))}),zo=fr(function(n){var t=qe(n),t=typeof t=="function"?t:T;return br(wt(n,1,su,true),T,t)}),Wo=fr(function(n,t){return su(n)?yt(n,t):[]}),Bo=fr(function(n){return mr(i(n,su))}),Lo=fr(function(n){var t=qe(n);return su(t)&&(t=T), +mr(i(n,su),ye(t,2))}),Uo=fr(function(n){var t=qe(n),t=typeof t=="function"?t:T;return mr(i(n,su),T,t)}),Co=fr(Ge),Do=fr(function(n){var t=n.length,t=1=t}),uf=Ut(function(){return arguments}())?Ut:function(n){return du(n)&&ii.call(n,"callee")&&!yi.call(n,"callee")},of=Vu.isArray,ff=Vn?k(Vn):Ct,cf=Ri||qu,af=Kn?k(Kn):Dt,lf=Gn?k(Gn):Tt,sf=Hn?k(Hn):Nt,hf=Jn?k(Jn):Pt,pf=Yn?k(Yn):Zt,_f=ee(Kt),vf=ee(function(n,t){return n<=t}),gf=$r(function(n,t){ +if(ze(t)||lu(t))Cr(t,zu(t),n);else for(var r in t)ii.call(t,r)&&ot(n,r,t[r])}),df=$r(function(n,t){Cr(t,Wu(t),n)}),yf=$r(function(n,t,r,e){Cr(t,Wu(t),n,e)}),bf=$r(function(n,t,r,e){Cr(t,zu(t),n,e)}),xf=pe(ht),jf=fr(function(n,t){n=Yu(n);var r=-1,e=t.length,u=2--n)return t.apply(this,arguments)}},An.ary=ru,An.assign=gf,An.assignIn=df,An.assignInWith=yf,An.assignWith=bf,An.at=xf,An.before=eu,An.bind=Go,An.bindAll=Ff,An.bindKey=Ho,An.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return of(n)?n:[n]},An.chain=Je,An.chunk=function(n,t,r){if(t=(r?Oe(n,t,r):t===T)?1:Li(Au(t),0),r=null==n?0:n.length,!r||1>t)return[];for(var e=0,u=0,i=Vu(Si(r/t));et?0:t,e)):[]},An.dropRight=function(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===T?1:Au(t),t=e-t,hr(n,0,0>t?0:t)):[]},An.dropRightWhile=function(n,t){return n&&n.length?jr(n,ye(t,3),true,true):[]; +},An.dropWhile=function(n,t){return n&&n.length?jr(n,ye(t,3),true):[]},An.fill=function(n,t,r,e){var u=null==n?0:n.length;if(!u)return[];for(r&&typeof r!="number"&&Oe(n,t,r)&&(r=0,e=u),u=n.length,r=Au(r),0>r&&(r=-r>u?0:u+r),e=e===T||e>u?u:Au(e),0>e&&(e+=u),e=r>e?0:Eu(e);r>>0,r?(n=Ou(n))&&(typeof t=="string"||null!=t&&!sf(t))&&(t=yr(t),!t&&Rn.test(n))?Or(M(n),0,r):n.split(t,r):[]},An.spread=function(t,r){if(typeof t!="function")throw new ni("Expected a function");return r=null==r?0:Li(Au(r),0), +fr(function(e){var u=e[r];return e=Or(e,0,r),u&&a(e,u),n(t,this,e)})},An.tail=function(n){var t=null==n?0:n.length;return t?hr(n,1,t):[]},An.take=function(n,t,r){return n&&n.length?(t=r||t===T?1:Au(t),hr(n,0,0>t?0:t)):[]},An.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===T?1:Au(t),t=e-t,hr(n,0>t?0:t,e)):[]},An.takeRightWhile=function(n,t){return n&&n.length?jr(n,ye(t,3),false,true):[]},An.takeWhile=function(n,t){return n&&n.length?jr(n,ye(t,3)):[]},An.tap=function(n,t){return t(n), +n},An.throttle=function(n,t,r){var e=true,u=true;if(typeof n!="function")throw new ni("Expected a function");return gu(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),ou(n,t,{leading:e,maxWait:t,trailing:u})},An.thru=Ye,An.toArray=wu,An.toPairs=Rf,An.toPairsIn=zf,An.toPath=function(n){return of(n)?c(n,De):ju(n)?[n]:Ur(xo(Ou(n)))},An.toPlainObject=Su,An.transform=function(n,t,e){var u=of(n),i=u||cf(n)||pf(n);if(t=ye(t,4),null==e){var o=n&&n.constructor;e=i?u?new o:[]:gu(n)&&pu(o)?ro(gi(n)):{}; +}return(i?r:mt)(n,function(n,r,u){return t(e,n,r,u)}),e},An.unary=function(n){return ru(n,1)},An.union=Io,An.unionBy=Ro,An.unionWith=zo,An.uniq=function(n){return n&&n.length?br(n):[]},An.uniqBy=function(n,t){return n&&n.length?br(n,ye(t,2)):[]},An.uniqWith=function(n,t){return t=typeof t=="function"?t:T,n&&n.length?br(n,T,t):[]},An.unset=function(n,t){return null==n||xr(n,t)},An.unzip=Ge,An.unzipWith=He,An.update=function(n,t,r){return null==n?n:lr(n,t,kr(r)(kt(n,t)),void 0)},An.updateWith=function(n,t,r,e){ +return e=typeof e=="function"?e:T,null!=n&&(n=lr(n,t,kr(r)(kt(n,t)),e)),n},An.values=Lu,An.valuesIn=function(n){return null==n?[]:S(n,Wu(n))},An.without=Wo,An.words=Du,An.wrap=function(n,t){return Xo(kr(t),n)},An.xor=Bo,An.xorBy=Lo,An.xorWith=Uo,An.zip=Co,An.zipObject=function(n,t){return Ar(n||[],t||[],ot)},An.zipObjectDeep=function(n,t){return Ar(n||[],t||[],lr)},An.zipWith=Do,An.entries=Rf,An.entriesIn=zf,An.extend=df,An.extendWith=yf,Fu(An,An),An.add=Yf,An.attempt=$f,An.camelCase=Wf,An.capitalize=Uu, +An.ceil=Qf,An.clamp=function(n,t,r){return r===T&&(r=t,t=T),r!==T&&(r=ku(r),r=r===r?r:0),t!==T&&(t=ku(t),t=t===t?t:0),pt(ku(n),t,r)},An.clone=function(n){return _t(n,4)},An.cloneDeep=function(n){return _t(n,5)},An.cloneDeepWith=function(n,t){return t=typeof t=="function"?t:T,_t(n,5,t)},An.cloneWith=function(n,t){return t=typeof t=="function"?t:T,_t(n,4,t)},An.conformsTo=function(n,t){return null==t||gt(n,t,zu(t))},An.deburr=Cu,An.defaultTo=function(n,t){return null==n||n!==n?t:n},An.divide=Xf,An.endsWith=function(n,t,r){ +n=Ou(n),t=yr(t);var e=n.length,e=r=r===T?e:pt(Au(r),0,e);return r-=t.length,0<=r&&n.slice(r,e)==t},An.eq=au,An.escape=function(n){return(n=Ou(n))&&H.test(n)?n.replace(K,nt):n},An.escapeRegExp=function(n){return(n=Ou(n))&&en.test(n)?n.replace(rn,"\\$&"):n},An.every=function(n,t,r){var e=of(n)?u:bt;return r&&Oe(n,t,r)&&(t=T),e(n,ye(t,3))},An.find=$o,An.findIndex=Fe,An.findKey=function(n,t){return p(n,ye(t,3),mt)},An.findLast=Fo,An.findLastIndex=Ne,An.findLastKey=function(n,t){return p(n,ye(t,3),At); +},An.floor=nc,An.forEach=Xe,An.forEachRight=nu,An.forIn=function(n,t){return null==n?n:io(n,ye(t,3),Wu)},An.forInRight=function(n,t){return null==n?n:oo(n,ye(t,3),Wu)},An.forOwn=function(n,t){return n&&mt(n,ye(t,3))},An.forOwnRight=function(n,t){return n&&At(n,ye(t,3))},An.get=Iu,An.gt=rf,An.gte=ef,An.has=function(n,t){return null!=n&&we(n,t,Rt)},An.hasIn=Ru,An.head=Ze,An.identity=Tu,An.includes=function(n,t,r,e){return n=lu(n)?n:Lu(n),r=r&&!e?Au(r):0,e=n.length,0>r&&(r=Li(e+r,0)),xu(n)?r<=e&&-1r&&(r=Li(e+r,0)),v(n,t,r)):-1},An.inRange=function(n,t,r){return t=mu(t),r===T?(r=t,t=0):r=mu(r),n=ku(n),n>=Ui(t,r)&&n=n},An.isSet=hf,An.isString=xu,An.isSymbol=ju,An.isTypedArray=pf,An.isUndefined=function(n){return n===T},An.isWeakMap=function(n){return du(n)&&"[object WeakMap]"==_o(n)},An.isWeakSet=function(n){return du(n)&&"[object WeakSet]"==Ot(n)},An.join=function(n,t){return null==n?"":Wi.call(n,t)},An.kebabCase=Bf,An.last=qe,An.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;if(r!==T&&(u=Au(r),u=0>u?Li(e+u,0):Ui(u,e-1)), +t===t){for(r=u+1;r--&&n[r]!==t;);n=r}else n=_(n,d,u,true);return n},An.lowerCase=Lf,An.lowerFirst=Uf,An.lt=_f,An.lte=vf,An.max=function(n){return n&&n.length?xt(n,Tu,It):T},An.maxBy=function(n,t){return n&&n.length?xt(n,ye(t,2),It):T},An.mean=function(n){return y(n,Tu)},An.meanBy=function(n,t){return y(n,ye(t,2))},An.min=function(n){return n&&n.length?xt(n,Tu,Kt):T},An.minBy=function(n,t){return n&&n.length?xt(n,ye(t,2),Kt):T},An.stubArray=Zu,An.stubFalse=qu,An.stubObject=function(){return{}},An.stubString=function(){ +return""},An.stubTrue=function(){return true},An.multiply=tc,An.nth=function(n,t){return n&&n.length?Qt(n,Au(t)):T},An.noConflict=function(){return $n._===this&&($n._=li),this},An.noop=Nu,An.now=Ko,An.pad=function(n,t,r){n=Ou(n);var e=(t=Au(t))?D(n):0;return!t||e>=t?n:(t=(t-e)/2,ne(Oi(t),r)+n+ne(Si(t),r))},An.padEnd=function(n,t,r){n=Ou(n);var e=(t=Au(t))?D(n):0;return t&&et){var e=n;n=t,t=e}return r||n%1||t%1?(r=Mi(),Ui(n+r*(t-n+Cn("1e-"+((r+"").length-1))),t)):ir(n,t)},An.reduce=function(n,t,r){var e=of(n)?l:j,u=3>arguments.length;return e(n,ye(t,4),r,u,eo)},An.reduceRight=function(n,t,r){var e=of(n)?s:j,u=3>arguments.length; +return e(n,ye(t,4),r,u,uo)},An.repeat=function(n,t,r){return t=(r?Oe(n,t,r):t===T)?1:Au(t),or(Ou(n),t)},An.replace=function(){var n=arguments,t=Ou(n[0]);return 3>n.length?t:t.replace(n[1],n[2])},An.result=function(n,t,r){t=Sr(t,n);var e=-1,u=t.length;for(u||(u=1,n=T);++en||9007199254740991=i)return n;if(i=r-D(e),1>i)return e;if(r=o?Or(o,0,i).join(""):n.slice(0,i),u===T)return r+e;if(o&&(i+=r.length-i),sf(u)){if(n.slice(i).search(u)){var f=r;for(u.global||(u=Qu(u.source,Ou(_n.exec(u))+"g")), +u.lastIndex=0;o=u.exec(f);)var c=o.index;r=r.slice(0,c===T?i:c)}}else n.indexOf(yr(u),i)!=i&&(u=r.lastIndexOf(u),-1e.__dir__?"Right":"")}),e},Un.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),r(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;Un.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({ +iteratee:ye(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),r(["head","last"],function(n,t){var r="take"+(t?"Right":"");Un.prototype[n]=function(){return this[r](1).value()[0]}}),r(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");Un.prototype[n]=function(){return this.__filtered__?new Un(this):this[r](1)}}),Un.prototype.compact=function(){return this.filter(Tu)},Un.prototype.find=function(n){return this.filter(n).head()},Un.prototype.findLast=function(n){return this.reverse().find(n); +},Un.prototype.invokeMap=fr(function(n,t){return typeof n=="function"?new Un(this):this.map(function(r){return Lt(r,n,t)})}),Un.prototype.reject=function(n){return this.filter(cu(ye(n)))},Un.prototype.slice=function(n,t){n=Au(n);var r=this;return r.__filtered__&&(0t)?new Un(r):(0>n?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==T&&(t=Au(t),r=0>t?r.dropRight(-t):r.take(t-n)),r)},Un.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Un.prototype.toArray=function(){return this.take(4294967295); +},mt(Un.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=An[e?"take"+("last"==t?"Right":""):t],i=e||/^find/.test(t);u&&(An.prototype[t]=function(){function t(n){return n=u.apply(An,a([n],f)),e&&h?n[0]:n}var o=this.__wrapped__,f=e?[1]:arguments,c=o instanceof Un,l=f[0],s=c||of(o);s&&r&&typeof l=="function"&&1!=l.length&&(c=s=false);var h=this.__chain__,p=!!this.__actions__.length,l=i&&!h,c=c&&!p;return!i&&s?(o=c?o:new Un(this),o=n.apply(o,f),o.__actions__.push({ +func:Ye,args:[t],thisArg:T}),new On(o,h)):l&&c?n.apply(this,f):(o=this.thru(t),l?e?o.value()[0]:o.value():o)})}),r("pop push shift sort splice unshift".split(" "),function(n){var t=ti[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);An.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(of(u)?u:[],n)}return this[r](function(r){return t.apply(of(r)?r:[],n)})}}),mt(Un.prototype,function(n,t){var r=An[t];if(r){var e=r.name+""; +(Ki[e]||(Ki[e]=[])).push({name:t,func:r})}}),Ki[Jr(T,2).name]=[{name:"wrapper",func:T}],Un.prototype.clone=function(){var n=new Un(this.__wrapped__);return n.__actions__=Ur(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Ur(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Ur(this.__views__),n},Un.prototype.reverse=function(){if(this.__filtered__){var n=new Un(this);n.__dir__=-1,n.__filtered__=true}else n=this.clone(),n.__dir__*=-1;return n; +},Un.prototype.value=function(){var n,t=this.__wrapped__.value(),r=this.__dir__,e=of(t),u=0>r,i=e?t.length:0;n=i;for(var o=this.__views__,f=0,c=-1,a=o.length;++c=this.__values__.length;return{done:n,value:n?T:this.__values__[this.__index__++]}},An.prototype.plant=function(n){for(var t,r=this;r instanceof En;){ +var e=$e(r);e.__index__=0,e.__values__=T,t?u.__wrapped__=e:t=e;var u=e,r=r.__wrapped__}return u.__wrapped__=n,t},An.prototype.reverse=function(){var n=this.__wrapped__;return n instanceof Un?(this.__actions__.length&&(n=new Un(this)),n=n.reverse(),n.__actions__.push({func:Ye,args:[Ke],thisArg:T}),new On(n,this.__chain__)):this.thru(Ke)},An.prototype.toJSON=An.prototype.valueOf=An.prototype.value=function(){return wr(this.__wrapped__,this.__actions__)},An.prototype.first=An.prototype.head,ji&&(An.prototype[ji]=Qe), +An}();typeof define=="function"&&typeof define.amd=="object"&&define.amd?($n._=rt, define(function(){return rt})):Nn?((Nn.exports=rt)._=rt,Fn._=rt):$n._=rt}).call(this); diff --git a/modules/blogging/app/Volo.BloggingTestApp/yarn.lock b/modules/blogging/app/Volo.BloggingTestApp/yarn.lock index 41e224b9f1..017864fc14 100644 --- a/modules/blogging/app/Volo.BloggingTestApp/yarn.lock +++ b/modules/blogging/app/Volo.BloggingTestApp/yarn.lock @@ -2,31 +2,31 @@ # yarn lockfile v1 -"@abp/aspnetcore.mvc.ui.theme.basic@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-0.4.8.tgz#9d7e3fde04a415f628f5d936b45223d6e3fb6a36" - dependencies: - "@abp/aspnetcore.mvc.ui.theme.shared" "^0.4.8" - -"@abp/aspnetcore.mvc.ui.theme.shared@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-0.4.8.tgz#c575110beb627d2febed6b8d9f9015759ba2561d" - dependencies: - "@abp/aspnetcore.mvc.ui" "^0.4.8" - "@abp/bootstrap" "^0.4.8" - "@abp/datatables.net-bs4" "^0.4.8" - "@abp/font-awesome" "^0.4.8" - "@abp/jquery-form" "^0.4.8" - "@abp/jquery-validation-unobtrusive" "^0.4.8" - "@abp/lodash" "^0.4.8" - "@abp/select2" "^0.4.8" - "@abp/sweetalert" "^0.4.8" - "@abp/timeago" "^0.4.8" - "@abp/toastr" "^0.4.8" - -"@abp/aspnetcore.mvc.ui@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-0.4.8.tgz#92e29f14ff459f44d9fdd50b46521fbae2f7478c" +"@abp/aspnetcore.mvc.ui.theme.basic@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-0.4.9.tgz#926a25c641225598c8666b658c1df3fa7fbed7cf" + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "^0.4.9" + +"@abp/aspnetcore.mvc.ui.theme.shared@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-0.4.9.tgz#cc8d83162329e3044e12a358c3f3ce6fb3e75f1b" + dependencies: + "@abp/aspnetcore.mvc.ui" "^0.4.9" + "@abp/bootstrap" "^0.4.9" + "@abp/datatables.net-bs4" "^0.4.9" + "@abp/font-awesome" "^0.4.9" + "@abp/jquery-form" "^0.4.9" + "@abp/jquery-validation-unobtrusive" "^0.4.9" + "@abp/lodash" "^0.4.9" + "@abp/select2" "^0.4.9" + "@abp/sweetalert" "^0.4.9" + "@abp/timeago" "^0.4.9" + "@abp/toastr" "^0.4.9" + +"@abp/aspnetcore.mvc.ui@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-0.4.9.tgz#cb7a1905ec003fd459e13e577ef7b3d2ada55f5f" dependencies: ansi-colors "^1.1.0" extend-object "^1.0.0" @@ -35,144 +35,144 @@ path "^0.12.7" rimraf "^2.6.2" -"@abp/blogging@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/blogging/-/blogging-0.4.8.tgz#0799205ef3d9d95f282496acfdffc2b4c471ac85" +"@abp/blogging@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/blogging/-/blogging-0.4.9.tgz#4a5423cae02bb6b1104586f07d850f0177adac72" dependencies: - "@abp/aspnetcore.mvc.ui.theme.shared" "^0.4.8" - "@abp/owl.carousel" "^0.4.8" - "@abp/tui-editor" "^0.4.8" + "@abp/aspnetcore.mvc.ui.theme.shared" "^0.4.9" + "@abp/owl.carousel" "^0.4.9" + "@abp/tui-editor" "^0.4.9" -"@abp/bootstrap@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-0.4.8.tgz#34efb0cf52e4706d42ffcd5191594c7066ec8771" +"@abp/bootstrap@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-0.4.9.tgz#2092858956c9b770509619ffa70d46b382531ce1" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" bootstrap "^4.1.1" -"@abp/codemirror@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/codemirror/-/codemirror-0.4.8.tgz#146ba707d967164c71dd387a8e28d72ac5e70ce8" +"@abp/codemirror@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/codemirror/-/codemirror-0.4.9.tgz#59b6ece19efa9c10cf8c8a1164d0939515e13c9b" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" codemirror "^5.38.0" -"@abp/core@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/core/-/core-0.4.8.tgz#c8a6c23c1ab51e41f790584c4ba12dddfd5d66ad" +"@abp/core@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-0.4.9.tgz#d644dde25fb9749e4d179bd72729afeae3b6e230" -"@abp/datatables.net-bs4@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs4/-/datatables.net-bs4-0.4.8.tgz#b867c451dffcc3ca87509fc5bdf8be0d1f6074c6" +"@abp/datatables.net-bs4@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs4/-/datatables.net-bs4-0.4.9.tgz#a51dcc6c166af8a3126f121cf410a170027e6d11" dependencies: - "@abp/datatables.net" "^0.4.8" + "@abp/datatables.net" "^0.4.9" datatables.net-bs4 "^1.10.16" -"@abp/datatables.net@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-0.4.8.tgz#f13bec346c01822dccf3b7fc1e7cf60bab00b680" +"@abp/datatables.net@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-0.4.9.tgz#1c96f4c800b9b05fc0dcec29dac471e1e5c5624a" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" datatables.net "^1.10.16" -"@abp/font-awesome@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-0.4.8.tgz#a18c503b697af98faeaad092d8f1cb2df464a59d" +"@abp/font-awesome@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-0.4.9.tgz#eb1691ff33be53832b5063aa2a382dc7d65a3f43" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" font-awesome "^4.7.0" -"@abp/highlight.js@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/highlight.js/-/highlight.js-0.4.8.tgz#93c69ea8a5781d16abd2a957cf46b2db49064878" +"@abp/highlight.js@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/highlight.js/-/highlight.js-0.4.9.tgz#ac6b97f6831fb4a69cecbf05b69ef2306e83d573" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" -"@abp/jquery-form@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-0.4.8.tgz#2f37b43076f618b0ac9532852a863584035f8c2e" +"@abp/jquery-form@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-0.4.9.tgz#70af1af668f6a55dbadb455f64b6d1cbdc63caf8" dependencies: - "@abp/jquery" "^0.4.8" + "@abp/jquery" "^0.4.9" jquery-form "^4.2.2" -"@abp/jquery-validation-unobtrusive@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-0.4.8.tgz#056dfb28edf22652596f71758e7c5caad2fc4ca1" +"@abp/jquery-validation-unobtrusive@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-0.4.9.tgz#3512f1f7fbf9f982b084b8f9cb68f91553dfbcef" dependencies: - "@abp/jquery-validation" "^0.4.8" + "@abp/jquery-validation" "^0.4.9" jquery-validation-unobtrusive "^3.2.9" -"@abp/jquery-validation@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-0.4.8.tgz#a31fd6c1353c8db3aab53d06d5e4e84e7208c89b" +"@abp/jquery-validation@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-0.4.9.tgz#5751da6dac87a6783dd4d1165240b3c29eed3ac3" dependencies: - "@abp/jquery" "^0.4.8" + "@abp/jquery" "^0.4.9" jquery-validation "^1.17.0" -"@abp/jquery@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-0.4.8.tgz#7d1280a8dedf8a1144317afd89973370743806fd" +"@abp/jquery@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-0.4.9.tgz#4033a4e3d6df643babc6baf29cd47ba5519338f0" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" jquery "^3.3.1" -"@abp/lodash@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-0.4.8.tgz#61bcbadf2991645cdb8fb86400398fe0ff0733a1" +"@abp/lodash@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-0.4.9.tgz#5d30d2d1f6245bf519160d5ba3ce5f4d08e9b48b" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" lodash "^4.17.10" -"@abp/markdown-it@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/markdown-it/-/markdown-it-0.4.8.tgz#7d3a676b2ef878828aa73a8ee8250f84d607b5ca" +"@abp/markdown-it@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/markdown-it/-/markdown-it-0.4.9.tgz#9b3ee9bffe0416d4ee9c5ea983de04a350f2b938" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" markdown-it "^8.4.1" -"@abp/owl.carousel@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/owl.carousel/-/owl.carousel-0.4.8.tgz#02efba237afd3dbd6d9b6c9397596e617a338e49" +"@abp/owl.carousel@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/owl.carousel/-/owl.carousel-0.4.9.tgz#cac8c23eeb41b568956b7b2e2af8c82b02a2b8ed" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" owl.carousel "^2.3.4" -"@abp/select2@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-0.4.8.tgz#0e4fc4fe2166c144d2d30bf64ac071bde960998d" +"@abp/select2@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-0.4.9.tgz#6bbb4d8ffd67876787a400647659f5bb7a1d642d" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" select2 "^4.0.5" -"@abp/sweetalert@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/sweetalert/-/sweetalert-0.4.8.tgz#0a4146d315f7fd88a1a6c91f2d4a8566839ada68" +"@abp/sweetalert@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/sweetalert/-/sweetalert-0.4.9.tgz#34cd4f36004229621c454c3d80cc0d2d8d57d42e" dependencies: - "@abp/core" "^0.4.8" + "@abp/core" "^0.4.9" sweetalert "^2.1.0" -"@abp/timeago@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-0.4.8.tgz#b5418ba16b46ac41fc8487d67a3f798782d29ebf" +"@abp/timeago@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-0.4.9.tgz#9314bb2c7194636d2dc294ab0b8a07522e26e905" dependencies: - "@abp/jquery" "^0.4.8" + "@abp/jquery" "^0.4.9" timeago "^1.6.3" -"@abp/toastr@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-0.4.8.tgz#a68c26a77b7f8b63f51ea1850f911df5210b93b7" +"@abp/toastr@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-0.4.9.tgz#c95703330fefb4e9204292970d17d9facebdffb5" dependencies: - "@abp/jquery" "^0.4.8" + "@abp/jquery" "^0.4.9" toastr "^2.1.4" -"@abp/tui-editor@^0.4.8": - version "0.4.8" - resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-0.4.8.tgz#608190d74985637d9fa82d8a46ab297aa32cbf20" +"@abp/tui-editor@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-0.4.9.tgz#299468a9b01b88390d0a327b3f3e396d7ffe7ed4" dependencies: - "@abp/codemirror" "^0.4.8" - "@abp/highlight.js" "^0.4.8" - "@abp/jquery" "^0.4.8" - "@abp/markdown-it" "^0.4.8" + "@abp/codemirror" "^0.4.9" + "@abp/highlight.js" "^0.4.9" + "@abp/jquery" "^0.4.9" + "@abp/markdown-it" "^0.4.9" tui-editor "^1.2.6" almond@~0.3.1: @@ -1395,9 +1395,9 @@ promise-polyfill@^6.0.2: version "6.1.0" resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-6.1.0.tgz#dfa96943ea9c121fca4de9b5868cb39d3472e057" -"raphael@git+https://github.com/nhnent/raphael.git#2.2.0-c": +"raphael@https://github.com/nhnent/raphael.git#2.2.0-c": version "2.2.0-c" - resolved "git+https://github.com/nhnent/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0" + resolved "https://github.com/nhnent/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0" dependencies: eve "git://github.com/adobe-webplatform/eve.git#eef80ed" diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.css b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.css index b6d2749d06..160c2227df 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.css +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.css @@ -1,4 +1,4 @@ -body.vs-blog { +div.vs-blog { position: relative; background: #fff; font-family: Helvetica, sans-serif; @@ -9,630 +9,398 @@ body.vs-blog { width: 96%; max-width: 1440px; } -*/ -} - -body.vs-blog a, body.vs-blog a:hover { - text-decoration: none; - color: #000000; -} - -body.vs-blog p { - color: #444; - font-family: 'PT Sans', 'Times New Roman', Times, serif; -} - -body.vs-blog h1, body.vs-blog h2, body.vs-blog h3, body.vs-blog h4, body.vs-blog h5, body.vs-blog h6, body.vs-blog .tab-title { - font-family: Helvetica, Roboto, sans-serif; - font-weight: 700; -} - -body.vs-blog h1 { - font-size: 2.0em; - margin: 1.5rem 0 .75rem; -} - -body.vs-blog h2, body.vs-blog .tab-title { - font-size: 1.5em; - margin: 1.5rem 0 .75rem; -} - -body.vs-blog h3 { - font-size: 1.25em; - margin: 1.5rem 0 .75rem; -} - -body.vs-blog h4 { - font-size: 1.25em; - margin: 1.5rem 0 .75rem; -} - -body.vs-blog h5 { - font-size: 1em; -} - -body.vs-blog h6 { - font-size: 1em; -} - -body.vs-blog .lead { - font-size: 1.1rem; - font-weight: 300; -} - -body.vs-blog img { - max-width: 100%; -} - -body.vs-blog input, body.vs-blog select, body.vs-blog textarea, body.vs-blog .form-control, body.vs-blog .btn { - border-radius: 0; -} - -body.vs-blog .navbar-toggler { - background: aqua; -} - -body.vs-blog .no-border { - border: 0; -} - -body.vs-blog .owl-theme .owl-nav { - margin-top: 0 !important; - text-align: center; - -webkit-tap-highlight-color: transparent; - position: absolute; - bottom: 120px; - left: 0; - right: 0; - font-size: 3em; - color: white; -} - -body.vs-blog .owl-theme .owl-nav > button { - width: 40px; - height: 40px; - padding: 0 !important; - display: inline-block !important; - line-height: 27px !important; - text-align: center; - background: none !important; - -webkit-transition: .3s; - transition: .3s; -} - -body.vs-blog .owl-theme .owl-nav > button.owl-next { - position: absolute; - right: 10%; -} - -body.vs-blog .owl-theme .owl-nav > button.owl-prev { - position: absolute; - left: 10%; -} - -body.vs-blog .owl-theme .owl-nav > button > span { - width: 40px; - height: 40px; - padding: 0; - border: 2px solid white; - border-radius: 40px; - display: inline-block; - line-height: 29px; - text-align: center; -} - -body.vs-blog .btn-rounded { - border-radius: 30px; -} - -body.vs-blog .list-group .list-group-item { - position: relative; - display: block; - padding: 21px 0 21px 0; - margin-bottom: -1px; - background-color: #fff; - font-size: .8em; - border: 0; - border: 1px solid #f5f5f5; - border-width: 1px 0; -} - -body.vs-blog .list-group .list-group-item:hover { - background: none; -} - -body.vs-blog .list-group .list-group-item + .list-group-item { - margin-top: -1px; -} - -body.vs-blog .list-group .list-group-item h3 { - margin-top: 0; -} - -body.vs-blog .tab-content { - padding: 30px 0px 0; -} - -body.vs-blog .container { - padding-right: 20px; - padding-left: 20px; -} - -body.vs-blog .row { - margin-right: -20px; - margin-left: -20px; -} - -body.vs-blog .col, body.vs-blog .col-1, body.vs-blog .col-10, body.vs-blog .col-11, body.vs-blog .col-12, body.vs-blog .col-2, body.vs-blog .col-3, body.vs-blog .col-4, body.vs-blog .col-5, body.vs-blog .col-6, body.vs-blog .col-7, body.vs-blog .col-8, body.vs-blog .col-9, body.vs-blog .col-auto, body.vs-blog .col-lg, body.vs-blog .col-lg-1, body.vs-blog .col-lg-10, body.vs-blog .col-lg-11, body.vs-blog .col-lg-12, body.vs-blog .col-lg-2, body.vs-blog .col-lg-3, body.vs-blog .col-lg-4, body.vs-blog .col-lg-5, body.vs-blog .col-lg-6, body.vs-blog .col-lg-7, body.vs-blog .col-lg-8, body.vs-blog .col-lg-9, body.vs-blog .col-lg-auto, body.vs-blog .col-md, body.vs-blog .col-md-1, body.vs-blog .col-md-10, body.vs-blog .col-md-11, body.vs-blog .col-md-12, body.vs-blog .col-md-2, body.vs-blog .col-md-3, body.vs-blog .col-md-4, body.vs-blog .col-md-5, body.vs-blog .col-md-6, body.vs-blog .col-md-7, body.vs-blog .col-md-8, body.vs-blog .col-md-9, body.vs-blog .col-md-auto, body.vs-blog .col-sm, body.vs-blog .col-sm-1, body.vs-blog .col-sm-10, body.vs-blog .col-sm-11, body.vs-blog .col-sm-12, body.vs-blog .col-sm-2, body.vs-blog .col-sm-3, body.vs-blog .col-sm-4, body.vs-blog .col-sm-5, body.vs-blog .col-sm-6, body.vs-blog .col-sm-7, body.vs-blog .col-sm-8, body.vs-blog .col-sm-9, body.vs-blog .col-sm-auto, body.vs-blog .col-xl, body.vs-blog .col-xl-1, body.vs-blog .col-xl-10, body.vs-blog .col-xl-11, body.vs-blog .col-xl-12, body.vs-blog .col-xl-2, body.vs-blog .col-xl-3, body.vs-blog .col-xl-4, body.vs-blog .col-xl-5, body.vs-blog .col-xl-6, body.vs-blog .col-xl-7, body.vs-blog .col-xl-8, body.vs-blog .col-xl-9, body.vs-blog .col-xl-auto { - padding-right: 20px; - padding-left: 20px; -} - -@media (min-width: 1200px) { - body.vs-blog .container { - max-width: 1080px; - } -} - -body.vs-blog .f-85 { - font-size: .85em; -} - -body.vs-blog .nav-tabs { - margin-bottom: 20px; - border-bottom: 3px solid #000; -} - -body.vs-blog .nav-tabs .nav-item { - margin-bottom: -16px; - background: white; - border-left: 5px solid #fff; -} - -body.vs-blog .nav-tabs .nav-item .tab-title { - font-weight: 700; - line-height: 1.1; - padding: 7px; - margin-left: -14px; -} - -body.vs-blog .nav-tabs .nav-link { - font-size: .8em; - border-radius: 50px; - padding: .25rem .5rem; - font-weight: 700; - color: grey; -} - -body.vs-blog .nav-tabs .nav-link:hover, body.vs-blog .nav-tabs .nav-link:focus { - background: #eee; -} - -body.vs-blog .nav-tabs .nav-link.active, -body.vs-blog .nav-tabs .nav-item.show .nav-link { - background: black; - border-color: white; - color: white; - border-radius: 50px; -} - -body.vs-blog .pb-5, body.vs-blog .py-5 { - padding-bottom: 4rem !important; -} - -body.vs-blog .pt-5, body.vs-blog .py-5 { - padding-top: 4rem !important; -} - -body.vs-blog footer { - font-size: .8em; - line-height: 2; -} - -body.vs-blog footer .seperator { - padding: 0 5px; - opacity: .5; -} - -body.vs-blog header { - position: fixed; - width: 100%; - top: 0; - left: 0; - z-index: 100; - background: #f8f9fa; -} - -body.vs-blog header .navbar-blog { - padding: 20px 0; -} - -body.vs-blog header .navbar-blog ul li a { - color: black; -} - -body.vs-blog section.hero-section { - padding: 0; -} - -body.vs-blog section.hero-section .hero-articles { - position: relative; - overflow: hidden; -} - -body.vs-blog section.hero-section .hero-articles .hero-content { - position: absolute; - left: 12%; - right: 12%; - bottom: 80px; - z-index: 4; - text-align: center; -} - -body.vs-blog section.hero-section .hero-articles .hero-content h2 { - margin-top: 0; - font-size: 2.5em; - font-weight: bold; -} - -body.vs-blog section.hero-section .hero-articles .hero-content a { - color: white; - text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); -} - -body.vs-blog section.hero-section .hero-articles .hero-content p { - color: white; -} - -body.vs-blog section.hero-section .hero-articles .tags .tag { - background: rgba(208, 208, 208, 0.3); - color: #fff !important; -} - -body.vs-blog section.hero-section .hero-articles .tags .tag:hover { - background: white; - color: black !important; -} - -body.vs-blog section.hero-section .hero-articles .article-owner { - text-align: center; - position: relative; - z-index: 12; -} - -body.vs-blog section.hero-section .hero-articles .article-owner .article-infos { - color: black; -} - -body.vs-blog section.hero-section .hero-articles .article-owner .article-infos a { - color: black; -} - -body.vs-blog section.hero-section .hero-articles .article-owner .article-infos .seperator { - margin: 0 4px; - color: rgba(255, 255, 255, 0.2); -} - -body.vs-blog section.hero-section .hero-articles .article-owner .article-infos img.article-avatar { - width: 64px; - margin: -25px 10px 0px 0; - border: 3px solid #fff; - display: inline-block; - border-radius: 50%; -} - -body.vs-blog section.hero-section .hero-articles .img-container { - background: black; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -body.vs-blog section.hero-section .hero-articles .img-container img { - -webkit-filter: grayscale(10%); - filter: grayscale(10%); -} - -body.vs-blog section.hero-section .hero-articles .img-container::after { - content: ""; - display: block; - position: absolute; - z-index: 1; - bottom: 0px; - width: 100%; - top: 1% !important; - background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(89%, rgba(0, 0, 0, 0.91)), color-stop(93%, rgba(0, 0, 0, 0.93))) !important; - background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.91) 89%, rgba(0, 0, 0, 0.93) 93%) !important; - -webkit-transition: .2s all ease-in-out; - transition: .2s all ease-in-out; - opacity: .9; -} - -body.vs-blog section.hero-section .hero-articles:hover .img-container::after { - opacity: 1; -} - -body.vs-blog .box-articles { - padding: 0 0 40px 0; -} - -body.vs-blog .box-articles + .box-articles { - padding: 40px 0; - border-top: 1px solid #f5f5f5; - border-bottom: 1px solid #f5f5f5; - margin-top: -1px; -} - -body.vs-blog .box-articles h3 { - margin: 10px 0; -} - -body.vs-blog .box-articles h3 a { - font-weight: 700; -} - -body.vs-blog .box-articles .article-owner .article-infos { - color: #000; -} - -body.vs-blog .box-articles .article-owner .article-infos a { - color: rgba(0, 0, 0, 0.6); -} - -body.vs-blog .box-articles .article-owner .article-infos .seperator { - margin: 0 4px; - color: rgba(0, 0, 0, 0.2); -} - -body.vs-blog .box-articles .article-owner .article-infos img.article-avatar { - width: 30px; - margin: -1px 4px 0 0; - display: inline-block; - border-radius: 50%; -} - -body.vs-blog .card-articles .card-content { - padding: 10px 0px 10px; -} - -body.vs-blog .card-articles .card-content h3 { - margin: 10px 0; -} - -body.vs-blog .card-articles .card-content h3 a { - font-weight: 700; -} - -body.vs-blog .card-articles .article-owner { - text-align: left; -} - -body.vs-blog .card-articles .article-owner .article-infos { - color: #000; -} - -body.vs-blog .card-articles .article-owner .article-infos a { - color: rgba(0, 0, 0, 0.6); -} - -body.vs-blog .card-articles .article-owner .article-infos .seperator { - margin: 0 4px; - color: rgba(0, 0, 0, 0.2); -} - -body.vs-blog .card-articles .article-owner .article-infos img.article-avatar { - width: 30px; - margin: -1px 4px 0 0; - display: inline-block; - border-radius: 50%; -} - -body.vs-blog .article-owner { - font-size: .85em; -} - -body.vs-blog .user-link-icons { - position: absolute; - right: 18px; - top: 15px; - z-index: 3; -} - -body.vs-blog .user-link-icons a { - display: inline-block; - color: #eee; - margin-left: 12px; - font-size: 1.25em; -} - -body.vs-blog .user-link-icons a:hover { - color: #fff; -} - -body.vs-blog .tags { - margin: 5px 0; -} - -body.vs-blog .tags .tag { - display: inline-block; - padding: 0px 6px; - background: rgba(208, 208, 208, 0.3); - border-radius: 30px; - margin: 4px 1px; - color: #b1b1b1 !important; - font-size: .64em; - line-height: 1.6em; - text-transform: uppercase; -} - -body.vs-blog .tags .tag:hover { - background: black; - color: white !important; -} - -body.vs-blog .popular-tags a { - display: block; - padding: 10px 15px; - background: white; - margin-bottom: 2px; - font-size: .85em; -} - -body.vs-blog .popular-tags a:hover { - background: #f5f5f5; -} - -body.vs-blog .popular-tags a span { - float: right; - opacity: .3; - font-size: .85em; -} - -body.vs-blog .img-container { - position: relative; - overflow: hidden; - border-radius: 4px; -} - -body.vs-blog .sidebox .sideboxes { - padding: 30px; - background: #fafafa; -} - -body.vs-blog .post-detail h1 { - padding: 0px 0; - line-height: 1.25em; - font-size: 3.5em; -} - -body.vs-blog .post-detail .article-owner { - text-align: center; - position: relative; - z-index: 12; -} - -body.vs-blog .post-detail .article-owner .article-infos { - color: #000; -} - -body.vs-blog .post-detail .article-owner .article-infos a { - color: black; - color: rgba(0, 0, 0, 0.8); -} - -body.vs-blog .post-detail .article-owner .article-infos .seperator { - margin: 0 4px; - color: rgba(0, 0, 0, 0.2); -} - -body.vs-blog .post-detail .article-owner .article-infos img.article-avatar { - width: 64px; - margin: -20px 10px 0px 0; - display: inline-block; - border-radius: 50%; - border: 3px solid #fff; -} - -body.vs-blog .post-detail .post-content { - font-size: 1.125em; -} - -body.vs-blog .post-detail .post-content .post-img-container { - margin: 50px -80px 20px; - overflow: hidden; - border-radius: 4px; -} - -body.vs-blog .post-detail .post-content .lead { - font-size: 1.125em; - color: #111; -} - -body.vs-blog .comment-avatar { - max-width: 64px; -} - -body.vs-blog .answer-avatar { - max-width: 48px; -} - -body.vs-blog .media { - font-size: .95em; -} - -body.vs-blog .media .media { - font-size: .95em; -} - -body.vs-blog .comment-area .comment-owner span { - font-weight: 300; - color: #999; - font-size: .8em; -} - -body.vs-blog .comment-area > .media { - padding: 30px 0; - border-bottom: 1px solid #f1f1f1; -} - -body.vs-blog .comment-area > .media .media { - padding: 20px 0; -} - -body.vs-blog .comment-area .comment-buttons { - background: #f8f9fa; - border-bottom: 1px solid #f1f1f1; - padding: 6px 10px; - font-size: .85em; -} - -body.vs-blog .comment-area .comment-buttons .seperator { - color: #ddd; - margin: 0 8px; -} - -body.vs-blog .comment-area .comment-buttons .count { - color: #fff; - background: #ddd; - margin-left: 5px; - padding: 1px 3px; - font-size: 10px; - border-radius: 3px; -} - -body.vs-blog .comment-area .comment-buttons .count.count-up { - background: #999; -} - -body.vs-blog .comment-area p { - margin-bottom: 6px; -} - -body.vs-blog .comment-area .comment-avatar { - width: 64px; -} - -body.vs-blog .comment-area .answer-avatar { - width: 48px; -} - -@media (min-width: 767px) { - body.vs-blog .box-articles .img-container { - position: relative; - overflow: hidden; - } - body.vs-blog .box-articles .img-container img { +*/ } + div.vs-blog a, div.vs-blog a:hover { + text-decoration: none; + color: #000000; } + div.vs-blog p { + color: #444; + font-family: 'PT Sans', 'Times New Roman', Times, serif; } + div.vs-blog h1, div.vs-blog h2, div.vs-blog h3, div.vs-blog h4, div.vs-blog h5, div.vs-blog h6, div.vs-blog .tab-title { + font-family: Helvetica, Roboto, sans-serif; + font-weight: 700; } + div.vs-blog h1 { + font-size: 2.0em; + margin: 1.5rem 0 .75rem; } + div.vs-blog h2, div.vs-blog .tab-title { + font-size: 1.5em; + margin: 1.5rem 0 .75rem; } + div.vs-blog h3 { + font-size: 1.25em; + margin: 1.5rem 0 .75rem; } + div.vs-blog h4 { + font-size: 1.25em; + margin: 1.5rem 0 .75rem; } + div.vs-blog h5 { + font-size: 1em; } + div.vs-blog h6 { + font-size: 1em; } + div.vs-blog .lead { + font-size: 1.1rem; + font-weight: 300; } + div.vs-blog img { + max-width: 100%; } + div.vs-blog input, div.vs-blog select, div.vs-blog textarea, div.vs-blog .form-control, div.vs-blog .btn { + border-radius: 0; } + div.vs-blog .navbar-toggler { + background: aqua; } + div.vs-blog .no-border { + border: 0; } + div.vs-blog .owl-theme .owl-nav { + margin-top: 0 !important; + text-align: center; + -webkit-tap-highlight-color: transparent; position: absolute; - left: 50%; - top: 50%; - height: 100%; - width: auto; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - max-width: initial; - } - body.vs-blog .box-articles .img-container img.portrait { + bottom: 120px; + left: 0; + right: 0; + font-size: 3em; + color: white; } + div.vs-blog .owl-theme .owl-nav > button { + width: 40px; + height: 40px; + padding: 0 !important; + display: inline-block !important; + line-height: 27px !important; + text-align: center; + background: none !important; + transition: .3s; } + div.vs-blog .owl-theme .owl-nav > button.owl-next { + position: absolute; + right: 10%; } + div.vs-blog .owl-theme .owl-nav > button.owl-prev { + position: absolute; + left: 10%; } + div.vs-blog .owl-theme .owl-nav > button > span { + width: 40px; + height: 40px; + padding: 0; + border: 2px solid white; + border-radius: 40px; + display: inline-block; + line-height: 29px; + text-align: center; } + div.vs-blog .btn-rounded { + border-radius: 30px; } + div.vs-blog .list-group .list-group-item { + position: relative; + display: block; + padding: 21px 0 21px 0; + margin-bottom: -1px; + background-color: #fff; + font-size: .8em; + border: 0; + border: 1px solid #f5f5f5; + border-width: 1px 0; } + div.vs-blog .list-group .list-group-item:hover { + background: none; } + div.vs-blog .list-group .list-group-item + .list-group-item { + margin-top: -1px; } + div.vs-blog .list-group .list-group-item h3 { + margin-top: 0; } + div.vs-blog .tab-content { + padding: 30px 0px 0; } + div.vs-blog .container { + padding-right: 20px; + padding-left: 20px; } + div.vs-blog .row { + margin-right: -20px; + margin-left: -20px; } + div.vs-blog .col, div.vs-blog .col-1, div.vs-blog .col-10, div.vs-blog .col-11, div.vs-blog .col-12, div.vs-blog .col-2, div.vs-blog .col-3, div.vs-blog .col-4, div.vs-blog .col-5, div.vs-blog .col-6, div.vs-blog .col-7, div.vs-blog .col-8, div.vs-blog .col-9, div.vs-blog .col-auto, div.vs-blog .col-lg, div.vs-blog .col-lg-1, div.vs-blog .col-lg-10, div.vs-blog .col-lg-11, div.vs-blog .col-lg-12, div.vs-blog .col-lg-2, div.vs-blog .col-lg-3, div.vs-blog .col-lg-4, div.vs-blog .col-lg-5, div.vs-blog .col-lg-6, div.vs-blog .col-lg-7, div.vs-blog .col-lg-8, div.vs-blog .col-lg-9, div.vs-blog .col-lg-auto, div.vs-blog .col-md, div.vs-blog .col-md-1, div.vs-blog .col-md-10, div.vs-blog .col-md-11, div.vs-blog .col-md-12, div.vs-blog .col-md-2, div.vs-blog .col-md-3, div.vs-blog .col-md-4, div.vs-blog .col-md-5, div.vs-blog .col-md-6, div.vs-blog .col-md-7, div.vs-blog .col-md-8, div.vs-blog .col-md-9, div.vs-blog .col-md-auto, div.vs-blog .col-sm, div.vs-blog .col-sm-1, div.vs-blog .col-sm-10, div.vs-blog .col-sm-11, div.vs-blog .col-sm-12, div.vs-blog .col-sm-2, div.vs-blog .col-sm-3, div.vs-blog .col-sm-4, div.vs-blog .col-sm-5, div.vs-blog .col-sm-6, div.vs-blog .col-sm-7, div.vs-blog .col-sm-8, div.vs-blog .col-sm-9, div.vs-blog .col-sm-auto, div.vs-blog .col-xl, div.vs-blog .col-xl-1, div.vs-blog .col-xl-10, div.vs-blog .col-xl-11, div.vs-blog .col-xl-12, div.vs-blog .col-xl-2, div.vs-blog .col-xl-3, div.vs-blog .col-xl-4, div.vs-blog .col-xl-5, div.vs-blog .col-xl-6, div.vs-blog .col-xl-7, div.vs-blog .col-xl-8, div.vs-blog .col-xl-9, div.vs-blog .col-xl-auto { + padding-right: 20px; + padding-left: 20px; } + @media (min-width: 1200px) { + div.vs-blog .container { + max-width: 1080px; } } + div.vs-blog .f-85 { + font-size: .85em; } + div.vs-blog .nav-tabs { + margin-bottom: 20px; + border-bottom: 3px solid #000; } + div.vs-blog .nav-tabs .nav-item { + margin-bottom: -16px; + background: white; + border-left: 5px solid #fff; } + div.vs-blog .nav-tabs .nav-item .tab-title { + font-weight: 700; + line-height: 1.1; + padding: 7px; + margin-left: -14px; } + div.vs-blog .nav-tabs .nav-link { + font-size: .8em; + border-radius: 50px; + padding: .25rem .5rem; + font-weight: 700; + color: grey; } + div.vs-blog .nav-tabs .nav-link:hover, div.vs-blog .nav-tabs .nav-link:focus { + background: #eee; } + div.vs-blog .nav-tabs .nav-link.active, + div.vs-blog .nav-tabs .nav-item.show .nav-link { + background: black; + border-color: white; + color: white; + border-radius: 50px; } + div.vs-blog .pb-5, div.vs-blog .py-5 { + padding-bottom: 4rem !important; } + div.vs-blog .pt-5, div.vs-blog .py-5 { + padding-top: 4rem !important; } + div.vs-blog footer { + font-size: .8em; + line-height: 2; } + div.vs-blog footer .seperator { + padding: 0 5px; + opacity: .5; } + div.vs-blog header { + position: fixed; width: 100%; - height: auto; - } -} -/*# sourceMappingURL=blog.css.map */ \ No newline at end of file + top: 0; + left: 0; + z-index: 100; + background: #f8f9fa; } + div.vs-blog header .navbar-blog { + padding: 20px 0; } + div.vs-blog header .navbar-blog ul li a { + color: black; } + div.vs-blog section.hero-section { + padding: 0; } + div.vs-blog section.hero-section .hero-articles { + position: relative; + overflow: hidden; } + div.vs-blog section.hero-section .hero-articles .hero-content { + position: absolute; + left: 12%; + right: 12%; + bottom: 80px; + z-index: 4; + text-align: center; } + div.vs-blog section.hero-section .hero-articles .hero-content h2 { + margin-top: 0; + font-size: 2.5em; + font-weight: bold; } + div.vs-blog section.hero-section .hero-articles .hero-content a { + color: white; + text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); } + div.vs-blog section.hero-section .hero-articles .hero-content p { + color: white; } + div.vs-blog section.hero-section .hero-articles .tags .tag { + background: rgba(208, 208, 208, 0.3); + color: #fff !important; } + div.vs-blog section.hero-section .hero-articles .tags .tag:hover { + background: white; + color: black !important; } + div.vs-blog section.hero-section .hero-articles .article-owner { + text-align: center; + position: relative; + z-index: 12; } + div.vs-blog section.hero-section .hero-articles .article-owner .article-infos { + color: black; } + div.vs-blog section.hero-section .hero-articles .article-owner .article-infos a { + color: black; } + div.vs-blog section.hero-section .hero-articles .article-owner .article-infos .seperator { + margin: 0 4px; + color: rgba(255, 255, 255, 0.2); } + div.vs-blog section.hero-section .hero-articles .article-owner .article-infos img.article-avatar { + width: 64px; + margin: -25px 10px 0px 0; + border: 3px solid #fff; + display: inline-block; + border-radius: 50%; } + div.vs-blog section.hero-section .hero-articles .img-container { + background: black; + border-top-left-radius: 0; + border-top-right-radius: 0; } + div.vs-blog section.hero-section .hero-articles .img-container img { + filter: grayscale(10%); } + div.vs-blog section.hero-section .hero-articles .img-container::after { + content: ""; + display: block; + position: absolute; + z-index: 1; + bottom: 0px; + width: 100%; + top: 1% !important; + background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.91) 89%, rgba(0, 0, 0, 0.93) 93%) !important; + transition: .2s all ease-in-out; + opacity: .9; } + div.vs-blog section.hero-section .hero-articles:hover .img-container::after { + opacity: 1; } + div.vs-blog .box-articles { + padding: 0 0 40px 0; } + div.vs-blog .box-articles + .box-articles { + padding: 40px 0; + border-top: 1px solid #f5f5f5; + border-bottom: 1px solid #f5f5f5; + margin-top: -1px; } + div.vs-blog .box-articles h3 { + margin: 10px 0; } + div.vs-blog .box-articles h3 a { + font-weight: 700; } + div.vs-blog .box-articles .article-owner .article-infos { + color: #000; } + div.vs-blog .box-articles .article-owner .article-infos a { + color: rgba(0, 0, 0, 0.6); } + div.vs-blog .box-articles .article-owner .article-infos .seperator { + margin: 0 4px; + color: rgba(0, 0, 0, 0.2); } + div.vs-blog .box-articles .article-owner .article-infos img.article-avatar { + width: 30px; + margin: -1px 4px 0 0; + display: inline-block; + border-radius: 50%; } + div.vs-blog .card-articles .card-content { + padding: 10px 0px 10px; } + div.vs-blog .card-articles .card-content h3 { + margin: 10px 0; } + div.vs-blog .card-articles .card-content h3 a { + font-weight: 700; } + div.vs-blog .card-articles .article-owner { + text-align: left; } + div.vs-blog .card-articles .article-owner .article-infos { + color: #000; } + div.vs-blog .card-articles .article-owner .article-infos a { + color: rgba(0, 0, 0, 0.6); } + div.vs-blog .card-articles .article-owner .article-infos .seperator { + margin: 0 4px; + color: rgba(0, 0, 0, 0.2); } + div.vs-blog .card-articles .article-owner .article-infos img.article-avatar { + width: 30px; + margin: -1px 4px 0 0; + display: inline-block; + border-radius: 50%; } + div.vs-blog .article-owner { + font-size: .85em; } + div.vs-blog .user-link-icons { + position: absolute; + right: 18px; + top: 15px; + z-index: 3; } + div.vs-blog .user-link-icons a { + display: inline-block; + color: #eee; + margin-left: 12px; + font-size: 1.25em; } + div.vs-blog .user-link-icons a:hover { + color: #fff; } + div.vs-blog .tags { + margin: 5px 0; } + div.vs-blog .tags .tag { + display: inline-block; + padding: 0px 6px; + background: rgba(208, 208, 208, 0.3); + border-radius: 30px; + margin: 4px 1px; + color: #b1b1b1 !important; + font-size: .64em; + line-height: 1.6em; + text-transform: uppercase; } + div.vs-blog .tags .tag:hover { + background: black; + color: white !important; } + div.vs-blog .popular-tags a { + display: block; + padding: 10px 15px; + background: white; + margin-bottom: 2px; + font-size: .85em; } + div.vs-blog .popular-tags a:hover { + background: #f5f5f5; } + div.vs-blog .popular-tags a span { + float: right; + opacity: .3; + font-size: .85em; } + div.vs-blog .img-container { + position: relative; + overflow: hidden; + border-radius: 4px; } + div.vs-blog .sidebox .sideboxes { + padding: 30px; + background: #fafafa; } + div.vs-blog .post-detail h1 { + padding: 0px 0; + line-height: 1.25em; + font-size: 3.5em; } + div.vs-blog .post-detail .article-owner { + text-align: center; + position: relative; + z-index: 12; } + div.vs-blog .post-detail .article-owner .article-infos { + color: #000; } + div.vs-blog .post-detail .article-owner .article-infos a { + color: black; + color: rgba(0, 0, 0, 0.8); } + div.vs-blog .post-detail .article-owner .article-infos .seperator { + margin: 0 4px; + color: rgba(0, 0, 0, 0.2); } + div.vs-blog .post-detail .article-owner .article-infos img.article-avatar { + width: 64px; + margin: -20px 10px 0px 0; + display: inline-block; + border-radius: 50%; + border: 3px solid #fff; } + div.vs-blog .post-detail .post-content { + font-size: 1.125em; } + div.vs-blog .post-detail .post-content .post-img-container { + margin: 50px -80px 20px; + overflow: hidden; + border-radius: 4px; } + div.vs-blog .post-detail .post-content .lead { + font-size: 1.125em; + color: #111; } + div.vs-blog .comment-avatar { + max-width: 64px; } + div.vs-blog .answer-avatar { + max-width: 48px; } + div.vs-blog .media { + font-size: .95em; } + div.vs-blog .media .media { + font-size: .95em; } + div.vs-blog .comment-area .comment-owner span { + font-weight: 300; + color: #999; + font-size: .8em; } + div.vs-blog .comment-area > .media { + padding: 30px 0; + border-bottom: 1px solid #f1f1f1; } + div.vs-blog .comment-area > .media .media { + padding: 20px 0; } + div.vs-blog .comment-area .comment-buttons { + background: #f8f9fa; + border-bottom: 1px solid #f1f1f1; + padding: 6px 10px; + font-size: .85em; } + div.vs-blog .comment-area .comment-buttons .seperator { + color: #ddd; + margin: 0 8px; } + div.vs-blog .comment-area .comment-buttons .count { + color: #fff; + background: #ddd; + margin-left: 5px; + padding: 1px 3px; + font-size: 10px; + border-radius: 3px; } + div.vs-blog .comment-area .comment-buttons .count.count-up { + background: #999; } + div.vs-blog .comment-area p { + margin-bottom: 6px; } + div.vs-blog .comment-area .comment-avatar { + width: 64px; } + div.vs-blog .comment-area .answer-avatar { + width: 48px; } + @media (min-width: 767px) { + div.vs-blog .box-articles .img-container { + position: relative; + overflow: hidden; } + div.vs-blog .box-articles .img-container img { + position: absolute; + left: 50%; + top: 50%; + height: 100%; + width: auto; + -webkit-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + max-width: initial; } + div.vs-blog .box-articles .img-container img.portrait { + width: 100%; + height: auto; } } + diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.min.css b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.min.css new file mode 100644 index 0000000000..3a347e0dc2 --- /dev/null +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Styles/blog.min.css @@ -0,0 +1 @@ +div.vs-blog{position:relative;background:#fff;font-family:Helvetica,sans-serif;font-size:15px;}div.vs-blog a,div.vs-blog a:hover{text-decoration:none;color:#000;}div.vs-blog p{color:#444;font-family:'PT Sans','Times New Roman',Times,serif;}div.vs-blog h1,div.vs-blog h2,div.vs-blog h3,div.vs-blog h4,div.vs-blog h5,div.vs-blog h6,div.vs-blog .tab-title{font-family:Helvetica,Roboto,sans-serif;font-weight:700;}div.vs-blog h1{font-size:2em;margin:1.5rem 0 .75rem;}div.vs-blog h2,div.vs-blog .tab-title{font-size:1.5em;margin:1.5rem 0 .75rem;}div.vs-blog h3{font-size:1.25em;margin:1.5rem 0 .75rem;}div.vs-blog h4{font-size:1.25em;margin:1.5rem 0 .75rem;}div.vs-blog h5{font-size:1em;}div.vs-blog h6{font-size:1em;}div.vs-blog .lead{font-size:1.1rem;font-weight:300;}div.vs-blog img{max-width:100%;}div.vs-blog input,div.vs-blog select,div.vs-blog textarea,div.vs-blog .form-control,div.vs-blog .btn{border-radius:0;}div.vs-blog .navbar-toggler{background:#0ff;}div.vs-blog .no-border{border:0;}div.vs-blog .owl-theme .owl-nav{margin-top:0 !important;text-align:center;-webkit-tap-highlight-color:transparent;position:absolute;bottom:120px;left:0;right:0;font-size:3em;color:#fff;}div.vs-blog .owl-theme .owl-nav>button{width:40px;height:40px;padding:0 !important;display:inline-block !important;line-height:27px !important;text-align:center;background:none !important;transition:.3s;}div.vs-blog .owl-theme .owl-nav>button.owl-next{position:absolute;right:10%;}div.vs-blog .owl-theme .owl-nav>button.owl-prev{position:absolute;left:10%;}div.vs-blog .owl-theme .owl-nav>button>span{width:40px;height:40px;padding:0;border:2px solid #fff;border-radius:40px;display:inline-block;line-height:29px;text-align:center;}div.vs-blog .btn-rounded{border-radius:30px;}div.vs-blog .list-group .list-group-item{position:relative;display:block;padding:21px 0 21px 0;margin-bottom:-1px;background-color:#fff;font-size:.8em;border:0;border:1px solid #f5f5f5;border-width:1px 0;}div.vs-blog .list-group .list-group-item:hover{background:none;}div.vs-blog .list-group .list-group-item+.list-group-item{margin-top:-1px;}div.vs-blog .list-group .list-group-item h3{margin-top:0;}div.vs-blog .tab-content{padding:30px 0 0;}div.vs-blog .container{padding-right:20px;padding-left:20px;}div.vs-blog .row{margin-right:-20px;margin-left:-20px;}div.vs-blog .col,div.vs-blog .col-1,div.vs-blog .col-10,div.vs-blog .col-11,div.vs-blog .col-12,div.vs-blog .col-2,div.vs-blog .col-3,div.vs-blog .col-4,div.vs-blog .col-5,div.vs-blog .col-6,div.vs-blog .col-7,div.vs-blog .col-8,div.vs-blog .col-9,div.vs-blog .col-auto,div.vs-blog .col-lg,div.vs-blog .col-lg-1,div.vs-blog .col-lg-10,div.vs-blog .col-lg-11,div.vs-blog .col-lg-12,div.vs-blog .col-lg-2,div.vs-blog .col-lg-3,div.vs-blog .col-lg-4,div.vs-blog .col-lg-5,div.vs-blog .col-lg-6,div.vs-blog .col-lg-7,div.vs-blog .col-lg-8,div.vs-blog .col-lg-9,div.vs-blog .col-lg-auto,div.vs-blog .col-md,div.vs-blog .col-md-1,div.vs-blog .col-md-10,div.vs-blog .col-md-11,div.vs-blog .col-md-12,div.vs-blog .col-md-2,div.vs-blog .col-md-3,div.vs-blog .col-md-4,div.vs-blog .col-md-5,div.vs-blog .col-md-6,div.vs-blog .col-md-7,div.vs-blog .col-md-8,div.vs-blog .col-md-9,div.vs-blog .col-md-auto,div.vs-blog .col-sm,div.vs-blog .col-sm-1,div.vs-blog .col-sm-10,div.vs-blog .col-sm-11,div.vs-blog .col-sm-12,div.vs-blog .col-sm-2,div.vs-blog .col-sm-3,div.vs-blog .col-sm-4,div.vs-blog .col-sm-5,div.vs-blog .col-sm-6,div.vs-blog .col-sm-7,div.vs-blog .col-sm-8,div.vs-blog .col-sm-9,div.vs-blog .col-sm-auto,div.vs-blog .col-xl,div.vs-blog .col-xl-1,div.vs-blog .col-xl-10,div.vs-blog .col-xl-11,div.vs-blog .col-xl-12,div.vs-blog .col-xl-2,div.vs-blog .col-xl-3,div.vs-blog .col-xl-4,div.vs-blog .col-xl-5,div.vs-blog .col-xl-6,div.vs-blog .col-xl-7,div.vs-blog .col-xl-8,div.vs-blog .col-xl-9,div.vs-blog .col-xl-auto{padding-right:20px;padding-left:20px;}@media(min-width:1200px){div.vs-blog .container{max-width:1080px;}}div.vs-blog .f-85{font-size:.85em;}div.vs-blog .nav-tabs{margin-bottom:20px;border-bottom:3px solid #000;}div.vs-blog .nav-tabs .nav-item{margin-bottom:-16px;background:#fff;border-left:5px solid #fff;}div.vs-blog .nav-tabs .nav-item .tab-title{font-weight:700;line-height:1.1;padding:7px;margin-left:-14px;}div.vs-blog .nav-tabs .nav-link{font-size:.8em;border-radius:50px;padding:.25rem .5rem;font-weight:700;color:#808080;}div.vs-blog .nav-tabs .nav-link:hover,div.vs-blog .nav-tabs .nav-link:focus{background:#eee;}div.vs-blog .nav-tabs .nav-link.active,div.vs-blog .nav-tabs .nav-item.show .nav-link{background:#000;border-color:#fff;color:#fff;border-radius:50px;}div.vs-blog .pb-5,div.vs-blog .py-5{padding-bottom:4rem !important;}div.vs-blog .pt-5,div.vs-blog .py-5{padding-top:4rem !important;}div.vs-blog footer{font-size:.8em;line-height:2;}div.vs-blog footer .seperator{padding:0 5px;opacity:.5;}div.vs-blog header{position:fixed;width:100%;top:0;left:0;z-index:100;background:#f8f9fa;}div.vs-blog header .navbar-blog{padding:20px 0;}div.vs-blog header .navbar-blog ul li a{color:#000;}div.vs-blog section.hero-section{padding:0;}div.vs-blog section.hero-section .hero-articles{position:relative;overflow:hidden;}div.vs-blog section.hero-section .hero-articles .hero-content{position:absolute;left:12%;right:12%;bottom:80px;z-index:4;text-align:center;}div.vs-blog section.hero-section .hero-articles .hero-content h2{margin-top:0;font-size:2.5em;font-weight:bold;}div.vs-blog section.hero-section .hero-articles .hero-content a{color:#fff;text-shadow:0 0 20px rgba(0,0,0,.5);}div.vs-blog section.hero-section .hero-articles .hero-content p{color:#fff;}div.vs-blog section.hero-section .hero-articles .tags .tag{background:rgba(208,208,208,.3);color:#fff !important;}div.vs-blog section.hero-section .hero-articles .tags .tag:hover{background:#fff;color:#000 !important;}div.vs-blog section.hero-section .hero-articles .article-owner{text-align:center;position:relative;z-index:12;}div.vs-blog section.hero-section .hero-articles .article-owner .article-infos{color:#000;}div.vs-blog section.hero-section .hero-articles .article-owner .article-infos a{color:#000;}div.vs-blog section.hero-section .hero-articles .article-owner .article-infos .seperator{margin:0 4px;color:rgba(255,255,255,.2);}div.vs-blog section.hero-section .hero-articles .article-owner .article-infos img.article-avatar{width:64px;margin:-25px 10px 0 0;border:3px solid #fff;display:inline-block;border-radius:50%;}div.vs-blog section.hero-section .hero-articles .img-container{background:#000;border-top-left-radius:0;border-top-right-radius:0;}div.vs-blog section.hero-section .hero-articles .img-container img{filter:grayscale(10%);}div.vs-blog section.hero-section .hero-articles .img-container::after{content:"";display:block;position:absolute;z-index:1;bottom:0;width:100%;top:1% !important;background:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.91) 89%,rgba(0,0,0,.93) 93%) !important;transition:.2s all ease-in-out;opacity:.9;}div.vs-blog section.hero-section .hero-articles:hover .img-container::after{opacity:1;}div.vs-blog .box-articles{padding:0 0 40px 0;}div.vs-blog .box-articles+.box-articles{padding:40px 0;border-top:1px solid #f5f5f5;border-bottom:1px solid #f5f5f5;margin-top:-1px;}div.vs-blog .box-articles h3{margin:10px 0;}div.vs-blog .box-articles h3 a{font-weight:700;}div.vs-blog .box-articles .article-owner .article-infos{color:#000;}div.vs-blog .box-articles .article-owner .article-infos a{color:rgba(0,0,0,.6);}div.vs-blog .box-articles .article-owner .article-infos .seperator{margin:0 4px;color:rgba(0,0,0,.2);}div.vs-blog .box-articles .article-owner .article-infos img.article-avatar{width:30px;margin:-1px 4px 0 0;display:inline-block;border-radius:50%;}div.vs-blog .card-articles .card-content{padding:10px 0 10px;}div.vs-blog .card-articles .card-content h3{margin:10px 0;}div.vs-blog .card-articles .card-content h3 a{font-weight:700;}div.vs-blog .card-articles .article-owner{text-align:left;}div.vs-blog .card-articles .article-owner .article-infos{color:#000;}div.vs-blog .card-articles .article-owner .article-infos a{color:rgba(0,0,0,.6);}div.vs-blog .card-articles .article-owner .article-infos .seperator{margin:0 4px;color:rgba(0,0,0,.2);}div.vs-blog .card-articles .article-owner .article-infos img.article-avatar{width:30px;margin:-1px 4px 0 0;display:inline-block;border-radius:50%;}div.vs-blog .article-owner{font-size:.85em;}div.vs-blog .user-link-icons{position:absolute;right:18px;top:15px;z-index:3;}div.vs-blog .user-link-icons a{display:inline-block;color:#eee;margin-left:12px;font-size:1.25em;}div.vs-blog .user-link-icons a:hover{color:#fff;}div.vs-blog .tags{margin:5px 0;}div.vs-blog .tags .tag{display:inline-block;padding:0 6px;background:rgba(208,208,208,.3);border-radius:30px;margin:4px 1px;color:#b1b1b1 !important;font-size:.64em;line-height:1.6em;text-transform:uppercase;}div.vs-blog .tags .tag:hover{background:#000;color:#fff !important;}div.vs-blog .popular-tags a{display:block;padding:10px 15px;background:#fff;margin-bottom:2px;font-size:.85em;}div.vs-blog .popular-tags a:hover{background:#f5f5f5;}div.vs-blog .popular-tags a span{float:right;opacity:.3;font-size:.85em;}div.vs-blog .img-container{position:relative;overflow:hidden;border-radius:4px;}div.vs-blog .sidebox .sideboxes{padding:30px;background:#fafafa;}div.vs-blog .post-detail h1{padding:0 0;line-height:1.25em;font-size:3.5em;}div.vs-blog .post-detail .article-owner{text-align:center;position:relative;z-index:12;}div.vs-blog .post-detail .article-owner .article-infos{color:#000;}div.vs-blog .post-detail .article-owner .article-infos a{color:#000;color:rgba(0,0,0,.8);}div.vs-blog .post-detail .article-owner .article-infos .seperator{margin:0 4px;color:rgba(0,0,0,.2);}div.vs-blog .post-detail .article-owner .article-infos img.article-avatar{width:64px;margin:-20px 10px 0 0;display:inline-block;border-radius:50%;border:3px solid #fff;}div.vs-blog .post-detail .post-content{font-size:1.125em;}div.vs-blog .post-detail .post-content .post-img-container{margin:50px -80px 20px;overflow:hidden;border-radius:4px;}div.vs-blog .post-detail .post-content .lead{font-size:1.125em;color:#111;}div.vs-blog .comment-avatar{max-width:64px;}div.vs-blog .answer-avatar{max-width:48px;}div.vs-blog .media{font-size:.95em;}div.vs-blog .media .media{font-size:.95em;}div.vs-blog .comment-area .comment-owner span{font-weight:300;color:#999;font-size:.8em;}div.vs-blog .comment-area>.media{padding:30px 0;border-bottom:1px solid #f1f1f1;}div.vs-blog .comment-area>.media .media{padding:20px 0;}div.vs-blog .comment-area .comment-buttons{background:#f8f9fa;border-bottom:1px solid #f1f1f1;padding:6px 10px;font-size:.85em;}div.vs-blog .comment-area .comment-buttons .seperator{color:#ddd;margin:0 8px;}div.vs-blog .comment-area .comment-buttons .count{color:#fff;background:#ddd;margin-left:5px;padding:1px 3px;font-size:10px;border-radius:3px;}div.vs-blog .comment-area .comment-buttons .count.count-up{background:#999;}div.vs-blog .comment-area p{margin-bottom:6px;}div.vs-blog .comment-area .comment-avatar{width:64px;}div.vs-blog .comment-area .answer-avatar{width:48px;}@media(min-width:767px){div.vs-blog .box-articles .img-container{position:relative;overflow:hidden;}div.vs-blog .box-articles .img-container img{position:absolute;left:50%;top:50%;height:100%;width:auto;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:initial;}div.vs-blog .box-articles .img-container img.portrait{width:100%;height:auto;}} \ No newline at end of file diff --git a/modules/blogging/src/Volo.Blogging.Web/Volo.Blogging.Web.csproj b/modules/blogging/src/Volo.Blogging.Web/Volo.Blogging.Web.csproj index 14c5ad27a1..bd1d3727de 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Volo.Blogging.Web.csproj +++ b/modules/blogging/src/Volo.Blogging.Web/Volo.Blogging.Web.csproj @@ -33,7 +33,9 @@ + + diff --git a/modules/blogging/src/Volo.Blogging.Web/compilerconfig.json b/modules/blogging/src/Volo.Blogging.Web/compilerconfig.json new file mode 100644 index 0000000000..68749f502f --- /dev/null +++ b/modules/blogging/src/Volo.Blogging.Web/compilerconfig.json @@ -0,0 +1,6 @@ +[ + { + "outputFile": "Pages/Blog/Shared/Styles/blog.css", + "inputFile": "Pages/Blog/Shared/Styles/blog.scss" + } +] \ No newline at end of file diff --git a/modules/blogging/src/Volo.Blogging.Web/compilerconfig.json.defaults b/modules/blogging/src/Volo.Blogging.Web/compilerconfig.json.defaults new file mode 100644 index 0000000000..c75eb7d519 --- /dev/null +++ b/modules/blogging/src/Volo.Blogging.Web/compilerconfig.json.defaults @@ -0,0 +1,49 @@ +{ + "compilers": { + "less": { + "autoPrefix": "", + "cssComb": "none", + "ieCompat": true, + "strictMath": false, + "strictUnits": false, + "relativeUrls": true, + "rootPath": "", + "sourceMapRoot": "", + "sourceMapBasePath": "", + "sourceMap": false + }, + "sass": { + "includePath": "", + "indentType": "space", + "indentWidth": 2, + "outputStyle": "nested", + "Precision": 5, + "relativeUrls": true, + "sourceMapRoot": "", + "sourceMap": false + }, + "stylus": { + "sourceMap": false + }, + "babel": { + "sourceMap": false + }, + "coffeescript": { + "bare": false, + "runtimeMode": "node", + "sourceMap": false + } + }, + "minifiers": { + "css": { + "enabled": true, + "termSemicolons": true, + "gzip": false + }, + "javascript": { + "enabled": true, + "termSemicolons": true, + "gzip": false + } + } +} \ No newline at end of file From de281335c0cf4040852de02240794fd4d493d59d Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 09:44:12 +0300 Subject: [PATCH 04/22] Added blog title --- .../Volo.Blogging.Web/Pages/Blog/Index.cshtml | 1 + .../Pages/Blog/Posts/Detail.cshtml | 3 + .../Pages/Blog/Posts/Edit.cshtml | 6 +- .../Pages/Blog/Posts/Index.cshtml | 3 + .../Pages/Blog/Posts/New.cshtml | 13 +- .../Pages/Blog/Shared/Scripts/blog.js | 132 +++++++++--------- 6 files changed, 83 insertions(+), 75 deletions(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Index.cshtml index 2bb245c123..726ab082c9 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Index.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Index.cshtml @@ -3,6 +3,7 @@ @*inherits BloggingPage*@ @model IndexModel @{ + ViewBag.PageTitle = "Blog"; }

Blogs diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index 3d1f177750..0efcf13817 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -5,6 +5,9 @@ @using Volo.Blogging.Pages.Blog.Posts @inject IAuthorizationService Authorization @model DetailModel +@{ + ViewBag.PageTitle = "Blog"; +} @section scripts { diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml index e3bab16a37..fc9740b600 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml @@ -3,7 +3,9 @@ @using Volo.Blogging.Pages.Blog.Posts @model EditModel @inherits Volo.Blogging.Pages.Blog.BloggingPage - +@{ + ViewBag.PageTitle = "Blog"; +} @section styles { @@ -18,7 +20,7 @@ }
-
+ diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml index eb12fcdf82..2b8410034a 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml @@ -6,6 +6,9 @@ @using Volo.Blogging.Pages.Blog.Posts @inject IAuthorizationService Authorization @model Volo.Blogging.Pages.Blog.Posts.IndexModel +@{ + ViewBag.PageTitle = "Blog"; +} @section scripts { diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml index 65e9cddc41..2b0cca5e77 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml @@ -2,14 +2,17 @@ @using Volo.Abp.AspNetCore.Mvc.UI.Packages.TuiEditor @model Volo.Blogging.Pages.Blog.Posts.NewModel @inherits Volo.Blogging.Pages.Blog.BloggingPage +@{ + ViewBag.PageTitle = "Blog"; +} @section styles { - - - - + + + + } @section scripts { - + diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Scripts/blog.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Scripts/blog.js index 18a1b59c4b..64282d87eb 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Scripts/blog.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Shared/Scripts/blog.js @@ -1,71 +1,67 @@ -function handleArrows() { - var herosWidth = $(".hero-articles").width(); - var arrowsPosition = (herosWidth / 2 - 90); - $(".owl-next").css("right", arrowsPosition); - $(".owl-prev").css("left", arrowsPosition); -} -function handleImages() { - if ($(window).width() > 767) { - $(".box-articles .img-container").each(function(){ - var squareWidth = $(this).width(); - $(this).css("height", squareWidth); - }); - } - else { - $(".box-articles .img-container").css("height", "auto"); +(function() { + function handleArrows() { + var herosWidth = $(".hero-articles").width(); + var arrowsPosition = (herosWidth / 2 - 90); + $(".owl-next").css("right", arrowsPosition); + $(".owl-prev").css("left", arrowsPosition); } -} -function handleOwlCarousel() { - $('.hero-section .owl-carousel').owlCarousel({ - loop:true, - margin: 0, - nav: false, - dots: false, - //center: true, - autoplay: true, - autoHeight: true, - autoplaySpeed: 1000, - items:1, - }); - $('.card-article-container .owl-carousel').owlCarousel({ - loop:true, - margin:0, - nav: false, - dots: false, - autoplay: true, - autoplaySpeed: 1000, - responsive:{ - 0: { - items:1 - }, + + function handleImages() { + if ($(window).width() > 767) { + $(".box-articles .img-container").each(function () { + var squareWidth = $(this).width(); + $(this).css("height", squareWidth); + }); } - }); -} - -$(document).ready(function(){ - setTimeout(function(){ - handleArrows(); - }, 500); - handleImages(); - handleOwlCarousel(); - var stickySidebar = new StickySidebar('#sidebar', { - topSpacing: 80, - bottomSpacing: 0, - containerSelector: false, - innerWrapperSelector: '.sidebar__inner', - resizeSensor: true, - stickyClass: 'is-affixed', - minWidth: 0 - }); -}); - -$(window).resize(function(){ - setTimeout(function(){ - handleArrows(); - handleImages(); - }, 500); -}); + else { + $(".box-articles .img-container").css("height", "auto"); + } + } -$(".nav-link").on("click", function(){ - $(this).parent().parent(); -}); \ No newline at end of file + function handleOwlCarousel() { + $('.hero-section .owl-carousel').owlCarousel({ + loop: true, + margin: 0, + nav: false, + dots: false, + //center: true, + autoplay: true, + autoHeight: true, + autoplaySpeed: 1000, + items: 1 + }); + $('.card-article-container .owl-carousel').owlCarousel({ + loop: true, + margin: 0, + nav: false, + dots: false, + autoplay: true, + autoplaySpeed: 1000, + responsive: { + 0: { + items: 1 + } + } + }); + } + + $(function () { + handleImages(); + handleOwlCarousel(); + + $(".nav-link").on("click", function () { + $(this).parent().parent(); + }); + + $(window).resize(function () { + setTimeout(function () { + handleArrows(); + handleImages(); + }, 500); + }); + + setTimeout(function () { + handleArrows(); + }, 500); + }); +})(); \ No newline at end of file From cc7f50e4e739506cb3633d8626b9c69fd6877fc1 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 09:51:43 +0300 Subject: [PATCH 05/22] Blog module Added ConvertDatetimeToTimeAgo method --- .../Resources/Blogging/Web/en.json | 7 +++ .../Resources/Blogging/Web/tr.json | 7 +++ .../Pages/Blog/BloggingPage.cs | 44 ++++++++++++++++++- 3 files changed, 57 insertions(+), 1 deletion(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/en.json b/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/en.json index 8b0ab73c2b..5b3e3c470b 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/en.json +++ b/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/en.json @@ -5,6 +5,13 @@ "Title": "Title", "ContinueReading": "Continue Reading", "DaysAgo": "days ago", + "YearsAgo": "years ago", + "MonthsAgo": "months ago", + "WeeksAgo": "weeks ago", + "MinutesAgo": "minutes ago", + "SecondsAgo": "seconds ago", + "HoursAgo": "hours ago", + "Now": "now", "Content": "Content", "SeeAll": "See All", "PopularTags": "Popular Tags", diff --git a/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json b/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json index be713a517b..8d1cd8f056 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json +++ b/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json @@ -5,6 +5,13 @@ "Title": "Başlık", "ContinueReading": "Devamı...", "DaysAgo": "Gün Önce", + "YearsAgo": "yıl önce", + "MonthsAgo": "ay önce", + "WeeksAgo": "hafta önce", + "MinutesAgo": "dakika önce", + "SecondsAgo": "saniye önce", + "HoursAgo": "saat önce", + "Now": "şimdi", "Content": "İçerik", "SeeAll": "Hepsini Gör", "PopularTags": "Popüler Etiketler", diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/BloggingPage.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/BloggingPage.cs index 7a07772219..1adcc10e8b 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/BloggingPage.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/BloggingPage.cs @@ -1,4 +1,5 @@ -using Microsoft.AspNetCore.Mvc.Localization; +using System; +using Microsoft.AspNetCore.Mvc.Localization; using Microsoft.AspNetCore.Mvc.Razor.Internal; using Volo.Abp.AspNetCore.Mvc.UI.RazorPages; using Volo.Blogging.Localization; @@ -21,5 +22,46 @@ namespace Volo.Blogging.Pages.Blog return title; } + + public string ConvertDatetimeToTimeAgo(DateTime dt) + { + var timeDiff = DateTime.Now - dt; + + var diffInDays = (int) timeDiff.TotalDays; + + if (diffInDays >= 365) + { + return diffInDays / 365 + L["YearsAgo"].Value; + } + if (diffInDays >= 30) + { + return diffInDays / 30 + L["MonthsAgo"].Value; + } + if (diffInDays >= 7) + { + return diffInDays / 7 + L["WeeksAgo"].Value; + } + if (diffInDays >= 1) + { + return diffInDays + L["DaysAgo"].Value; + } + + var diffInSeconds = (int) timeDiff.TotalSeconds; + + if (diffInSeconds >= 3600) + { + return diffInSeconds / 3600 + L["HoursAgo"].Value; + } + if (diffInSeconds >= 60) + { + return diffInSeconds / 60 + L["MinutesAgo"].Value; + } + if (diffInSeconds >= 1) + { + return diffInSeconds + L["SecondsAgo"].Value; + } + + return L["Now"].Value; + } } } From 812d87ea927b3d101d7006720c4196759fb447b7 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 09:57:06 +0300 Subject: [PATCH 06/22] Blog module pages creation time changed to time past --- .../src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml | 6 +++--- .../src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index 0efcf13817..6503d0a5de 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -44,7 +44,7 @@ - Halil İbrahim Kalkan, @Model.Post.CreationTime.ToString("dd/MM/yyyy hh/mm") + Halil İbrahim Kalkan, @ConvertDatetimeToTimeAgo(Model.Post.CreationTime) | @@ -122,7 +122,7 @@
Armağan Ünlü - @commentWithRepliesDto.Comment.CreationTime.ToString("dd/MM/yyyy hh/mm") + @ConvertDatetimeToTimeAgo(commentWithRepliesDto.Comment.CreationTime)

@commentWithRepliesDto.Comment.Text @@ -167,7 +167,7 @@

Zlatan Ibrahimovic - @reply.CreationTime.ToString("dd/MM/yyyy hh/mm") + @ConvertDatetimeToTimeAgo(reply.CreationTime)

@reply.Text diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml index 2b8410034a..4726d9a1d4 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml @@ -65,7 +65,7 @@ - Armağan Ünlü, @((DateTime.Today - post.CreationTime).Days) @L["DaysAgo"] + Armağan Ünlü, @ConvertDatetimeToTimeAgo(post.CreationTime) | @@ -132,7 +132,7 @@

@@ -204,7 +204,7 @@ - Armağan Ünlü, @((DateTime.Today - post.CreationTime).Days) @L["DaysAgo"] + Armağan Ünlü, @ConvertDatetimeToTimeAgo(post.CreationTime) | From 5a6c50b90ef700dd4b4b00fee76466d0bf9a7a1e Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 10:01:32 +0300 Subject: [PATCH 07/22] Blog module comment and reply orders --- .../Volo/Blogging/Comments/CommentAppService.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs index 0fe0666820..531666bfa9 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Volo.Abp.Application.Services; @@ -39,6 +40,13 @@ namespace Volo.Blogging.Comments } } + hierarchicalComments = hierarchicalComments.OrderByDescending(c => c.Comment.CreationTime).ToList(); + + foreach (var hierarchicalComment in hierarchicalComments) + { + hierarchicalComment.Replies = hierarchicalComment.Replies.OrderBy(c => c.CreationTime).ToList(); + } + return hierarchicalComments; } From 72b104e7e654db0ae3636f6e4adad5b46e83ec1a Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 10:02:13 +0300 Subject: [PATCH 08/22] blog module edit tr localization --- .../Localization/Resources/Blogging/Web/tr.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json b/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json index 8d1cd8f056..965965a70a 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json +++ b/modules/blogging/src/Volo.Blogging.Web/Localization/Resources/Blogging/Web/tr.json @@ -20,7 +20,7 @@ "LeaveComment": "Yorum Bırak", "TagsInThisArticle": "Makalenin Etiketleri", "Posts": "Yazılar", - "Edit": "Düzelt", + "Edit": "Düzenle", "Comment": "Yorum", "WhatIsNew": "Yeniler" } From 48da9ab044705437da9e065b0419e018bd86ea2b Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 10:05:16 +0300 Subject: [PATCH 09/22] blog module cancel button in edit page returns to post --- .../src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml | 2 +- .../src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml index fc9740b600..5cf5b1b5cc 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml @@ -49,7 +49,7 @@
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml.cs index e2f0aab317..0aa2778bad 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml.cs @@ -14,6 +14,9 @@ namespace Volo.Blogging.Pages.Blog.Posts private readonly IPostAppService _postAppService; private readonly IBlogAppService _blogAppService; + [BindProperty(SupportsGet = true)] + public string BlogShortName { get; set; } + [BindProperty(SupportsGet = true)] public string PostId { get; set; } From 88f0b48e7d213523a649b5939527d79cb59c16fc Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 10:05:48 +0300 Subject: [PATCH 10/22] blog module submit buttons primary --- .../blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml | 2 +- .../blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml index 5cf5b1b5cc..e6d79c0185 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Edit.cshtml @@ -47,7 +47,7 @@
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml index 2b0cca5e77..8dad66e684 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/New.cshtml @@ -47,7 +47,7 @@
From 86aaad017f7ee60a07f70589cf8351ddb4f39243 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 11:20:40 +0300 Subject: [PATCH 11/22] blogging module deleting comment --- .../Blogging/Comments/CommentAppService.cs | 9 ++++- .../Blogging/Comments/ICommentRepository.cs | 2 + .../Comments/EfCoreCommentRepository.cs | 6 +++ .../Blog/Controllers/CommentsController.cs | 28 +++++++++++++ .../Pages/Blog/Posts/Detail.cshtml | 18 ++++++++- .../Pages/Blog/Posts/Detail.cshtml.cs | 7 ++++ .../Pages/Blog/Posts/detail.js | 40 ++++++++++++++----- 7 files changed, 96 insertions(+), 14 deletions(-) create mode 100644 modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs index 531666bfa9..6263159480 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs @@ -61,7 +61,7 @@ namespace Volo.Blogging.Comments [Authorize(BloggingPermissions.Comments.Create)] public async Task CreateAsync(CreateCommentDto input) { - var comment = new Comment(_guidGenerator.Create(), input.PostId, input.RepliedCommentId,input.Text); + var comment = new Comment(_guidGenerator.Create(), input.PostId, input.RepliedCommentId, input.Text); comment = await _commentRepository.InsertAsync(comment); @@ -84,6 +84,13 @@ namespace Volo.Blogging.Comments public async Task DeleteAsync(Guid id) { await _commentRepository.DeleteAsync(id); + + var replies = await _commentRepository.GetRepliesOfComment(id); + + foreach (var reply in replies) + { + await _commentRepository.DeleteAsync(reply.Id); + } } } } diff --git a/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Comments/ICommentRepository.cs b/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Comments/ICommentRepository.cs index 841114c2af..fb91a7816e 100644 --- a/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Comments/ICommentRepository.cs +++ b/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Comments/ICommentRepository.cs @@ -10,5 +10,7 @@ namespace Volo.Blogging.Comments Task> GetListOfPostAsync( Guid postId ); + + Task> GetRepliesOfComment(Guid id); } } diff --git a/modules/blogging/src/Volo.Blogging.EntityFrameworkCore/Volo/Blogging/Comments/EfCoreCommentRepository.cs b/modules/blogging/src/Volo.Blogging.EntityFrameworkCore/Volo/Blogging/Comments/EfCoreCommentRepository.cs index 5fc57c14b6..3713d0464d 100644 --- a/modules/blogging/src/Volo.Blogging.EntityFrameworkCore/Volo/Blogging/Comments/EfCoreCommentRepository.cs +++ b/modules/blogging/src/Volo.Blogging.EntityFrameworkCore/Volo/Blogging/Comments/EfCoreCommentRepository.cs @@ -23,5 +23,11 @@ namespace Volo.Blogging.Comments .OrderBy(a => a.CreationTime) .ToListAsync(); } + + public async Task> GetRepliesOfComment(Guid id) + { + return await DbSet + .Where(a => a.RepliedCommentId == id).ToListAsync(); + } } } diff --git a/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs b/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs new file mode 100644 index 0000000000..2d5298b708 --- /dev/null +++ b/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc; +using Volo.Abp.AspNetCore.Mvc; +using Volo.Blogging.Comments; + +namespace Volo.Blogging.Areas.Blog.Controllers +{ + [Area("Blog")] + [Route("Blog/[controller]/[action]")] + public class CommentsController : AbpController + { + private readonly ICommentAppService _commentAppService; + + public CommentsController(ICommentAppService commentAppService) + { + _commentAppService = commentAppService; + } + + [HttpPost] + public async Task Delete(Guid id) + { + await _commentAppService.DeleteAsync(id); + } + } +} diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index 6503d0a5de..5ebfafc427 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -132,7 +132,13 @@ @L["Reply"] - + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Delete)) + { + | + + @L["Delete"] + + } | 44 @@ -176,6 +182,14 @@ @L["Reply"] + + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Delete)) + { + | + + @L["Delete"] + + } | 44 @@ -210,4 +224,4 @@ - \ No newline at end of file + diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml.cs index a653af7cff..a4736b3d4e 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml.cs @@ -62,6 +62,13 @@ namespace Volo.Blogging.Pages.Blog.Posts await GetData(); } + public async void OnDeleteAsync(Guid commentId) + { + await _commentAppService.DeleteAsync(commentId); + + await GetData(); + } + private async Task GetData() { Blog = await _blogAppService.GetByShortNameAsync(BlogShortName); diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js index 8225e2244f..d5308ea213 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js @@ -3,21 +3,39 @@ $('div .replyForm').hide(); $('a').click(function (event) { - var data = $(this).attr('data-relpyid'); + var linkElement = $(this); + var data = linkElement.attr('data-relpyid'); - if (data == '' || data === undefined) { - return; - } + if (data != '' && data !== undefined) { + + event.preventDefault(); - event.preventDefault(); + var div = $(this).parent().next(); - var div = $(this).parent().next(); + if (div.is(":hidden")) { + $('div .replyForm').hide(); + div.show(); + } else { + div.hide(); + } + return; + } - if (div.is(":hidden")) { - $('div .replyForm').hide(); - div.show(); - } else { - div.hide(); + var id = $(this).attr('data-deleteid'); + + if (id != '' && id !== undefined) { + + event.preventDefault(); + console.log(id); + $.ajax({ + type: "POST", + url: "/Blog/Comments/Delete", + data: { id: id }, + success: function (response) { + console.log(linkElement); + linkElement.parent().parent().parent().remove(); + } + }); } }); From 83c506d2bcc0f5fd8793e93639f5dd707c6ecdec Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 11:43:02 +0300 Subject: [PATCH 12/22] Blog module tag page moved to index --- .../Volo/Blogging/Posts/IPostAppService.cs | 2 - .../Volo/Blogging/Posts/PostAppService.cs | 17 ++-- .../Volo.Blogging.Web/BloggingWebModule.cs | 1 - .../Pages/Blog/Posts/Detail.cshtml | 4 +- .../Pages/Blog/Posts/Index.cshtml | 6 +- .../Pages/Blog/Posts/Index.cshtml.cs | 5 +- .../Pages/Blog/Tags/Posts.cshtml | 93 ------------------- .../Pages/Blog/Tags/Posts.cshtml.cs | 34 ------- 8 files changed, 16 insertions(+), 146 deletions(-) delete mode 100644 modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml delete mode 100644 modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml.cs diff --git a/modules/blogging/src/Volo.Blogging.Application.Contracts/Volo/Blogging/Posts/IPostAppService.cs b/modules/blogging/src/Volo.Blogging.Application.Contracts/Volo/Blogging/Posts/IPostAppService.cs index cc2da9521d..fc1e536b45 100644 --- a/modules/blogging/src/Volo.Blogging.Application.Contracts/Volo/Blogging/Posts/IPostAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application.Contracts/Volo/Blogging/Posts/IPostAppService.cs @@ -7,8 +7,6 @@ namespace Volo.Blogging.Posts { public interface IPostAppService : IApplicationService { - Task> GetListByBlogId(Guid id); - Task> GetListByBlogIdAndTagName(Guid blogId, string tagName); Task GetForReadingAsync(GetPostInput input); diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs index 0df97fdd1e..f39f9f369e 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs @@ -32,7 +32,7 @@ namespace Volo.Blogging.Posts _commentRepository = commentRepository; } - public async Task> GetListByBlogId(Guid id) + public async Task> GetListByBlogIdAndTagName(Guid id, string tagName) { var posts = _postRepository.GetPostsByBlogId(id); @@ -50,16 +50,13 @@ namespace Volo.Blogging.Posts postDto.CommentCount = (await _commentRepository.GetListAsync()).Count(p => p.PostId == postDto.Id); } - return new ListResultDto(postDtos); - } - - public async Task> GetListByBlogIdAndTagName(Guid blogId, string tagName) - { - var all = (await GetListByBlogId(blogId)).Items; - - var tag = await _tagRepository.GetByNameAsync(tagName); + if (!tagName.IsNullOrWhiteSpace()) + { + var tag = await _tagRepository.GetByNameAsync(tagName); + postDtos = postDtos.Where(p => p.Tags.Any(t => t.Id == tag.Id)).ToList(); + } - return new ListResultDto(all.Where(p=>p.Tags.Any(t=>t.Id == tag.Id)).ToList()); + return new ListResultDto(postDtos); } public async Task GetForReadingAsync(GetPostInput input) diff --git a/modules/blogging/src/Volo.Blogging.Web/BloggingWebModule.cs b/modules/blogging/src/Volo.Blogging.Web/BloggingWebModule.cs index 44f8b7cd8d..9ec9c04d94 100644 --- a/modules/blogging/src/Volo.Blogging.Web/BloggingWebModule.cs +++ b/modules/blogging/src/Volo.Blogging.Web/BloggingWebModule.cs @@ -61,7 +61,6 @@ namespace Volo.Blogging options.Conventions.AddPageRoute("/Blog/Posts/Detail", "blog/{blogShortName}/{postUrl}"); options.Conventions.AddPageRoute("/Blog/Posts/Edit", "blog/{blogShortName}/posts/edit/{postId}"); options.Conventions.AddPageRoute("/Blog/Posts/New", "blog/{blogShortName}/posts/new"); - options.Conventions.AddPageRoute("/Blog/Tags/Posts", "blog/{blogShortName}/{tagName}/posts"); }); context.Services.AddAssemblyOf(); diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index 5ebfafc427..71843c16d9 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -30,7 +30,7 @@

@foreach (var tag in Model.Post.Tags) { - @tag.Name + @tag.Name }

@@ -94,7 +94,7 @@

@L["TagsInThisArticle"]
@foreach (var tag in Model.Post.Tags) { - @tag.Name + @tag.Name }
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml index 4726d9a1d4..3ce970e11b 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml @@ -46,7 +46,7 @@

@foreach (var tag in post.Tags) { - @tag.Name + @tag.Name }

@@ -188,7 +188,7 @@

@foreach (var tag in post.Tags) { - @tag.Name + @tag.Name }

@@ -234,7 +234,7 @@ diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml.cs index 9d6a9cb635..eb9b8b9574 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml.cs @@ -18,6 +18,9 @@ namespace Volo.Blogging.Pages.Blog.Posts [BindProperty(SupportsGet = true)] public string BlogShortName { get; set; } + [BindProperty(SupportsGet = true)] + public string TagName { get; set; } + public IReadOnlyList Posts { get; set; } public IReadOnlyList PopularTags { get; set; } @@ -32,7 +35,7 @@ namespace Volo.Blogging.Pages.Blog.Posts public async Task OnGetAsync() { var blog = await _blogAppService.GetByShortNameAsync(BlogShortName); - Posts = (await _postAppService.GetListByBlogId(blog.Id)).Items; + Posts = (await _postAppService.GetListByBlogIdAndTagName(blog.Id, TagName)).Items; PopularTags = (await _tagAppService.GetPopularTags(new GetPopularTagsInput {ResultCount = 10})); } } diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml deleted file mode 100644 index ff643406b0..0000000000 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml +++ /dev/null @@ -1,93 +0,0 @@ -@page -@inherits Volo.Blogging.Pages.Blog.BloggingPage -@using Volo.Blogging.Pages.Blog.Tags -@model PostsModel -@{ -} - -@section scripts { - - - -} -@section styles { - - - -} - -
-
-
-
-
-
-

#@Model.TagName

-
-
-
- - @for (var index = 0; index < Model.Posts.Count; index++) - { - var post = Model.Posts[index]; - var oddPost = index % 2 == 1; - -
-
-
-
- - - - -
-
-
-

- @foreach (var tag in post.Tags) - { - @tag.Name - } -

-

- @post.Title -

-

- @(post.Content == null ? "" : (post.Content.Length > 250 ? post.Content.Substring(0, 150) : post.Content))... -

-
- -
-
-
-
- } - -
- -
-
\ No newline at end of file diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml.cs deleted file mode 100644 index bb040e021b..0000000000 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Tags/Posts.cshtml.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Collections.Generic; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; -using Volo.Blogging.Blogs; -using Volo.Blogging.Posts; - -namespace Volo.Blogging.Pages.Blog.Tags -{ - public class PostsModel : PageModel - { - private readonly IPostAppService _postAppService; - private readonly IBlogAppService _blogAppService; - - [BindProperty(SupportsGet = true)] - public string BlogShortName { get; set; } - - [BindProperty(SupportsGet = true)] - public string TagName { get; set; } - - public IReadOnlyList Posts { get; set; } - - public PostsModel(IPostAppService postAppService, IBlogAppService blogAppService) - { - _postAppService = postAppService; - _blogAppService = blogAppService; - } - - public async void OnGetAsync() - { - var blog = await _blogAppService.GetByShortNameAsync(BlogShortName); - Posts = (await _postAppService.GetListByBlogIdAndTagName(blog.Id, TagName)).Items; - } - } -} \ No newline at end of file From 4d3858ecce3b3b52dcbb2d8ae8a1c433562abc8a Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 12:54:07 +0300 Subject: [PATCH 13/22] blog module basic auth on delete --- .../Blogging/Comments/CommentAppService.cs | 20 ++++++++++++++++++- .../Pages/Blog/Posts/Detail.cshtml | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs index 6263159480..60f8ac1d46 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs @@ -80,8 +80,26 @@ namespace Volo.Blogging.Comments return ObjectMapper.Map(comment); } - [Authorize(BloggingPermissions.Comments.Delete)] public async Task DeleteAsync(Guid id) + { + var comment = await _commentRepository.GetAsync(id); + + if (CurrentUser.Id != comment.CreatorId) + { + await DeleteAsAdminAsync(id); + return; + } + + await DeleteCommentAsync(id); + } + + [Authorize(BloggingPermissions.Comments.Delete)] + private async Task DeleteAsAdminAsync(Guid id) + { + await DeleteCommentAsync(id); + } + + private async Task DeleteCommentAsync(Guid id) { await _commentRepository.DeleteAsync(id); diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index 71843c16d9..561f96bfc7 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -183,7 +183,7 @@ @L["Reply"] - @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Delete)) + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Delete) || (CurrentUser.Id == commentWithRepliesDto.Comment.CreatorId)) { | From fc1a676a23e198f2d089bf4c8860da3af9e9a493 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 7 Sep 2018 15:25:21 +0300 Subject: [PATCH 14/22] blogging module edit comment --- .../Blogging/Comments/CommentAppService.cs | 19 ++++- .../Blog/Controllers/CommentsController.cs | 7 ++ .../Pages/Blog/Posts/Detail.cshtml | 72 ++++++++++++++----- .../Pages/Blog/Posts/detail.js | 48 +++++++++++-- .../Pages/Blog/Posts/edit.js | 2 - .../Volo.Blogging.Web/Pages/Blog/Posts/new.js | 6 +- 6 files changed, 122 insertions(+), 32 deletions(-) diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs index 60f8ac1d46..a3e17bc109 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Comments/CommentAppService.cs @@ -9,7 +9,7 @@ using Volo.Blogging.Comments.Dtos; namespace Volo.Blogging.Comments { - [Authorize(BloggingPermissions.Comments.Default)] + // [Authorize(BloggingPermissions.Comments.Default)] public class CommentAppService : ApplicationService, ICommentAppService { private readonly ICommentRepository _commentRepository; @@ -68,11 +68,26 @@ namespace Volo.Blogging.Comments return ObjectMapper.Map(comment); } - [Authorize(BloggingPermissions.Comments.Update)] public async Task UpdateAsync(Guid id, UpdateCommentDto input) { var comment = await _commentRepository.GetAsync(id); + if (CurrentUser.Id != comment.CreatorId) + { + return await UpdateAsAdminAsync(id, comment, input); + } + + return await UpdateCommentAsync(id, comment, input); + } + + [Authorize(BloggingPermissions.Comments.Update)] + private async Task UpdateAsAdminAsync(Guid id, Comment comment, UpdateCommentDto input) + { + return await UpdateCommentAsync(id, comment, input); + } + + private async Task UpdateCommentAsync(Guid id, Comment comment, UpdateCommentDto input) + { comment.SetText(input.Text); comment = await _commentRepository.UpdateAsync(comment); diff --git a/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs b/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs index 2d5298b708..4c8176351d 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Areas/Blog/Controllers/CommentsController.cs @@ -5,6 +5,7 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc; using Volo.Blogging.Comments; +using Volo.Blogging.Comments.Dtos; namespace Volo.Blogging.Areas.Blog.Controllers { @@ -24,5 +25,11 @@ namespace Volo.Blogging.Areas.Blog.Controllers { await _commentAppService.DeleteAsync(id); } + + [HttpPost] + public async Task Update(Guid id, UpdateCommentDto commentDto) + { + await _commentAppService.UpdateAsync(id, commentDto); + } } } diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index 561f96bfc7..df1a9e7a53 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -124,7 +124,7 @@ Armağan Ünlü @ConvertDatetimeToTimeAgo(commentWithRepliesDto.Comment.CreationTime)

-

+

@commentWithRepliesDto.Comment.Text

@@ -139,14 +139,14 @@ @L["Delete"] } - | - - 44 - - | - - 8 - + + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Update) || (CurrentUser.Id == commentWithRepliesDto.Comment.CreatorId)) + { + | + + @L["Edit"] + + }
@@ -165,6 +165,23 @@
+ + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Update) || (CurrentUser.Id == commentWithRepliesDto.Comment.CreatorId)) + { +
+
+
+ + +
+ +
+ + +
+
+
+ } @foreach (var reply in commentWithRepliesDto.Replies) { @@ -175,14 +192,14 @@ Zlatan Ibrahimovic @ConvertDatetimeToTimeAgo(reply.CreationTime)

-

+

@reply.Text

@L["Reply"] - + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Delete) || (CurrentUser.Id == commentWithRepliesDto.Comment.CreatorId)) { | @@ -190,14 +207,14 @@ @L["Delete"] } - | - - 44 - - | - - 8 - + + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Update) || (CurrentUser.Id == commentWithRepliesDto.Comment.CreatorId)) + { + | + + @L["Edit"] + + }
@@ -215,6 +232,23 @@
+ + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Comments.Update) || (CurrentUser.Id == commentWithRepliesDto.Comment.CreatorId)) + { +
+
+
+
+ +
+ +
+ + +
+
+
+ } } diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js index d5308ea213..9a15b035bc 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/detail.js @@ -1,6 +1,27 @@ (function ($) { $('div .replyForm').hide(); + $('div .editForm').hide(); + + $('form[class="editFormClass"]').submit(function (event) { + event.preventDefault(); + var form = $(this).serializeFormToObject(); + + $.ajax({ + type: "POST", + url: "/Blog/Comments/Update", + data: { + id: form.commentId, + commentDto: { + text: form.text + } + }, + success: function (response) { + $('div .editForm').hide(); + $('#' + form.commentId).text(form.text); + } + }); + }); $('a').click(function (event) { var linkElement = $(this); @@ -21,23 +42,40 @@ return; } - var id = $(this).attr('data-deleteid'); + data = $(this).attr('data-deleteid'); - if (id != '' && id !== undefined) { + if (data != '' && data !== undefined) { event.preventDefault(); - console.log(id); + $.ajax({ type: "POST", url: "/Blog/Comments/Delete", - data: { id: id }, + data: { id: data }, success: function (response) { - console.log(linkElement); linkElement.parent().parent().parent().remove(); } }); } + data = $(this).attr('data-updateid'); + + if (data != '' && data !== undefined) { + + event.preventDefault(); + + var div = $(this).parent().next().next(); + + if (div.is(":hidden")) { + $('div .editForm').hide(); + div.show(); + } else { + div.hide(); + } + return; + } + + }); })(jQuery); diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/edit.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/edit.js index e912f65528..1b31da77ca 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/edit.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/edit.js @@ -47,8 +47,6 @@ } }).data(editorDataKey); - - $container.find("form#edit-post-form").submit(function (e) { var $postTextInput = $form.find("input[name='Post.Content']"); diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/new.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/new.js index 5fd102ff28..54ce131681 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/new.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/new.js @@ -46,8 +46,6 @@ } }).data(editorDataKey); - - $container.find("form#new-post-form").submit(function (e) { var $postTextInput = $form.find("input[name='Post.Content']"); @@ -65,8 +63,8 @@ title = title.substring(0, 64); } - title = title.replace(' ','-'); - + title = title.replace(' ', '-'); + title = title.replace(new RegExp(' ', 'g'), '-'); $('#Post_Url').val(title); }); From 280b41ba14cc116099a44fd691c968dbbe567d14 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 16:30:02 +0300 Subject: [PATCH 15/22] Added empty TenantSwitch module --- framework/Volo.Abp.sln | 9 ++++++- .../AbpAspNetCoreMvcUITenantSwitchModule.cs | 15 +++++++++++ .../Properties/launchSettings.json | 27 +++++++++++++++++++ ....Abp.AspNetCore.Mvc.UI.TenantSwitch.csproj | 22 +++++++++++++++ 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/AbpAspNetCoreMvcUITenantSwitchModule.cs create mode 100644 framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Properties/launchSettings.json create mode 100644 framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch.csproj diff --git a/framework/Volo.Abp.sln b/framework/Volo.Abp.sln index a45a1a958e..16f2d55c9d 100644 --- a/framework/Volo.Abp.sln +++ b/framework/Volo.Abp.sln @@ -210,7 +210,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Abp.BackgroundJobs.Rab EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Abp.RabbitMQ", "src\Volo.Abp.RabbitMQ\Volo.Abp.RabbitMQ.csproj", "{D91DE561-F403-416F-BD0B-DBF0BA1C4447}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Emailing.Tests", "test\Volo.Abp.Emailing.Tests\Volo.Abp.Emailing.Tests.csproj", "{D3E07597-BB3D-4249-B873-607E2C128C0E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Abp.Emailing.Tests", "test\Volo.Abp.Emailing.Tests\Volo.Abp.Emailing.Tests.csproj", "{D3E07597-BB3D-4249-B873-607E2C128C0E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch", "src\Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch\Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch.csproj", "{6C67A0E0-5C0A-47C1-9B04-616B8820B377}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -598,6 +600,10 @@ Global {D3E07597-BB3D-4249-B873-607E2C128C0E}.Debug|Any CPU.Build.0 = Debug|Any CPU {D3E07597-BB3D-4249-B873-607E2C128C0E}.Release|Any CPU.ActiveCfg = Release|Any CPU {D3E07597-BB3D-4249-B873-607E2C128C0E}.Release|Any CPU.Build.0 = Release|Any CPU + {6C67A0E0-5C0A-47C1-9B04-616B8820B377}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C67A0E0-5C0A-47C1-9B04-616B8820B377}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C67A0E0-5C0A-47C1-9B04-616B8820B377}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C67A0E0-5C0A-47C1-9B04-616B8820B377}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -700,6 +706,7 @@ Global {DA7A2C04-E8C4-48AA-A37E-27C25BCE280A} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6} {D91DE561-F403-416F-BD0B-DBF0BA1C4447} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6} {D3E07597-BB3D-4249-B873-607E2C128C0E} = {447C8A77-E5F0-4538-8687-7383196D04EA} + {6C67A0E0-5C0A-47C1-9B04-616B8820B377} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {BB97ECF4-9A84-433F-A80B-2A3285BDD1D5} diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/AbpAspNetCoreMvcUITenantSwitchModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/AbpAspNetCoreMvcUITenantSwitchModule.cs new file mode 100644 index 0000000000..8ea3a55411 --- /dev/null +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/AbpAspNetCoreMvcUITenantSwitchModule.cs @@ -0,0 +1,15 @@ +using Volo.Abp.AspNetCore.MultiTenancy; +using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared; +using Volo.Abp.Modularity; + +namespace Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch +{ + [DependsOn( + typeof(AbpAspNetCoreMvcUiThemeSharedModule), + typeof(AbpAspNetCoreMultiTenancyModule) + )] + public class AbpAspNetCoreMvcUiTenantSwitchModule : AbpModule + { + + } +} diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Properties/launchSettings.json b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Properties/launchSettings.json new file mode 100644 index 0000000000..6870af4120 --- /dev/null +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Properties/launchSettings.json @@ -0,0 +1,27 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:56918/", + "sslPort": 0 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "http://localhost:56919/" + } + } +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch.csproj b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch.csproj new file mode 100644 index 0000000000..1e8257fd8f --- /dev/null +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch/Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch.csproj @@ -0,0 +1,22 @@ + + + + + + netstandard2.0 + Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch + Volo.Abp.AspNetCore.Mvc.UI.TenantSwitch + $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; + false + false + false + true + Library + + + + + + + + From 33111945e32318b09ff83d8195060ab5aae4f189 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 17:07:43 +0300 Subject: [PATCH 16/22] Resolved #408: Automatically register services by convention for a module --- docs/Dependency-Injection.md | 67 +++++++++---------- .../Getting-Started-AspNetCore-Application.md | 13 +--- docs/Getting-Started-Console-Application.md | 12 ++-- docs/Module-Development-Basics.md | 29 +------- .../AbpAspNetCoreAuthenticationOAuthModule.cs | 8 +-- .../AbpAspNetCoreMultiTenancyModule.cs | 2 - .../AbpAspNetCoreMvcUiBootstrapModule.cs | 2 - .../AbpAspNetCoreMvcUiBundlingModule.cs | 5 +- .../AbpAspNetCoreMvcUiPackagesModule.cs | 5 +- .../AbpAspNetCoreMvcUIBasicThemeModule.cs | 2 - .../AbpAspNetCoreMvcUiThemeSharedModule.cs | 2 - .../Mvc/UI/AbpAspNetCoreMvcUiModule.cs | 8 +-- .../AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs | 2 - .../TestBase/AbpAspNetCoreTestBaseModule.cs | 8 +-- .../Abp/AspNetCore/AbpAspNetCoreModule.cs | 1 - .../Volo/Abp/Auditing/AbpAuditingModule.cs | 5 -- .../Authorization/AbpAuthorizationModule.cs | 2 - .../Abp/AutoMapper/AbpAutoMapperModule.cs | 2 - .../AbpBackgroundJobsAbstractionsModule.cs | 5 -- .../AbpBackgroundJobsHangfireModule.cs | 8 +-- .../AbpBackgroundJobsRabbitMqModule.cs | 2 - .../BackgroundJobs/AbpBackgroundJobsModule.cs | 5 -- .../AbpBackgroundWorkersModule.cs | 4 -- .../Volo/Abp/Caching/AbpCachingModule.cs | 2 - .../Volo/Abp/Modularity/AbpModule.cs | 2 + .../Volo/Abp/Modularity/ModuleLoader.cs | 8 +++ .../Volo/Abp/Data/AbpDataModule.cs | 2 - .../Application/AbpDddApplicationModule.cs | 2 - .../Volo/Abp/Domain/AbpDddDomainModule.cs | 8 +-- .../Volo/Abp/Emailing/AbpEmailingModule.cs | 2 - .../AbpEntityFrameworkCoreMySQLModule.cs | 8 +-- .../AbpEntityFrameworkCoreSqlServerModule.cs | 8 +-- .../AbpEntityFrameworkCoreModule.cs | 1 - .../AbpRabbitMqDistributedEventBusModule.cs | 8 +-- .../AbpDistributedEventBusModule.cs | 8 +-- .../Volo/Abp/EventBus/AbpEventBusModule.cs | 5 -- .../Volo/Abp/Guids/AbpGuidsModule.cs | 8 +-- .../Volo/Abp/Hangfire/AbpHangfireModule.cs | 2 - .../Abp/Http/AbpHttpAbstractionsModule.cs | 8 +-- .../Abp/Http/Client/AbpHttpClientModule.cs | 8 +-- .../Volo/Abp/Http/AbpHttpModule.cs | 2 - .../Volo/Abp/Json/AbpJsonModule.cs | 8 +-- .../Abp/Localization/AbpLocalizationModule.cs | 2 - .../Volo/Abp/MemoryDb/AbpMemoryDbModule.cs | 4 +- .../Volo/Abp/MongoDB/AbpMongoDbModule.cs | 4 +- .../AbpMultiTenancyAbstractionsModule.cs | 2 - .../ObjectMapping/AbpObjectMappingModule.cs | 5 -- .../Volo/Abp/RabbitMQ/AbpRabbitMqModule.cs | 5 -- .../Volo/Abp/Security/AbpSecurityModule.cs | 8 +-- .../Serialization/AbpSerializationModule.cs | 5 -- .../Volo/Abp/Settings/AbpSettingsModule.cs | 8 +-- .../Volo.Abp.Sms/Volo/Abp/Sms/AbpSmsModule.cs | 8 +-- .../Volo/Abp/Threading/AbpThreadingModule.cs | 2 - .../Volo/Abp/Timing/AbpTimingModule.cs | 8 +-- .../Ui/Navigation/AbpUiNavigationModule.cs | 8 +-- .../Volo.Abp.UI/Volo/Abp/Ui/AbpUiModule.cs | 2 - .../Volo/Abp/Uow/AbpUnitOfWorkModule.cs | 5 -- .../Abp/Validation/AbpValidationModule.cs | 5 -- .../AbpVirtualFileSystemModule.cs | 8 +-- framework/test/SimpleConsoleDemo/Program.cs | 5 +- .../Mvc/AbpAspNetCoreMvcTestModule.cs | 2 - ...pAspNetCoreMvcUiBootstrapDemoTestModule.cs | 8 +-- .../AbpAspNetCoreMvcUiBootstrapDemoModule.cs | 6 -- .../Mvc/UI/AbpAspNetCoreMvcUiTestModule.cs | 8 +-- .../AbpAspNetCoreMvcVersioningTestModule.cs | 2 - .../AbpAuthorizationTestModule.cs | 2 - .../Volo/Abp/AutoMapper/AutofacTestModule.cs | 2 - .../Volo/Abp/Autofac/AutofacTestModule.cs | 8 +-- .../AbpBackgroundJobsTestModule.cs | 8 +-- .../Volo/Abp/Caching/AbpCachingTestModule.cs | 8 +-- .../AbpEfCoreTestSecondContextModule.cs | 2 - .../AbpEntityFrameworkCoreTestModule.cs | 2 - .../Volo/Abp/EventBus/EventBusTestModule.cs | 6 +- .../Volo/Abp/Http/AbpHttpTestModule.cs | 2 - .../Abp/MemoryDb/AbpMemoryDbTestModule.cs | 2 - .../Volo/Abp/MongoDB/AbpMongoDbTestModule.cs | 2 - .../AbpSerializationTestModule.cs | 8 +-- .../Volo/Abp/TestApp/TestAppTestModule.cs | 8 +-- .../Volo/Abp/TestApp/TestAppModule.cs | 2 - 79 files changed, 109 insertions(+), 372 deletions(-) diff --git a/docs/Dependency-Injection.md b/docs/Dependency-Injection.md index 15c9fe941d..5839b71dc0 100644 --- a/docs/Dependency-Injection.md +++ b/docs/Dependency-Injection.md @@ -18,11 +18,28 @@ public class BlogModule : AbpModule ### Conventional Registration -ABP introduces conventional service registration. To register all services of a module, you can simple call ``AddAssemblyOf`` extension method as shown below: +ABP introduces conventional service registration. You should do nothing to register services by convention. It's automatically done. If you want to disable it, you can set `SkipAutoServiceRegistration` to `true` by overriding the `PreConfigureServices` method. ````C# public class BlogModule : AbpModule { + public override void PreConfigureServices(ServiceConfigurationContext context) + { + SkipAutoServiceRegistration = true; + } +} +```` + +Once you skip auto registration, you should manually register your services. In that case, ``AddAssemblyOf`` extension method can help you to register all your services by convention. Example: + +````c# +public class BlogModule : AbpModule +{ + public override void PreConfigureServices(ServiceConfigurationContext context) + { + SkipAutoServiceRegistration = true; + } + public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAssemblyOf(); @@ -30,19 +47,19 @@ public class BlogModule : AbpModule } ```` -``AddAssemblyOf`` extension method takes a type (generally the type of the module class) and registers all services in the same assembly with given type by convention. The section below explains conventions and configurations. +The section below explains the conventions and configurations. -#### Inheritly Registered Types +#### Inherently Registered Types Some specific types are registered to dependency injection by default. Examples: -* Module classes implement ``IAbpModule`` interface are registered as singleton. -* MVC controllers inherit ``Controller`` (or ``AbpController``) class are registered as transient. -* MVC page models inherit ``PageModel`` (or ``AbpPageModel``) class are registered as transient. -* MVC view components inherit ``ViewComponent`` (or ``AbpViewComponent``) class are registered as transient. -* Application services implement ``IApplicationService`` interface (or inherit ``ApplicationService`` class) are registered as transient. -* Repositories implement ``IRepository`` interface are registered as transient. -* Domain services implement ``IDomainService`` interface are registered as transient. +* Module classes are registered as singleton. +* MVC controllers (inherit ``Controller`` or ``AbpController``) are registered as transient. +* MVC page models (inherit ``PageModel`` or ``AbpPageModel``) are registered as transient. +* MVC view components (inherit ``ViewComponent`` or ``AbpViewComponent``) are registered as transient. +* Application services (implement ``IApplicationService`` interface or inherit ``ApplicationService`` class) are registered as transient. +* Repositories (implement ``IRepository`` interface) are registered as transient. +* Domain services (implement ``IDomainService`` interface) are registered as transient. Example: @@ -129,16 +146,13 @@ public class TaxCalculator : ITaxCalculator, ITransientDependency #### Manually Registering -In some cases, you may need to register a service to IServiceCollection manually, especially if you need to use custom factory methods or singleton instances. In that case, you can directly add services just as Microsoft documentation describes. Example: +In some cases, you may need to register a service to the `IServiceCollection` manually, especially if you need to use custom factory methods or singleton instances. In that case, you can directly add services just as Microsoft documentation describes. Example: ````C# public class BlogModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { - //Add services by convention - context.Services.AddAssemblyOf(); - //Register an instance as singleton context.Services.AddSingleton(new TaxCalculator(taxRatio: 0.18)); @@ -148,25 +162,6 @@ public class BlogModule : AbpModule } ```` -Finally, you may want to add a single class or a few classes by ABP's conventions, but don't want to use ``AddAssemblyOf``. In that case, you can use ``AddType`` and ``AddTypes`` extension method which implements ABP's conventions for given type(s). Example: - -````C# -public class BlogModule : AbpModule -{ - public override void ConfigureServices(ServiceConfigurationContext context) - { - //Add single type - context.Services.AddType(typeof(TaxCalculator)); - - //Add multiple types in once call - context.Services.AddTypes(typeof(TaxCalculator), typeof(MyOtherService)); - - //Add single type using generic shortcut - context.Services.AddType(); - } -} -```` - ### Injecting Dependencies There are three common ways of using a service that is registered before. @@ -269,4 +264,8 @@ using (var scope = _serviceProvider.CreateScope()) } ```` -Both services are released when the created scope is disposed (at the end of the using block). \ No newline at end of file +Both services are released when the created scope is disposed (at the end of the using block). + +### See Also + +* [ASP.NET Core Dependency Injection Best Practices, Tips & Tricks](https://medium.com/volosoft/asp-net-core-dependency-injection-best-practices-tips-tricks-c6e9c67f9d96) \ No newline at end of file diff --git a/docs/Getting-Started-AspNetCore-Application.md b/docs/Getting-Started-AspNetCore-Application.md index 30d956c53c..f63040a6e1 100644 --- a/docs/Getting-Started-AspNetCore-Application.md +++ b/docs/Getting-Started-AspNetCore-Application.md @@ -1,6 +1,6 @@ ## Getting Started ABP With AspNet Core MVC Web Application -This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with a ***startup template*** (TODO: link). +This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with a ***[startup template](https://abp.io/Templates)***. ### Create A New Project @@ -40,11 +40,6 @@ namespace BasicAspNetCoreApplication [DependsOn(typeof(AbpAspNetCoreMvcModule))] public class AppModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { var app = context.GetApplicationBuilder(); @@ -63,11 +58,9 @@ namespace BasicAspNetCoreApplication ``AppModule`` is a good name for the startup module for an application. -A module class can register services to Dependency Injection by overriding ``ConfigureServices`` method as shown here. ``AddAssemblyOf<...>`` is a special extension method of ABP that registers all services in an assembly by convention (see [dependency injection document](Dependency-Injection.md)). While this is optional, a module generally registers some services. - ABP packages define module classes and a module can depend on another module. In the code above, our ``AppModule`` depends on ``AbpAspNetCoreMvcModule`` (defined by Volo.Abp.AspNetCore.Mvc package). It's common to add a ``DependsOn`` attribute after installing a new ABP nuget package. -Instead of Startup class, we are registering dependencies and configuring AspNet Core pipeline in this module class. +Instead of Startup class, we are configuring ASP.NET Core pipeline in this module class. ### The Startup Class @@ -127,7 +120,7 @@ If you run the application, you will see a "Hello World!" message on the page. Derived ``HomeController`` from ``AbpController`` instead of standard ``Controller`` class. This is not required, but ``AbpController`` class has useful base properties and methods to make your development easier. -### Using Autofac as Dependency Injection Framework +### Using Autofac as the Dependency Injection Framework While AspNet Core's Dependency Injection (DI) system is fine for basic requirements, Autofac provides advanced features like Property Injection and Method Interception which are required by ABP to perform advanced application framework features. diff --git a/docs/Getting-Started-Console-Application.md b/docs/Getting-Started-Console-Application.md index 2fdebd4356..0f10c7f505 100644 --- a/docs/Getting-Started-Console-Application.md +++ b/docs/Getting-Started-Console-Application.md @@ -1,6 +1,6 @@ ## Getting Started ABP With Console Application -This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with a ***startup template*** (TODO: link). +This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with a ***[startup template](https://abp.io/Templates)***. ### Create A New Project @@ -28,18 +28,13 @@ namespace AbpConsoleDemo { public class AppModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } ```` ``AppModule`` is a good name for the startup module for an application. -A module class can register services to Dependency Injection by overriding ``ConfigureServices`` method as shown here. ``AddAssemblyOf<...>`` is a special extension method of ABP that registers all services in an assembly by convention (TODO: link to DI document). While this is optional, a module generally registers some services. - ### Initialize The Application The next step is to bootstrap the application using the startup module created above: @@ -110,7 +105,8 @@ namespace AbpConsoleDemo application.Initialize(); //Resolve a service and use it - var helloWorldService = application.ServiceProvider.GetService(); + var helloWorldService = + application.ServiceProvider.GetService(); helloWorldService.SayHello(); Console.WriteLine("Press ENTER to stop application..."); diff --git a/docs/Module-Development-Basics.md b/docs/Module-Development-Basics.md index 151bd9987a..43435ef080 100644 --- a/docs/Module-Development-Basics.md +++ b/docs/Module-Development-Basics.md @@ -32,19 +32,7 @@ public class BlogModule : AbpModule } ```` -You can register dependencies one by one as stated in Microsoft's documentation. ABP has also a **conventional dependency registration system** which allows you to register all services in your assembly automatically. ``ConfigureServices`` methods of most modules contain such an expression to register all services in given module: - -````C# -public class BlogModule : AbpModule -{ - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } -} -```` - -See [Dependency Injection](Dependency-Injection.md) documentation for more about the dependency injection system. +You can register dependencies one by one as stated in Microsoft's documentation. Bu ABP has a **conventional dependency registration system** which automatically register all services in your assembly. See the [dependency Injection](Dependency-Injection.md) documentation for more about the dependency injection system. You can also configure other services and modules in this method. Example: @@ -53,8 +41,6 @@ public class BlogModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - //Configure default connection string for the application context.Services.Configure(options => { @@ -124,19 +110,6 @@ You can also perform startup logic if your module requires Lastly, you can override ``OnApplicationShutdown`` method if you want to execute a code while application is beign shutdown. -#### Alternative to Deriving from AbpModule Class - -If you want to not derive your modules from ``AbpModule`` class for some reason, you can create a class and implement ``IAbpModule`` interface. This is the minimal interface required by ABP. If you want to handle other life cycle events as described above, you can implement additional interfaces: - -* ``IPreConfigureServices`` -* ``IPostConfigureServices`` -* ``IOnPreApplicationInitialization`` -* ``IOnApplicationInitialization`` -* ``IOnPostApplicationInitialization`` -* ``IOnApplicationShutdown`` - -However, deriving from ``AbpModule`` class is simpler since it implements all of these interfaces as virtual empty methods, so you can simple override which you need. - ### Module Dependencies In a modular application, it's typical a module depends on other modules. An Abp module must declare ``[DependsOn]`` attribute if it depends on another module, as shown below: diff --git a/framework/src/Volo.Abp.AspNetCore.Authentication.OAuth/Volo/Abp/AspNetCore/Authentication/OAuth/AbpAspNetCoreAuthenticationOAuthModule.cs b/framework/src/Volo.Abp.AspNetCore.Authentication.OAuth/Volo/Abp/AspNetCore/Authentication/OAuth/AbpAspNetCoreAuthenticationOAuthModule.cs index 03caf3b86e..cff3f437b7 100644 --- a/framework/src/Volo.Abp.AspNetCore.Authentication.OAuth/Volo/Abp/AspNetCore/Authentication/OAuth/AbpAspNetCoreAuthenticationOAuthModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Authentication.OAuth/Volo/Abp/AspNetCore/Authentication/OAuth/AbpAspNetCoreAuthenticationOAuthModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; using Volo.Abp.Security; namespace Volo.Abp.AspNetCore.Authentication.OAuth @@ -7,9 +6,6 @@ namespace Volo.Abp.AspNetCore.Authentication.OAuth [DependsOn(typeof(AbpSecurityModule))] public class AbpAspNetCoreAuthenticationOAuthModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyModule.cs b/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyModule.cs index 99dec58953..bb9d7bac7c 100644 --- a/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyModule.cs @@ -19,8 +19,6 @@ namespace Volo.Abp.AspNetCore.MultiTenancy options.TenantResolvers.Add(new HeaderTenantResolveContributer()); options.TenantResolvers.Add(new CookieTenantResolveContributer()); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs index 213a22296f..bc0171a7d5 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs @@ -9,8 +9,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap { public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - context.Services.Configure(options => { options.FileSets.AddEmbedded("Volo.Abp.AspNetCore.Mvc.UI.Bootstrap"); diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/AbpAspNetCoreMvcUiBundlingModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/AbpAspNetCoreMvcUiBundlingModule.cs index 920f70534d..714a7aa68b 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/AbpAspNetCoreMvcUiBundlingModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/AbpAspNetCoreMvcUiBundlingModule.cs @@ -7,9 +7,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling [DependsOn(typeof(AbpAspNetCoreMvcUiBootstrapModule))] public class AbpAspNetCoreMvcUiBundlingModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/AbpAspNetCoreMvcUiPackagesModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/AbpAspNetCoreMvcUiPackagesModule.cs index ea58b8c457..bab248f669 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/AbpAspNetCoreMvcUiPackagesModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/AbpAspNetCoreMvcUiPackagesModule.cs @@ -7,9 +7,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Packages [DependsOn(typeof(AbpAspNetCoreMvcUiBundlingModule))] public class AbpAspNetCoreMvcUiPackagesModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs index 0801850971..3cbb2d1030 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs @@ -56,8 +56,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic bundle.AddBaseBundles(StandardBundles.Scripts.Global); }); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/AbpAspNetCoreMvcUiThemeSharedModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/AbpAspNetCoreMvcUiThemeSharedModule.cs index efd99d93ff..4cf742b699 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/AbpAspNetCoreMvcUiThemeSharedModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/AbpAspNetCoreMvcUiThemeSharedModule.cs @@ -31,8 +31,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared .ScriptBundles .Add(StandardBundles.Scripts.Global, bundle => bundle.AddContributors(typeof(SharedThemeGlobalScriptContributor))); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiModule.cs index 5ea2b7ddb7..cafc4c87fc 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; using Volo.Abp.UI.Navigation; namespace Volo.Abp.AspNetCore.Mvc.UI @@ -8,9 +7,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI [DependsOn(typeof(AbpUiNavigationModule))] public class AbpAspNetCoreMvcUiModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs index dad0076a53..f9a07ac3a4 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs @@ -109,8 +109,6 @@ namespace Volo.Abp.AspNetCore.Mvc { mvcOptions.AddAbp(context.Services); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreTestBaseModule.cs b/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreTestBaseModule.cs index 3f9fd65b0a..28ec214ad2 100644 --- a/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreTestBaseModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreTestBaseModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Http.Client; +using Volo.Abp.Http.Client; using Volo.Abp.Modularity; namespace Volo.Abp.AspNetCore.TestBase @@ -8,9 +7,6 @@ namespace Volo.Abp.AspNetCore.TestBase [DependsOn(typeof(AbpAspNetCoreModule))] public class AbpAspNetCoreTestBaseModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs index da59f2fef2..217691b909 100644 --- a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs +++ b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs @@ -39,7 +39,6 @@ namespace Volo.Abp.AspNetCore AddAspNetServices(context.Services); context.Services.AddObjectAccessor(); context.Services.AddConfiguration(); - context.Services.AddAssemblyOf(); } private static void AddAspNetServices(IServiceCollection services) diff --git a/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AbpAuditingModule.cs b/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AbpAuditingModule.cs index f76ba425ae..ed048f3d6a 100644 --- a/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AbpAuditingModule.cs +++ b/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AbpAuditingModule.cs @@ -23,10 +23,5 @@ namespace Volo.Abp.Auditing { context.Services.OnRegistred(AuditingInterceptorRegistrar.RegisterIfNeeded); } - - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } } } diff --git a/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/AbpAuthorizationModule.cs b/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/AbpAuthorizationModule.cs index 5d98925336..51150244e7 100644 --- a/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/AbpAuthorizationModule.cs +++ b/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/AbpAuthorizationModule.cs @@ -29,8 +29,6 @@ namespace Volo.Abp.Authorization options.ValueProviders.Add(); options.ValueProviders.Add(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.AutoMapper/Volo/Abp/AutoMapper/AbpAutoMapperModule.cs b/framework/src/Volo.Abp.AutoMapper/Volo/Abp/AutoMapper/AbpAutoMapperModule.cs index 7eb61603b2..2e8c10bad0 100644 --- a/framework/src/Volo.Abp.AutoMapper/Volo/Abp/AutoMapper/AbpAutoMapperModule.cs +++ b/framework/src/Volo.Abp.AutoMapper/Volo/Abp/AutoMapper/AbpAutoMapperModule.cs @@ -19,8 +19,6 @@ namespace Volo.Abp.AutoMapper public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - var mapperAccessor = new MapperAccessor(); context.Services.AddSingleton(_ => mapperAccessor); context.Services.AddSingleton(_ => mapperAccessor); diff --git a/framework/src/Volo.Abp.BackgroundJobs.Abstractions/Volo/Abp/BackgroundJobs/AbpBackgroundJobsAbstractionsModule.cs b/framework/src/Volo.Abp.BackgroundJobs.Abstractions/Volo/Abp/BackgroundJobs/AbpBackgroundJobsAbstractionsModule.cs index 0c38a60766..224c9b1d2c 100644 --- a/framework/src/Volo.Abp.BackgroundJobs.Abstractions/Volo/Abp/BackgroundJobs/AbpBackgroundJobsAbstractionsModule.cs +++ b/framework/src/Volo.Abp.BackgroundJobs.Abstractions/Volo/Abp/BackgroundJobs/AbpBackgroundJobsAbstractionsModule.cs @@ -17,11 +17,6 @@ namespace Volo.Abp.BackgroundJobs RegisterJobs(context.Services); } - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - private static void RegisterJobs(IServiceCollection services) { var jobTypes = new List(); diff --git a/framework/src/Volo.Abp.BackgroundJobs.HangFire/Volo/Abp/BackgroundJobs/Hangfire/AbpBackgroundJobsHangfireModule.cs b/framework/src/Volo.Abp.BackgroundJobs.HangFire/Volo/Abp/BackgroundJobs/Hangfire/AbpBackgroundJobsHangfireModule.cs index b20e5877a4..066dccc28f 100644 --- a/framework/src/Volo.Abp.BackgroundJobs.HangFire/Volo/Abp/BackgroundJobs/Hangfire/AbpBackgroundJobsHangfireModule.cs +++ b/framework/src/Volo.Abp.BackgroundJobs.HangFire/Volo/Abp/BackgroundJobs/Hangfire/AbpBackgroundJobsHangfireModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Hangfire; +using Volo.Abp.Hangfire; using Volo.Abp.Modularity; namespace Volo.Abp.BackgroundJobs.Hangfire @@ -10,9 +9,6 @@ namespace Volo.Abp.BackgroundJobs.Hangfire )] public class AbpBackgroundJobsHangfireModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.BackgroundJobs.RabbitMQ/Volo/Abp/BackgroundJobs/RabbitMQ/AbpBackgroundJobsRabbitMqModule.cs b/framework/src/Volo.Abp.BackgroundJobs.RabbitMQ/Volo/Abp/BackgroundJobs/RabbitMQ/AbpBackgroundJobsRabbitMqModule.cs index 62ba464b0a..da18cdc8f3 100644 --- a/framework/src/Volo.Abp.BackgroundJobs.RabbitMQ/Volo/Abp/BackgroundJobs/RabbitMQ/AbpBackgroundJobsRabbitMqModule.cs +++ b/framework/src/Volo.Abp.BackgroundJobs.RabbitMQ/Volo/Abp/BackgroundJobs/RabbitMQ/AbpBackgroundJobsRabbitMqModule.cs @@ -15,8 +15,6 @@ namespace Volo.Abp.BackgroundJobs.RabbitMQ public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddSingleton(typeof(IJobQueue<>), typeof(JobQueue<>)); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/framework/src/Volo.Abp.BackgroundJobs/Volo/Abp/BackgroundJobs/AbpBackgroundJobsModule.cs b/framework/src/Volo.Abp.BackgroundJobs/Volo/Abp/BackgroundJobs/AbpBackgroundJobsModule.cs index ea405068bb..f0324a9932 100644 --- a/framework/src/Volo.Abp.BackgroundJobs/Volo/Abp/BackgroundJobs/AbpBackgroundJobsModule.cs +++ b/framework/src/Volo.Abp.BackgroundJobs/Volo/Abp/BackgroundJobs/AbpBackgroundJobsModule.cs @@ -15,11 +15,6 @@ namespace Volo.Abp.BackgroundJobs )] public class AbpBackgroundJobsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { var options = context.ServiceProvider.GetRequiredService>().Value; diff --git a/framework/src/Volo.Abp.BackgroundWorkers/Volo/Abp/BackgroundWorkers/AbpBackgroundWorkersModule.cs b/framework/src/Volo.Abp.BackgroundWorkers/Volo/Abp/BackgroundWorkers/AbpBackgroundWorkersModule.cs index 8d4f94e90c..cae652ad28 100644 --- a/framework/src/Volo.Abp.BackgroundWorkers/Volo/Abp/BackgroundWorkers/AbpBackgroundWorkersModule.cs +++ b/framework/src/Volo.Abp.BackgroundWorkers/Volo/Abp/BackgroundWorkers/AbpBackgroundWorkersModule.cs @@ -10,10 +10,6 @@ namespace Volo.Abp.BackgroundWorkers )] public class AbpBackgroundWorkersModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } public override void OnApplicationInitialization(ApplicationInitializationContext context) { diff --git a/framework/src/Volo.Abp.Caching/Volo/Abp/Caching/AbpCachingModule.cs b/framework/src/Volo.Abp.Caching/Volo/Abp/Caching/AbpCachingModule.cs index b69611426c..d0bd31cb03 100644 --- a/framework/src/Volo.Abp.Caching/Volo/Abp/Caching/AbpCachingModule.cs +++ b/framework/src/Volo.Abp.Caching/Volo/Abp/Caching/AbpCachingModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.Caching context.Services.AddMemoryCache(); context.Services.AddDistributedMemoryCache(); - context.Services.AddAssemblyOf(); - context.Services.AddSingleton(typeof(IDistributedCache<>), typeof(DistributedCache<>)); } } diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs index 1da0932ada..90f0487d88 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs @@ -13,6 +13,8 @@ namespace Volo.Abp.Modularity IPreConfigureServices, IPostConfigureServices { + protected internal bool SkipAutoServiceRegistration { get; protected set; } + protected internal ServiceConfigurationContext ServiceConfigurationContext { get diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/ModuleLoader.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/ModuleLoader.cs index bff094c0fc..30bf523c1d 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/ModuleLoader.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/ModuleLoader.cs @@ -111,6 +111,14 @@ namespace Volo.Abp.Modularity //ConfigureServices foreach (var module in modules) { + if (module.Instance is AbpModule abpModule) + { + if (!abpModule.SkipAutoServiceRegistration) + { + services.AddAssembly(module.Type.Assembly); + } + } + module.Instance.ConfigureServices(context); } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataModule.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataModule.cs index 4e295a6875..1a5fa8bab9 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataModule.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataModule.cs @@ -8,8 +8,6 @@ namespace Volo.Abp.Data public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddSingleton(typeof(IDataFilter<>), typeof(DataFilter<>)); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/AbpDddApplicationModule.cs b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/AbpDddApplicationModule.cs index 6fb224a270..bf26793a01 100644 --- a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/AbpDddApplicationModule.cs +++ b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/AbpDddApplicationModule.cs @@ -30,8 +30,6 @@ namespace Volo.Abp.Application options.IgnoredInterfaces.AddIfNotContains(typeof(IUnitOfWorkEnabled)); //TODO: Move to it's own module if possible? options.IgnoredInterfaces.AddIfNotContains(typeof(IAuthorizationEnabled)); //TODO: Move to it's own module if possible? }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs index 581ed97592..6f9c16ce88 100644 --- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs +++ b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Auditing; +using Volo.Abp.Auditing; using Volo.Abp.Data; using Volo.Abp.EventBus; using Volo.Abp.Guids; @@ -22,9 +21,6 @@ namespace Volo.Abp.Domain typeof(AbpUnitOfWorkModule))] public class AbpDddDomainModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/AbpEmailingModule.cs b/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/AbpEmailingModule.cs index aecb3df7fd..e3377081f4 100644 --- a/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/AbpEmailingModule.cs +++ b/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/AbpEmailingModule.cs @@ -38,8 +38,6 @@ namespace Volo.Abp.Emailing .SetVirtualFilePath("/Volo/Abp/Emailing/Templates/SimpleMessageTemplate.html") ); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.EntityFrameworkCore.MySQL/Volo/Abp/EntityFrameworkCore/MySQL/AbpEntityFrameworkCoreMySQLModule.cs b/framework/src/Volo.Abp.EntityFrameworkCore.MySQL/Volo/Abp/EntityFrameworkCore/MySQL/AbpEntityFrameworkCoreMySQLModule.cs index de6687a112..7c42014fc4 100644 --- a/framework/src/Volo.Abp.EntityFrameworkCore.MySQL/Volo/Abp/EntityFrameworkCore/MySQL/AbpEntityFrameworkCoreMySQLModule.cs +++ b/framework/src/Volo.Abp.EntityFrameworkCore.MySQL/Volo/Abp/EntityFrameworkCore/MySQL/AbpEntityFrameworkCoreMySQLModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.EntityFrameworkCore.MySQL { @@ -8,9 +7,6 @@ namespace Volo.Abp.EntityFrameworkCore.MySQL )] public class AbpEntityFrameworkCoreMySQLModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.EntityFrameworkCore.SqlServer/Volo/Abp/EntityFrameworkCore/SqlServer/AbpEntityFrameworkCoreSqlServerModule.cs b/framework/src/Volo.Abp.EntityFrameworkCore.SqlServer/Volo/Abp/EntityFrameworkCore/SqlServer/AbpEntityFrameworkCoreSqlServerModule.cs index 7cbcc456f3..762e8ce355 100644 --- a/framework/src/Volo.Abp.EntityFrameworkCore.SqlServer/Volo/Abp/EntityFrameworkCore/SqlServer/AbpEntityFrameworkCoreSqlServerModule.cs +++ b/framework/src/Volo.Abp.EntityFrameworkCore.SqlServer/Volo/Abp/EntityFrameworkCore/SqlServer/AbpEntityFrameworkCoreSqlServerModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.EntityFrameworkCore.SqlServer { @@ -8,9 +7,6 @@ namespace Volo.Abp.EntityFrameworkCore.SqlServer )] public class AbpEntityFrameworkCoreSqlServerModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreModule.cs b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreModule.cs index dfd770432c..8616b2ca64 100644 --- a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreModule.cs +++ b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreModule.cs @@ -25,7 +25,6 @@ namespace Volo.Abp.EntityFrameworkCore }); context.Services.TryAddTransient(typeof(IDbContextProvider<>), typeof(UnitOfWorkDbContextProvider<>)); - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpRabbitMqDistributedEventBusModule.cs b/framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpRabbitMqDistributedEventBusModule.cs index 888370e0db..0c5f97762a 100644 --- a/framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpRabbitMqDistributedEventBusModule.cs +++ b/framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpRabbitMqDistributedEventBusModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.EventBus.Distributed.RabbitMq { [DependsOn(typeof(AbpDistributedEventBusModule))] public class AbpRabbitMqDistributedEventBusModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.EventBus.Distributed/Volo/Abp/EventBus/Distributed/AbpDistributedEventBusModule.cs b/framework/src/Volo.Abp.EventBus.Distributed/Volo/Abp/EventBus/Distributed/AbpDistributedEventBusModule.cs index 57ea9bed6e..040aa493e7 100644 --- a/framework/src/Volo.Abp.EventBus.Distributed/Volo/Abp/EventBus/Distributed/AbpDistributedEventBusModule.cs +++ b/framework/src/Volo.Abp.EventBus.Distributed/Volo/Abp/EventBus/Distributed/AbpDistributedEventBusModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.EventBus.Distributed { [DependsOn(typeof(AbpEventBusModule))] public class AbpDistributedEventBusModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/AbpEventBusModule.cs b/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/AbpEventBusModule.cs index 60d42d6453..92c15a08d7 100644 --- a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/AbpEventBusModule.cs +++ b/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/AbpEventBusModule.cs @@ -13,11 +13,6 @@ namespace Volo.Abp.EventBus AddEventHandlers(context.Services); } - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - private static void AddEventHandlers(IServiceCollection services) { var handlers = new List(); diff --git a/framework/src/Volo.Abp.Guids/Volo/Abp/Guids/AbpGuidsModule.cs b/framework/src/Volo.Abp.Guids/Volo/Abp/Guids/AbpGuidsModule.cs index 36a1ac4f9e..8954528ae4 100644 --- a/framework/src/Volo.Abp.Guids/Volo/Abp/Guids/AbpGuidsModule.cs +++ b/framework/src/Volo.Abp.Guids/Volo/Abp/Guids/AbpGuidsModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Guids { public class AbpGuidsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireModule.cs b/framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireModule.cs index f5c3123fa6..53b2ad4a42 100644 --- a/framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireModule.cs +++ b/framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireModule.cs @@ -15,8 +15,6 @@ namespace Volo.Abp.Hangfire { context.Services.ExecutePreConfiguredActions(configuration); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/framework/src/Volo.Abp.Http.Abstractions/Volo/Abp/Http/AbpHttpAbstractionsModule.cs b/framework/src/Volo.Abp.Http.Abstractions/Volo/Abp/Http/AbpHttpAbstractionsModule.cs index 922064eec4..3e56a56e9f 100644 --- a/framework/src/Volo.Abp.Http.Abstractions/Volo/Abp/Http/AbpHttpAbstractionsModule.cs +++ b/framework/src/Volo.Abp.Http.Abstractions/Volo/Abp/Http/AbpHttpAbstractionsModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Http { public class AbpHttpAbstractionsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/AbpHttpClientModule.cs b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/AbpHttpClientModule.cs index 7e7df30dd1..5e9400994d 100644 --- a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/AbpHttpClientModule.cs +++ b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/AbpHttpClientModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Castle; +using Volo.Abp.Castle; using Volo.Abp.Modularity; namespace Volo.Abp.Http.Client @@ -8,9 +7,6 @@ namespace Volo.Abp.Http.Client [DependsOn(typeof(AbpCastleCoreModule))] public class AbpHttpClientModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Http/Volo/Abp/Http/AbpHttpModule.cs b/framework/src/Volo.Abp.Http/Volo/Abp/Http/AbpHttpModule.cs index 6b9082b61d..689980f03f 100644 --- a/framework/src/Volo.Abp.Http/Volo/Abp/Http/AbpHttpModule.cs +++ b/framework/src/Volo.Abp.Http/Volo/Abp/Http/AbpHttpModule.cs @@ -12,8 +12,6 @@ namespace Volo.Abp.Http { public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - context.Services.Configure(options => { options.Generators[JQueryProxyScriptGenerator.Name] = typeof(JQueryProxyScriptGenerator); diff --git a/framework/src/Volo.Abp.Json/Volo/Abp/Json/AbpJsonModule.cs b/framework/src/Volo.Abp.Json/Volo/Abp/Json/AbpJsonModule.cs index 2db93a8cca..dcb8f28dff 100644 --- a/framework/src/Volo.Abp.Json/Volo/Abp/Json/AbpJsonModule.cs +++ b/framework/src/Volo.Abp.Json/Volo/Abp/Json/AbpJsonModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; using Volo.Abp.Timing; namespace Volo.Abp.Json @@ -7,9 +6,6 @@ namespace Volo.Abp.Json [DependsOn(typeof(AbpTimingModule))] public class AbpJsonModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationModule.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationModule.cs index 51cabbc821..ede10efaf1 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationModule.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationModule.cs @@ -32,8 +32,6 @@ namespace Volo.Abp.Localization { options.DefinitionProviders.Add(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.MemoryDb/Volo/Abp/MemoryDb/AbpMemoryDbModule.cs b/framework/src/Volo.Abp.MemoryDb/Volo/Abp/MemoryDb/AbpMemoryDbModule.cs index 80e499e9ed..d4f679a5b7 100644 --- a/framework/src/Volo.Abp.MemoryDb/Volo/Abp/MemoryDb/AbpMemoryDbModule.cs +++ b/framework/src/Volo.Abp.MemoryDb/Volo/Abp/MemoryDb/AbpMemoryDbModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; +using Microsoft.Extensions.DependencyInjection.Extensions; using Volo.Abp.Domain; using Volo.Abp.Modularity; using Volo.Abp.Uow.MemoryDb; @@ -15,7 +14,6 @@ namespace Volo.Abp.MemoryDb public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.TryAddTransient(typeof(IMemoryDatabaseProvider<>), typeof(UnitOfWorkMemoryDatabaseProvider<>)); - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.MongoDB/Volo/Abp/MongoDB/AbpMongoDbModule.cs b/framework/src/Volo.Abp.MongoDB/Volo/Abp/MongoDB/AbpMongoDbModule.cs index faaebf1942..1ef58ab901 100644 --- a/framework/src/Volo.Abp.MongoDB/Volo/Abp/MongoDB/AbpMongoDbModule.cs +++ b/framework/src/Volo.Abp.MongoDB/Volo/Abp/MongoDB/AbpMongoDbModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; +using Microsoft.Extensions.DependencyInjection.Extensions; using Volo.Abp.Domain; using Volo.Abp.Modularity; using Volo.Abp.Uow.MongoDB; @@ -12,7 +11,6 @@ namespace Volo.Abp.MongoDB public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.TryAddTransient(typeof(IMongoDbContextProvider<>), typeof(UnitOfWorkMongoDbContextProvider<>)); - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.MultiTenancy.Abstractions/Volo/Abp/MultiTenancy/AbpMultiTenancyAbstractionsModule.cs b/framework/src/Volo.Abp.MultiTenancy.Abstractions/Volo/Abp/MultiTenancy/AbpMultiTenancyAbstractionsModule.cs index 1d8d6ecb52..f68440da9f 100644 --- a/framework/src/Volo.Abp.MultiTenancy.Abstractions/Volo/Abp/MultiTenancy/AbpMultiTenancyAbstractionsModule.cs +++ b/framework/src/Volo.Abp.MultiTenancy.Abstractions/Volo/Abp/MultiTenancy/AbpMultiTenancyAbstractionsModule.cs @@ -15,8 +15,6 @@ namespace Volo.Abp.MultiTenancy { options.ValueProviders.Add(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.ObjectMapping/Volo/Abp/ObjectMapping/AbpObjectMappingModule.cs b/framework/src/Volo.Abp.ObjectMapping/Volo/Abp/ObjectMapping/AbpObjectMappingModule.cs index 8ac3928b7a..7fb7b039a7 100644 --- a/framework/src/Volo.Abp.ObjectMapping/Volo/Abp/ObjectMapping/AbpObjectMappingModule.cs +++ b/framework/src/Volo.Abp.ObjectMapping/Volo/Abp/ObjectMapping/AbpObjectMappingModule.cs @@ -19,10 +19,5 @@ namespace Volo.Abp.ObjectMapping ); }); } - - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } } } diff --git a/framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/AbpRabbitMqModule.cs b/framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/AbpRabbitMqModule.cs index 21c31a76bc..ffaa0c00a7 100644 --- a/framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/AbpRabbitMqModule.cs +++ b/framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/AbpRabbitMqModule.cs @@ -9,11 +9,6 @@ namespace Volo.Abp.RabbitMQ )] public class AbpRabbitMqModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationShutdown(ApplicationShutdownContext context) { context.ServiceProvider diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs index 745a633fe9..f62a9566c4 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Security { public class AbpSecurityModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/AbpSerializationModule.cs b/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/AbpSerializationModule.cs index 0f9cbe8159..efbdc3fa37 100644 --- a/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/AbpSerializationModule.cs +++ b/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/AbpSerializationModule.cs @@ -19,10 +19,5 @@ namespace Volo.Abp.Serialization ); }); } - - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } } } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/AbpSettingsModule.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/AbpSettingsModule.cs index bf00c590d2..ae6d61b0c8 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/AbpSettingsModule.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/AbpSettingsModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Settings { public class AbpSettingsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Sms/Volo/Abp/Sms/AbpSmsModule.cs b/framework/src/Volo.Abp.Sms/Volo/Abp/Sms/AbpSmsModule.cs index da7e2bbd81..f6d9ca2f9a 100644 --- a/framework/src/Volo.Abp.Sms/Volo/Abp/Sms/AbpSmsModule.cs +++ b/framework/src/Volo.Abp.Sms/Volo/Abp/Sms/AbpSmsModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Sms { public class AbpSmsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpThreadingModule.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpThreadingModule.cs index 21b89d9db2..bf72d3ce44 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpThreadingModule.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpThreadingModule.cs @@ -9,8 +9,6 @@ namespace Volo.Abp.Threading { context.Services.AddSingleton(NullCancellationTokenProvider.Instance); context.Services.AddSingleton(typeof(IAmbientScopeProvider<>), typeof(AmbientDataContextAmbientScopeProvider<>)); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/AbpTimingModule.cs b/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/AbpTimingModule.cs index 9d88f5ecaa..d48cc01ef7 100644 --- a/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/AbpTimingModule.cs +++ b/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/AbpTimingModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Timing { public class AbpTimingModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/AbpUiNavigationModule.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/AbpUiNavigationModule.cs index 6c37ba14c7..c0934e0a4a 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/AbpUiNavigationModule.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/AbpUiNavigationModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.UI.Navigation { [DependsOn(typeof(AbpUiModule))] public class AbpUiNavigationModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/AbpUiModule.cs b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/AbpUiModule.cs index 20228d5a6d..9198e6be6c 100644 --- a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/AbpUiModule.cs +++ b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/AbpUiModule.cs @@ -22,8 +22,6 @@ namespace Volo.Abp.UI { options.Resources.Add("en").AddVirtualJson("/Localization/Resources/AbpUi"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AbpUnitOfWorkModule.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AbpUnitOfWorkModule.cs index 2ff058ec3f..f7f0c55add 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AbpUnitOfWorkModule.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AbpUnitOfWorkModule.cs @@ -9,10 +9,5 @@ namespace Volo.Abp.Uow { context.Services.OnRegistred(UnitOfWorkInterceptorRegistrar.RegisterIfNeeded); } - - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } } } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/AbpValidationModule.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/AbpValidationModule.cs index c110dd8fde..03efe9d66a 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/AbpValidationModule.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/AbpValidationModule.cs @@ -9,10 +9,5 @@ namespace Volo.Abp.Validation { context.Services.OnRegistred(ValidationInterceptorRegistrar.RegisterIfNeeded); } - - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } } } diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/AbpVirtualFileSystemModule.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/AbpVirtualFileSystemModule.cs index ace58f8b51..cf2009ec01 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/AbpVirtualFileSystemModule.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/AbpVirtualFileSystemModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.VirtualFileSystem { public class AbpVirtualFileSystemModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/test/SimpleConsoleDemo/Program.cs b/framework/test/SimpleConsoleDemo/Program.cs index 27706872d8..08c6371bfb 100644 --- a/framework/test/SimpleConsoleDemo/Program.cs +++ b/framework/test/SimpleConsoleDemo/Program.cs @@ -32,10 +32,7 @@ namespace SimpleConsoleDemo public class MyConsoleModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } public interface IMessageWriter diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs index b6924f0485..65595b1b48 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs @@ -72,8 +72,6 @@ namespace Volo.Abp.AspNetCore.Mvc .Add("en") .AddVirtualJson("/Volo/Abp/AspNetCore/Mvc/Localization/Resource"); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Tests/Volo/Abp/AspNetCore/Mvc/UI/Bootstrap/Demo/AbpAspNetCoreMvcUiBootstrapDemoTestModule.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Tests/Volo/Abp/AspNetCore/Mvc/UI/Bootstrap/Demo/AbpAspNetCoreMvcUiBootstrapDemoTestModule.cs index 01a2828867..c1edaa3ef8 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Tests/Volo/Abp/AspNetCore/Mvc/UI/Bootstrap/Demo/AbpAspNetCoreMvcUiBootstrapDemoTestModule.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Tests/Volo/Abp/AspNetCore/Mvc/UI/Bootstrap/Demo/AbpAspNetCoreMvcUiBootstrapDemoTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AspNetCore.TestBase; +using Volo.Abp.AspNetCore.TestBase; using Volo.Abp.Modularity; namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo @@ -10,9 +9,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo )] public class AbpAspNetCoreMvcUiBootstrapDemoTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/AbpAspNetCoreMvcUiBootstrapDemoModule.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/AbpAspNetCoreMvcUiBootstrapDemoModule.cs index 3271ce1588..2386ee6320 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/AbpAspNetCoreMvcUiBootstrapDemoModule.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/AbpAspNetCoreMvcUiBootstrapDemoModule.cs @@ -1,6 +1,5 @@ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.DependencyInjection; using Volo.Abp.AspNetCore.Modularity; using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic; using Volo.Abp.Autofac; @@ -14,11 +13,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo )] public class AbpAspNetCoreMvcUiBootstrapDemoModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { var app = context.GetApplicationBuilder(); diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Tests/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiTestModule.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Tests/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiTestModule.cs index 2d752f8d80..b78c00b791 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Tests/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiTestModule.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Tests/Volo/Abp/AspNetCore/Mvc/UI/AbpAspNetCoreMvcUiTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AspNetCore.Mvc.UI.Bundling; +using Volo.Abp.AspNetCore.Mvc.UI.Bundling; using Volo.Abp.AspNetCore.TestBase; using Volo.Abp.Autofac; using Volo.Abp.Modularity; @@ -13,9 +12,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI )] public class AbpAspNetCoreMvcUiTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.Versioning.Tests/Volo/Abp/AspNetCore/Mvc/Versioning/AbpAspNetCoreMvcVersioningTestModule.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.Versioning.Tests/Volo/Abp/AspNetCore/Mvc/Versioning/AbpAspNetCoreMvcVersioningTestModule.cs index cb47f101a7..1c0f3feea6 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.Versioning.Tests/Volo/Abp/AspNetCore/Mvc/Versioning/AbpAspNetCoreMvcVersioningTestModule.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.Versioning.Tests/Volo/Abp/AspNetCore/Mvc/Versioning/AbpAspNetCoreMvcVersioningTestModule.cs @@ -47,8 +47,6 @@ namespace Volo.Abp.AspNetCore.Mvc.Versioning options.ConfigureAbp(context.Services); }); - context.Services.AddAssemblyOf(); - context.Services.AddHttpClientProxies(typeof(AbpAspNetCoreMvcVersioningTestModule).Assembly); context.Services.Configure(options => diff --git a/framework/test/Volo.Abp.Authorization.Tests/Volo/Abp/Authorization/AbpAuthorizationTestModule.cs b/framework/test/Volo.Abp.Authorization.Tests/Volo/Abp/Authorization/AbpAuthorizationTestModule.cs index 5bbcb2ba81..5f563e8384 100644 --- a/framework/test/Volo.Abp.Authorization.Tests/Volo/Abp/Authorization/AbpAuthorizationTestModule.cs +++ b/framework/test/Volo.Abp.Authorization.Tests/Volo/Abp/Authorization/AbpAuthorizationTestModule.cs @@ -27,8 +27,6 @@ namespace Volo.Abp.Authorization { options.DefinitionProviders.TryAdd(); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.AutoMapper.Tests/Volo/Abp/AutoMapper/AutofacTestModule.cs b/framework/test/Volo.Abp.AutoMapper.Tests/Volo/Abp/AutoMapper/AutofacTestModule.cs index 4c8fbf25ac..19bb8aa5c8 100644 --- a/framework/test/Volo.Abp.AutoMapper.Tests/Volo/Abp/AutoMapper/AutofacTestModule.cs +++ b/framework/test/Volo.Abp.AutoMapper.Tests/Volo/Abp/AutoMapper/AutofacTestModule.cs @@ -12,8 +12,6 @@ namespace Volo.Abp.AutoMapper { options.UseStaticMapper = false; }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.Autofac.Tests/Volo/Abp/Autofac/AutofacTestModule.cs b/framework/test/Volo.Abp.Autofac.Tests/Volo/Abp/Autofac/AutofacTestModule.cs index a476048e70..97957657a5 100644 --- a/framework/test/Volo.Abp.Autofac.Tests/Volo/Abp/Autofac/AutofacTestModule.cs +++ b/framework/test/Volo.Abp.Autofac.Tests/Volo/Abp/Autofac/AutofacTestModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Autofac { [DependsOn(typeof(AbpAutofacModule))] public class AutofacTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.BackgroundJobs.Tests/Volo/Abp/BackgroundJobs/AbpBackgroundJobsTestModule.cs b/framework/test/Volo.Abp.BackgroundJobs.Tests/Volo/Abp/BackgroundJobs/AbpBackgroundJobsTestModule.cs index 50a0199426..104df294b8 100644 --- a/framework/test/Volo.Abp.BackgroundJobs.Tests/Volo/Abp/BackgroundJobs/AbpBackgroundJobsTestModule.cs +++ b/framework/test/Volo.Abp.BackgroundJobs.Tests/Volo/Abp/BackgroundJobs/AbpBackgroundJobsTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Autofac; +using Volo.Abp.Autofac; using Volo.Abp.Modularity; namespace Volo.Abp.BackgroundJobs @@ -11,9 +10,6 @@ namespace Volo.Abp.BackgroundJobs )] public class AbpBackgroundJobsTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.Caching.Tests/Volo/Abp/Caching/AbpCachingTestModule.cs b/framework/test/Volo.Abp.Caching.Tests/Volo/Abp/Caching/AbpCachingTestModule.cs index 03dc6e54bd..e036c4301c 100644 --- a/framework/test/Volo.Abp.Caching.Tests/Volo/Abp/Caching/AbpCachingTestModule.cs +++ b/framework/test/Volo.Abp.Caching.Tests/Volo/Abp/Caching/AbpCachingTestModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Caching { [DependsOn(typeof(AbpCachingModule))] public class AbpCachingTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.EntityFrameworkCore.Tests.SecondContext/Volo/Abp/EntityFrameworkCore/TestApp/SecondContext/AbpEfCoreTestSecondContextModule.cs b/framework/test/Volo.Abp.EntityFrameworkCore.Tests.SecondContext/Volo/Abp/EntityFrameworkCore/TestApp/SecondContext/AbpEfCoreTestSecondContextModule.cs index 089fe2a337..02142f06d9 100644 --- a/framework/test/Volo.Abp.EntityFrameworkCore.Tests.SecondContext/Volo/Abp/EntityFrameworkCore/TestApp/SecondContext/AbpEfCoreTestSecondContextModule.cs +++ b/framework/test/Volo.Abp.EntityFrameworkCore.Tests.SecondContext/Volo/Abp/EntityFrameworkCore/TestApp/SecondContext/AbpEfCoreTestSecondContextModule.cs @@ -18,8 +18,6 @@ namespace Volo.Abp.EntityFrameworkCore.TestApp.SecondContext { options.AddDefaultRepositories(); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/framework/test/Volo.Abp.EntityFrameworkCore.Tests/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreTestModule.cs b/framework/test/Volo.Abp.EntityFrameworkCore.Tests/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreTestModule.cs index 6102fe12ae..f955a7fa14 100644 --- a/framework/test/Volo.Abp.EntityFrameworkCore.Tests/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreTestModule.cs +++ b/framework/test/Volo.Abp.EntityFrameworkCore.Tests/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreTestModule.cs @@ -21,8 +21,6 @@ namespace Volo.Abp.EntityFrameworkCore { public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - context.Services.AddAbpDbContext(options => { options.AddDefaultRepositories(true); diff --git a/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/EventBusTestModule.cs b/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/EventBusTestModule.cs index e7f8b40ddd..f514f37018 100644 --- a/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/EventBusTestModule.cs +++ b/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/EventBusTestModule.cs @@ -1,4 +1,3 @@ -using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Modularity; namespace Volo.Abp.EventBus @@ -6,9 +5,6 @@ namespace Volo.Abp.EventBus [DependsOn(typeof(AbpEventBusModule))] public class EventBusTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.Http.Client.Tests/Volo/Abp/Http/AbpHttpTestModule.cs b/framework/test/Volo.Abp.Http.Client.Tests/Volo/Abp/Http/AbpHttpTestModule.cs index f0313110c9..b6237a12ad 100644 --- a/framework/test/Volo.Abp.Http.Client.Tests/Volo/Abp/Http/AbpHttpTestModule.cs +++ b/framework/test/Volo.Abp.Http.Client.Tests/Volo/Abp/Http/AbpHttpTestModule.cs @@ -12,8 +12,6 @@ namespace Volo.Abp.Http { public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - context.Services.AddHttpClientProxies(typeof(TestAppModule).Assembly); context.Services.AddHttpClientProxy(); diff --git a/framework/test/Volo.Abp.MemoryDb.Tests/Volo/Abp/MemoryDb/AbpMemoryDbTestModule.cs b/framework/test/Volo.Abp.MemoryDb.Tests/Volo/Abp/MemoryDb/AbpMemoryDbTestModule.cs index 2bc87b0ed3..e9527a3763 100644 --- a/framework/test/Volo.Abp.MemoryDb.Tests/Volo/Abp/MemoryDb/AbpMemoryDbTestModule.cs +++ b/framework/test/Volo.Abp.MemoryDb.Tests/Volo/Abp/MemoryDb/AbpMemoryDbTestModule.cs @@ -29,8 +29,6 @@ namespace Volo.Abp.MemoryDb options.AddDefaultRepositories(); options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/framework/test/Volo.Abp.MongoDB.Tests/Volo/Abp/MongoDB/AbpMongoDbTestModule.cs b/framework/test/Volo.Abp.MongoDB.Tests/Volo/Abp/MongoDB/AbpMongoDbTestModule.cs index 3dba5cdd8a..e1cbefa59f 100644 --- a/framework/test/Volo.Abp.MongoDB.Tests/Volo/Abp/MongoDB/AbpMongoDbTestModule.cs +++ b/framework/test/Volo.Abp.MongoDB.Tests/Volo/Abp/MongoDB/AbpMongoDbTestModule.cs @@ -30,8 +30,6 @@ namespace Volo.Abp.MongoDB options.AddDefaultRepositories(); options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/framework/test/Volo.Abp.Serialization.Tests/Volo/Abp/Serialization/AbpSerializationTestModule.cs b/framework/test/Volo.Abp.Serialization.Tests/Volo/Abp/Serialization/AbpSerializationTestModule.cs index cd5b6fc3e0..803d5a37ef 100644 --- a/framework/test/Volo.Abp.Serialization.Tests/Volo/Abp/Serialization/AbpSerializationTestModule.cs +++ b/framework/test/Volo.Abp.Serialization.Tests/Volo/Abp/Serialization/AbpSerializationTestModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Serialization { [DependsOn(typeof(AbpSerializationModule))] public class AbpSerializationTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.TestApp.Tests/Volo/Abp/TestApp/TestAppTestModule.cs b/framework/test/Volo.Abp.TestApp.Tests/Volo/Abp/TestApp/TestAppTestModule.cs index 1c27fcd426..5d8cba2302 100644 --- a/framework/test/Volo.Abp.TestApp.Tests/Volo/Abp/TestApp/TestAppTestModule.cs +++ b/framework/test/Volo.Abp.TestApp.Tests/Volo/Abp/TestApp/TestAppTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.MemoryDb; +using Volo.Abp.MemoryDb; using Volo.Abp.Modularity; namespace Volo.Abp.TestApp @@ -7,9 +6,6 @@ namespace Volo.Abp.TestApp [DependsOn(typeof(AbpMemoryDbTestModule))] public class TestAppTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/TestAppModule.cs b/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/TestAppModule.cs index 1f26a29231..4de2e405e1 100644 --- a/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/TestAppModule.cs +++ b/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/TestAppModule.cs @@ -19,8 +19,6 @@ namespace Volo.Abp.TestApp public override void ConfigureServices(ServiceConfigurationContext context) { ConfigureAutoMapper(context.Services); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) From bfb364228b6fb3b5508ac86373ccd067fb7ba017 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 17:35:58 +0300 Subject: [PATCH 17/22] Don't use IAbpModule --- .../Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs | 4 ++-- .../Volo/Abp/Modularity/ModuleLoader_Tests.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs index 217691b909..6fbe70f25f 100644 --- a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs +++ b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs @@ -27,9 +27,9 @@ namespace Volo.Abp.AspNetCore typeof(AbpUiModule), //TODO: Can we remove this? typeof(AbpValidationModule) )] - public class AbpAspNetCoreModule : IAbpModule + public class AbpAspNetCoreModule : AbpModule { - public void ConfigureServices(ServiceConfigurationContext context) + public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.Configure(options => { diff --git a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs index c1b6c9f23d..3541f9b78e 100644 --- a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs +++ b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs @@ -18,9 +18,9 @@ namespace Volo.Abp.Modularity } [DependsOn(typeof(IndependentEmptyModule))] - public class MyStartupModule : IAbpModule + public class MyStartupModule : AbpModule { - public void ConfigureServices(ServiceConfigurationContext context) + public override void ConfigureServices(ServiceConfigurationContext context) { } From dc13afa91ba79ba0d06bba927d3ec40b84c51028 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 17:47:31 +0300 Subject: [PATCH 18/22] Fix tests. --- .../Volo/Abp/Modularity/IndependentEmptyModule.cs | 6 +++++- .../Volo/Abp/Modularity/IndependentEmptyPlugInModule.cs | 6 +++++- .../Volo/Abp/Ui/Navigation/MenuManager_Tests.cs | 8 ++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyModule.cs b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyModule.cs index 9f4fca906a..31aea266c7 100644 --- a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyModule.cs +++ b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyModule.cs @@ -2,6 +2,10 @@ { public class IndependentEmptyModule : TestModuleBase { - + public override void PreConfigureServices(ServiceConfigurationContext context) + { + base.PreConfigureServices(context); + SkipAutoServiceRegistration = true; + } } } diff --git a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyPlugInModule.cs b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyPlugInModule.cs index 02bb1ed4a8..e5ff98b697 100644 --- a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyPlugInModule.cs +++ b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/IndependentEmptyPlugInModule.cs @@ -2,6 +2,10 @@ { public class IndependentEmptyPlugInModule : TestModuleBase { - + public override void PreConfigureServices(ServiceConfigurationContext context) + { + base.PreConfigureServices(context); + SkipAutoServiceRegistration = true; + } } } \ No newline at end of file diff --git a/framework/test/Volo.Abp.UI.Navigation.Tests/Volo/Abp/Ui/Navigation/MenuManager_Tests.cs b/framework/test/Volo.Abp.UI.Navigation.Tests/Volo/Abp/Ui/Navigation/MenuManager_Tests.cs index ee54e18413..7b49fc9971 100644 --- a/framework/test/Volo.Abp.UI.Navigation.Tests/Volo/Abp/Ui/Navigation/MenuManager_Tests.cs +++ b/framework/test/Volo.Abp.UI.Navigation.Tests/Volo/Abp/Ui/Navigation/MenuManager_Tests.cs @@ -65,8 +65,8 @@ namespace Volo.Abp.UI.Navigation () => new ApplicationMenuItem("Administration", "Administration") ); - administration.AddItem(new ApplicationMenuItem("Administration.UserManagement", "User Management")); - administration.AddItem(new ApplicationMenuItem("Administration.RoleManagement", "Role Management")); + administration.AddItem(new ApplicationMenuItem("Administration.UserManagement", "User Management", url: "/admin/users")); + administration.AddItem(new ApplicationMenuItem("Administration.RoleManagement", "Role Management", url: "/admin/roles")); return Task.CompletedTask; } @@ -86,14 +86,14 @@ namespace Volo.Abp.UI.Navigation return Task.CompletedTask; } - context.Menu.Items.Insert(0, new ApplicationMenuItem("Dashboard", "Dashboard")); + context.Menu.Items.Insert(0, new ApplicationMenuItem("Dashboard", "Dashboard", url: "/dashboard")); var administration = context.Menu.Items.GetOrAdd( m => m.Name == "Administration", () => new ApplicationMenuItem("Administration", "Administration") ); - administration.AddItem(new ApplicationMenuItem("Administration.DashboardSettings", "Dashboard Settings")); + administration.AddItem(new ApplicationMenuItem("Administration.DashboardSettings", "Dashboard Settings", url: "/admin/settings/dashboard")); return Task.CompletedTask; } From 3ba5d34d625b8c2955ce21f5e28a47862398cc45 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 17:52:43 +0300 Subject: [PATCH 19/22] Remove usage of AddAssemblyOf --- .../AbpTenantManagementApplicationContractsModule.cs | 2 -- .../AbpTenantManagementApplicationModule.cs | 2 -- .../AbpTenantManagementDomainSharedModule.cs | 2 -- .../TenantManagement/AbpTenantManagementDomainModule.cs | 2 -- .../AbpTenantManagementEntityFrameworkCoreModule.cs | 2 -- .../AbpTenantManagementHttpApiClientModule.cs | 2 -- .../TenantManagement/AbpTenantManagementHttpApiModule.cs | 8 ++------ .../MongoDb/AbpTenantManagementMongoDbModule.cs | 2 -- .../AbpTenantManagementWebModule.cs | 2 -- .../AbpTenantManagementApplicationTestModule.cs | 2 -- .../AbpTenantManagementEntityFrameworkCoreTestModule.cs | 2 -- .../MongoDb/AbpTenantManagementMongoDbTestModule.cs | 2 -- .../TenantManagement/AbpTenantManagementTestBaseModule.cs | 5 ----- 13 files changed, 2 insertions(+), 33 deletions(-) diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.Application.Contracts/Volo/Abp/TenantManagement/AbpTenantManagementApplicationContractsModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.Application.Contracts/Volo/Abp/TenantManagement/AbpTenantManagementApplicationContractsModule.cs index 98a111563f..6329c58ae5 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.Application.Contracts/Volo/Abp/TenantManagement/AbpTenantManagementApplicationContractsModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.Application.Contracts/Volo/Abp/TenantManagement/AbpTenantManagementApplicationContractsModule.cs @@ -30,8 +30,6 @@ namespace Volo.Abp.TenantManagement .Get() .AddVirtualJson("/Volo/Abp/TenantManagement/Localization/ApplicationContracts"); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/AbpTenantManagementApplicationModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/AbpTenantManagementApplicationModule.cs index 3195a21768..00a0e594ab 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/AbpTenantManagementApplicationModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/AbpTenantManagementApplicationModule.cs @@ -14,8 +14,6 @@ namespace Volo.Abp.TenantManagement { options.AddProfile(validate: true); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain.Shared/Volo/Abp/TenantManagement/AbpTenantManagementDomainSharedModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain.Shared/Volo/Abp/TenantManagement/AbpTenantManagementDomainSharedModule.cs index ed70f72113..c7ef81e55a 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain.Shared/Volo/Abp/TenantManagement/AbpTenantManagementDomainSharedModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain.Shared/Volo/Abp/TenantManagement/AbpTenantManagementDomainSharedModule.cs @@ -13,8 +13,6 @@ namespace Volo.Abp.TenantManagement { options.Resources.Add("en"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain/Volo/Abp/TenantManagement/AbpTenantManagementDomainModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain/Volo/Abp/TenantManagement/AbpTenantManagementDomainModule.cs index fedfc10731..4e29bf081c 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain/Volo/Abp/TenantManagement/AbpTenantManagementDomainModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.Domain/Volo/Abp/TenantManagement/AbpTenantManagementDomainModule.cs @@ -22,8 +22,6 @@ namespace Volo.Abp.TenantManagement { options.AddProfile(validate: true); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.EntityFrameworkCore/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.EntityFrameworkCore/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreModule.cs index 77938870b3..c266001a36 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.EntityFrameworkCore/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.EntityFrameworkCore/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreModule.cs @@ -14,8 +14,6 @@ namespace Volo.Abp.TenantManagement.EntityFrameworkCore { options.AddDefaultRepositories(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi.Client/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiClientModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi.Client/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiClientModule.cs index 16232a2a86..1cbdb36a10 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi.Client/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiClientModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi.Client/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiClientModule.cs @@ -17,8 +17,6 @@ namespace Volo.Abp.TenantManagement typeof(AbpTenantManagementApplicationContractsModule).Assembly, RemoteServiceName ); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiModule.cs index a0a2011799..58a8f7106c 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/AbpTenantManagementHttpApiModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AspNetCore.Mvc; +using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.Modularity; namespace Volo.Abp.TenantManagement @@ -10,9 +9,6 @@ namespace Volo.Abp.TenantManagement )] public class AbpTenantManagementHttpApiModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.MongoDB/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.MongoDB/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbModule.cs index 457f2d88f3..040f0f7805 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.MongoDB/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.MongoDB/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbModule.cs @@ -20,8 +20,6 @@ namespace Volo.Abp.TenantManagement.MongoDb options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.Web/AbpTenantManagementWebModule.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.Web/AbpTenantManagementWebModule.cs index 774c9c05b6..0c40cdf8af 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.Web/AbpTenantManagementWebModule.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.Web/AbpTenantManagementWebModule.cs @@ -60,8 +60,6 @@ namespace Volo.Abp.TenantManagement.Web options.Conventions.AuthorizePage("/TenantManagement/Tenants/CreateModal", TenantManagementPermissions.Tenants.Create); options.Conventions.AuthorizePage("/TenantManagement/Tenants/EditModal", TenantManagementPermissions.Tenants.Update); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/tenant-management/test/Volo.Abp.TenantManagement.Application.Tests/Volo/Abp/TenantManagement/AbpTenantManagementApplicationTestModule.cs b/modules/tenant-management/test/Volo.Abp.TenantManagement.Application.Tests/Volo/Abp/TenantManagement/AbpTenantManagementApplicationTestModule.cs index 862785df55..e5417381dc 100644 --- a/modules/tenant-management/test/Volo.Abp.TenantManagement.Application.Tests/Volo/Abp/TenantManagement/AbpTenantManagementApplicationTestModule.cs +++ b/modules/tenant-management/test/Volo.Abp.TenantManagement.Application.Tests/Volo/Abp/TenantManagement/AbpTenantManagementApplicationTestModule.cs @@ -12,8 +12,6 @@ namespace Volo.Abp.TenantManagement public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAlwaysAllowPermissionChecker(); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/tenant-management/test/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreTestModule.cs b/modules/tenant-management/test/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreTestModule.cs index 3795fab766..24bfcf4903 100644 --- a/modules/tenant-management/test/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreTestModule.cs +++ b/modules/tenant-management/test/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreTestModule.cs @@ -31,8 +31,6 @@ namespace Volo.Abp.TenantManagement.EntityFrameworkCore { options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; //EF in-memory database does not support transactions }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/tenant-management/test/Volo.Abp.TenantManagement.MongoDB.Tests/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbTestModule.cs b/modules/tenant-management/test/Volo.Abp.TenantManagement.MongoDB.Tests/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbTestModule.cs index 8aeec38738..18da74eab9 100644 --- a/modules/tenant-management/test/Volo.Abp.TenantManagement.MongoDB.Tests/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbTestModule.cs +++ b/modules/tenant-management/test/Volo.Abp.TenantManagement.MongoDB.Tests/Volo/Abp/TenantManagement/MongoDb/AbpTenantManagementMongoDbTestModule.cs @@ -21,8 +21,6 @@ namespace Volo.Abp.TenantManagement.MongoDb { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/modules/tenant-management/test/Volo.Abp.TenantManagement.TestBase/Volo/Abp/TenantManagement/AbpTenantManagementTestBaseModule.cs b/modules/tenant-management/test/Volo.Abp.TenantManagement.TestBase/Volo/Abp/TenantManagement/AbpTenantManagementTestBaseModule.cs index a2abbb84ce..1bb02053f3 100644 --- a/modules/tenant-management/test/Volo.Abp.TenantManagement.TestBase/Volo/Abp/TenantManagement/AbpTenantManagementTestBaseModule.cs +++ b/modules/tenant-management/test/Volo.Abp.TenantManagement.TestBase/Volo/Abp/TenantManagement/AbpTenantManagementTestBaseModule.cs @@ -11,11 +11,6 @@ namespace Volo.Abp.TenantManagement )] public class AbpTenantManagementTestBaseModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { SeedTestData(context); From d1e8eb50cddca9323b644213104ef4933af7b494 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 17:57:01 +0300 Subject: [PATCH 20/22] Update ABP versions of the samples. --- .../BasicAspNetCoreApplication.csproj | 4 ++-- .../AbpConsoleDemo/AbpConsoleDemo.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/BasicAspNetCoreApplication/BasicAspNetCoreApplication/BasicAspNetCoreApplication.csproj b/samples/BasicAspNetCoreApplication/BasicAspNetCoreApplication/BasicAspNetCoreApplication.csproj index 96673581eb..0a529120d1 100644 --- a/samples/BasicAspNetCoreApplication/BasicAspNetCoreApplication/BasicAspNetCoreApplication.csproj +++ b/samples/BasicAspNetCoreApplication/BasicAspNetCoreApplication/BasicAspNetCoreApplication.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/samples/BasicConsoleApplication/AbpConsoleDemo/AbpConsoleDemo.csproj b/samples/BasicConsoleApplication/AbpConsoleDemo/AbpConsoleDemo.csproj index d3ffd1bb6d..04d1557392 100644 --- a/samples/BasicConsoleApplication/AbpConsoleDemo/AbpConsoleDemo.csproj +++ b/samples/BasicConsoleApplication/AbpConsoleDemo/AbpConsoleDemo.csproj @@ -6,7 +6,7 @@ - + From 0ec7ccbf7592c574d82196d4a607d33d8c1526e3 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 18:54:51 +0300 Subject: [PATCH 21/22] Don't use AddAssemblyOf --- .../src/Volo.Abp.Account.Web/AbpAccountWebModule.cs | 2 -- .../Abp/AuditLogging/AbpAuditLoggingDomainSharedModule.cs | 2 -- .../Volo/Abp/AuditLogging/AbpAuditLoggingDomainModule.cs | 8 ++------ .../AbpAuditLoggingEntityFrameworkCoreModule.cs | 2 -- .../AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs | 2 -- .../AbpAuditLoggingEntityFrameworkCoreTestModule.cs | 2 -- .../MongoDB/AbpAuditLoggingMongoDbTestModule.cs | 3 --- .../Abp/AuditLogging/AbpAuditLoggingTestBaseModule.cs | 5 ----- .../Volo/Abp/AuditLogging/AbpAuditLoggingTestModule.cs | 8 ++------ .../DemoAppHangfireModule.cs | 5 ----- .../DemoAppRabbitMqModule.cs | 5 ----- .../DemoAppSharedModule.cs | 5 ----- .../app/Volo.Abp.BackgroundJobs.DemoApp/DemoAppModule.cs | 2 -- .../BackgroundJobs/BackgroundJobsDomainSharedModule.cs | 8 ++------ .../Volo/Abp/BackgroundJobs/BackgroundJobsDomainModule.cs | 2 -- .../BackgroundJobsEntityFrameworkCoreModule.cs | 2 -- .../BackgroundJobs/MongoDB/BackgroundJobsMongoDbModule.cs | 2 -- .../Abp/BackgroundJobs/BackgroundJobsDomainTestModule.cs | 8 ++------ .../BackgroundJobsEntityFrameworkCoreTestModule.cs | 2 -- .../MongoDB/BackgroundJobsMongoDbTestModule.cs | 3 --- .../Abp/BackgroundJobs/BackgroundJobsTestBaseModule.cs | 2 -- .../DocsTestAppEntityFrameworkCoreModule.cs | 8 ++------ modules/docs/app/Volo.DocsTestApp/DocsTestAppModule.cs | 2 -- .../Volo/Docs/DocsApplicationContractsModule.cs | 8 ++------ .../Volo/Docs/DocsApplicationModule.cs | 2 -- .../Volo/Docs/DocsDomainSharedModule.cs | 2 -- .../src/Volo.Docs.Domain/Volo/Docs/DocsDomainModule.cs | 8 ++------ .../EntityFrameworkCore/DocsEntityFrameworkCoreModule.cs | 2 -- .../Volo/Docs/DocsHttpApiClientModule.cs | 8 ++------ .../src/Volo.Docs.HttpApi/Volo/Docs/DocsHttpApiModule.cs | 8 ++------ modules/docs/src/Volo.Docs.Web/DocsWebModule.cs | 2 -- .../Abp/Identity/AbpIdentityApplicationContractsModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityApplicationModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityDomainModule.cs | 2 -- .../AbpIdentityEntityFrameworkCoreModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityHttpApiClientModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityHttpApiModule.cs | 8 ++------ .../Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbModule.cs | 2 -- .../src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityApplicationTestModule.cs | 8 ++------ .../Volo/Abp/Identity/AbpIdentityDomainTestModule.cs | 2 -- .../AbpIdentityEntityFrameworkCoreTestModule.cs | 2 -- .../Abp/Identity/MongoDB/AbpIdentityMongoDbTestModule.cs | 2 -- .../Volo/Abp/Identity/AbpIdentityTestBaseModule.cs | 2 -- .../AbpPermissionManagementApplicationContractsModule.cs | 8 ++------ .../AbpPermissionManagementApplicationModule.cs | 8 ++------ .../AbpPermissionManagementDomainSharedModule.cs | 8 ++------ .../AbpPermissionManagementDomainModule.cs | 8 ++------ .../AbpPermissionManagementEntityFrameworkCoreModule.cs | 2 -- .../MongoDb/AbpPermissionManagementMongoDbModule.cs | 2 -- .../AbpPermissionManagementWebModule.cs | 2 -- ...bpPermissionManagementEntityFrameworkCoreTestModule.cs | 2 -- .../MongoDb/AbpPermissionManagementMongoDbTestModule.cs | 2 -- .../AbpPermissionManagementTestBaseModule.cs | 2 -- .../AbpPermissionManagementTestModule.cs | 2 -- .../AbpSettingManagementDomainSharedModule.cs | 8 ++------ .../SettingManagement/AbpSettingManagementDomainModule.cs | 8 ++------ .../AbpSettingManagementEntityFrameworkCoreModule.cs | 2 -- .../MongoDB/AbpSettingManagementMongoDbModule.cs | 2 -- .../AbpSettingManagementEntityFrameworkCoreTestModule.cs | 2 -- .../MongoDB/AbpSettingManagementMongoDbTestModule.cs | 2 -- .../AbpSettingManagementTestBaseModule.cs | 2 -- .../SettingManagement/AbpSettingManagementTestModule.cs | 8 ++------ .../Volo/Abp/Users/AbpUsersAbstractionModule.cs | 2 -- .../Volo/Abp/Users/AbpUsersDomainSharedModule.cs | 8 ++------ .../Volo/Abp/Users/AbpUsersDomainModule.cs | 8 ++------ .../AbpUsersEntityFrameworkCoreModule.cs | 8 ++------ .../Volo/Abp/Users/MongoDB/AbpUsersMongoDbModule.cs | 8 ++------ .../MyCompanyName.MyProjectName.DemoApp/DemoAppModule.cs | 2 -- .../MyProjectNameApplicationContractsModule.cs | 2 -- .../MyProjectName/MyProjectNameApplicationModule.cs | 2 -- .../MyProjectName/MyProjectNameDomainSharedModule.cs | 2 -- .../MyProjectName/MyProjectNameDomainModule.cs | 2 -- .../MyProjectNameEntityFrameworkCoreModule.cs | 2 -- .../MyProjectName/MyProjectNameHttpApiClientModule.cs | 2 -- .../MyProjectName/MyProjectNameHttpApiModule.cs | 8 ++------ .../MyProjectName/MongoDB/MyProjectNameMongoDbModule.cs | 2 -- .../MyProjectNameWebModule.cs | 2 -- .../MyProjectName/MyProjectNameApplicationTestModule.cs | 8 ++------ .../MyProjectName/MyProjectNameDomainTestModule.cs | 8 ++------ .../MyProjectNameEntityFrameworkCoreTestModule.cs | 2 -- .../MongoDB/MyProjectNameMongoDbTestModule.cs | 2 -- .../MyProjectName/MyProjectNameTestBaseModule.cs | 2 -- .../MyProjectNameApplicationModule.cs | 2 -- .../MyProjectNameDomainModule.cs | 2 -- .../MyProjectNameEntityFrameworkCoreModule.cs | 2 -- .../MongoDb/MyProjectNameMongoDbModule.cs | 2 -- .../MyProjectNameWebModule.cs | 2 -- .../MyProjectNameApplicationTestModule.cs | 2 -- .../MyProjectNameWebTestModule.cs | 2 -- 91 files changed, 50 insertions(+), 296 deletions(-) diff --git a/modules/account/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs b/modules/account/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs index 9bafe1618c..c54cbf8e00 100644 --- a/modules/account/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs +++ b/modules/account/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs @@ -56,8 +56,6 @@ namespace Volo.Abp.Account.Web { options.Contributors.Add(new AccountModuleToolbarContributor()); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AbpAuditLoggingDomainSharedModule.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AbpAuditLoggingDomainSharedModule.cs index 0dbecc7b40..4d6c2d93a9 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AbpAuditLoggingDomainSharedModule.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/AbpAuditLoggingDomainSharedModule.cs @@ -13,8 +13,6 @@ namespace Volo.Abp.AuditLogging { options.Resources.Add("en"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AbpAuditLoggingDomainModule.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AbpAuditLoggingDomainModule.cs index 5fb0208e85..376dea99f3 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AbpAuditLoggingDomainModule.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AbpAuditLoggingDomainModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Auditing; +using Volo.Abp.Auditing; using Volo.Abp.Domain; using Volo.Abp.Modularity; @@ -10,9 +9,6 @@ namespace Volo.Abp.AuditLogging [DependsOn(typeof(AbpAuditLoggingDomainSharedModule))] public class AbpAuditLoggingDomainModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs index debb13766d..4336024cda 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreModule.cs @@ -14,8 +14,6 @@ namespace Volo.Abp.AuditLogging.EntityFrameworkCore { options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs index eb795acc06..bebf04f83f 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.MongoDB/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.AuditLogging.MongoDB { options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/audit-logging/test/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreTestModule.cs b/modules/audit-logging/test/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreTestModule.cs index b77bb7d592..c050853021 100644 --- a/modules/audit-logging/test/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreTestModule.cs +++ b/modules/audit-logging/test/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreTestModule.cs @@ -25,8 +25,6 @@ namespace Volo.Abp.AuditLogging.EntityFrameworkCore abpDbContextConfigurationContext.DbContextOptions.UseSqlite(sqliteConnection); }); }); - - context.Services.AddAssemblyOf(); } private static SqliteConnection CreateDatabaseAndGetConnection() diff --git a/modules/audit-logging/test/Volo.Abp.AuditLogging.MongoDB.Tests/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbTestModule.cs b/modules/audit-logging/test/Volo.Abp.AuditLogging.MongoDB.Tests/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbTestModule.cs index 523eea651a..546f9b274e 100644 --- a/modules/audit-logging/test/Volo.Abp.AuditLogging.MongoDB.Tests/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbTestModule.cs +++ b/modules/audit-logging/test/Volo.Abp.AuditLogging.MongoDB.Tests/Volo/Abp/AuditLogging/MongoDB/AbpAuditLoggingMongoDbTestModule.cs @@ -21,14 +21,11 @@ namespace Volo.Abp.AuditLogging.MongoDB { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) { _mongoDbRunner.Dispose(); } - } } \ No newline at end of file diff --git a/modules/audit-logging/test/Volo.Abp.AuditLogging.TestBase/Volo/Abp/AuditLogging/AbpAuditLoggingTestBaseModule.cs b/modules/audit-logging/test/Volo.Abp.AuditLogging.TestBase/Volo/Abp/AuditLogging/AbpAuditLoggingTestBaseModule.cs index 78800a7c86..b157b9f81c 100644 --- a/modules/audit-logging/test/Volo.Abp.AuditLogging.TestBase/Volo/Abp/AuditLogging/AbpAuditLoggingTestBaseModule.cs +++ b/modules/audit-logging/test/Volo.Abp.AuditLogging.TestBase/Volo/Abp/AuditLogging/AbpAuditLoggingTestBaseModule.cs @@ -10,11 +10,6 @@ namespace Volo.Abp.AuditLogging typeof(AbpAuditLoggingDomainModule))] public class AbpAuditLoggingTestBaseModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { SeedTestData(context); diff --git a/modules/audit-logging/test/Volo.Abp.AuditLogging.Tests/Volo/Abp/AuditLogging/AbpAuditLoggingTestModule.cs b/modules/audit-logging/test/Volo.Abp.AuditLogging.Tests/Volo/Abp/AuditLogging/AbpAuditLoggingTestModule.cs index 28ea455b54..1f85576777 100644 --- a/modules/audit-logging/test/Volo.Abp.AuditLogging.Tests/Volo/Abp/AuditLogging/AbpAuditLoggingTestModule.cs +++ b/modules/audit-logging/test/Volo.Abp.AuditLogging.Tests/Volo/Abp/AuditLogging/AbpAuditLoggingTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AuditLogging.EntityFrameworkCore; +using Volo.Abp.AuditLogging.EntityFrameworkCore; using Volo.Abp.Modularity; namespace Volo.Abp.AuditLogging @@ -9,9 +8,6 @@ namespace Volo.Abp.AuditLogging )] public class AbpAuditLoggingTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.HangFire/DemoAppHangfireModule.cs b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.HangFire/DemoAppHangfireModule.cs index aab8921a03..b1d27a3e39 100644 --- a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.HangFire/DemoAppHangfireModule.cs +++ b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.HangFire/DemoAppHangfireModule.cs @@ -27,11 +27,6 @@ namespace Volo.Abp.BackgroundJobs.DemoApp.HangFire }); } - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { context diff --git a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.RabbitMq/DemoAppRabbitMqModule.cs b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.RabbitMq/DemoAppRabbitMqModule.cs index 20de4981a6..6b1071716b 100644 --- a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.RabbitMq/DemoAppRabbitMqModule.cs +++ b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.RabbitMq/DemoAppRabbitMqModule.cs @@ -14,11 +14,6 @@ namespace Volo.Abp.BackgroundJobs.DemoApp.RabbitMq )] public class DemoAppRabbitMqModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnApplicationInitialization(ApplicationInitializationContext context) { context diff --git a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.Shared/DemoAppSharedModule.cs b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.Shared/DemoAppSharedModule.cs index f570f53f4c..193e87b528 100644 --- a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.Shared/DemoAppSharedModule.cs +++ b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp.Shared/DemoAppSharedModule.cs @@ -9,11 +9,6 @@ namespace Volo.Abp.BackgroundJobs.DemoApp.Shared )] public class DemoAppSharedModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } - public override void OnPostApplicationInitialization(ApplicationInitializationContext context) { context.ServiceProvider diff --git a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp/DemoAppModule.cs b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp/DemoAppModule.cs index af6b4f756d..65c5affff7 100644 --- a/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp/DemoAppModule.cs +++ b/modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp/DemoAppModule.cs @@ -45,8 +45,6 @@ namespace Volo.Abp.BackgroundJobs.DemoApp options.DefaultFirstWaitDuration = 1; options.DefaultWaitFactor = 1; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain.Shared/Volo/Abp/BackgroundJobs/BackgroundJobsDomainSharedModule.cs b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain.Shared/Volo/Abp/BackgroundJobs/BackgroundJobsDomainSharedModule.cs index ee2d85ab04..2012620f3a 100644 --- a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain.Shared/Volo/Abp/BackgroundJobs/BackgroundJobsDomainSharedModule.cs +++ b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain.Shared/Volo/Abp/BackgroundJobs/BackgroundJobsDomainSharedModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.BackgroundJobs { public class BackgroundJobsDomainSharedModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain/Volo/Abp/BackgroundJobs/BackgroundJobsDomainModule.cs b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain/Volo/Abp/BackgroundJobs/BackgroundJobsDomainModule.cs index 3f1d9406a8..bfed65bba4 100644 --- a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain/Volo/Abp/BackgroundJobs/BackgroundJobsDomainModule.cs +++ b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.Domain/Volo/Abp/BackgroundJobs/BackgroundJobsDomainModule.cs @@ -17,8 +17,6 @@ namespace Volo.Abp.BackgroundJobs { options.AddProfile(validate: true); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.EntityFrameworkCore/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreModule.cs b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.EntityFrameworkCore/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreModule.cs index edc29096d9..9661dd7646 100644 --- a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.EntityFrameworkCore/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreModule.cs +++ b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.EntityFrameworkCore/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.BackgroundJobs.EntityFrameworkCore { options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.MongoDB/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbModule.cs b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.MongoDB/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbModule.cs index 6b6ad25979..c233892b2d 100644 --- a/modules/background-jobs/src/Volo.Abp.BackgroundJobs.MongoDB/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbModule.cs +++ b/modules/background-jobs/src/Volo.Abp.BackgroundJobs.MongoDB/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbModule.cs @@ -18,8 +18,6 @@ namespace Volo.Abp.BackgroundJobs.MongoDB { options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.Domain.Tests/Volo/Abp/BackgroundJobs/BackgroundJobsDomainTestModule.cs b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.Domain.Tests/Volo/Abp/BackgroundJobs/BackgroundJobsDomainTestModule.cs index c814ce6ee7..d4c861b24c 100644 --- a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.Domain.Tests/Volo/Abp/BackgroundJobs/BackgroundJobsDomainTestModule.cs +++ b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.Domain.Tests/Volo/Abp/BackgroundJobs/BackgroundJobsDomainTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.BackgroundJobs.EntityFrameworkCore; +using Volo.Abp.BackgroundJobs.EntityFrameworkCore; using Volo.Abp.Modularity; namespace Volo.Abp.BackgroundJobs @@ -9,9 +8,6 @@ namespace Volo.Abp.BackgroundJobs )] public class BackgroundJobsDomainTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreTestModule.cs b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreTestModule.cs index ad1a130805..876dc20810 100644 --- a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreTestModule.cs +++ b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests/Volo/Abp/BackgroundJobs/EntityFrameworkCore/BackgroundJobsEntityFrameworkCoreTestModule.cs @@ -25,8 +25,6 @@ namespace Volo.Abp.BackgroundJobs.EntityFrameworkCore abpDbContextConfigurationContext.DbContextOptions.UseSqlite(sqliteConnection); }); }); - - context.Services.AddAssemblyOf(); } private static SqliteConnection CreateDatabaseAndGetConnection() diff --git a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.MongoDB.Tests/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbTestModule.cs b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.MongoDB.Tests/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbTestModule.cs index 4a86bbc262..a1ec5d8be7 100644 --- a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.MongoDB.Tests/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbTestModule.cs +++ b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.MongoDB.Tests/Volo/Abp/BackgroundJobs/MongoDB/BackgroundJobsMongoDbTestModule.cs @@ -1,6 +1,5 @@ using Microsoft.Extensions.DependencyInjection; using Mongo2Go; -using Volo.Abp; using Volo.Abp.Data; using Volo.Abp.Modularity; @@ -22,8 +21,6 @@ namespace Volo.Abp.BackgroundJobs.MongoDB { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.TestBase/Volo/Abp/BackgroundJobs/BackgroundJobsTestBaseModule.cs b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.TestBase/Volo/Abp/BackgroundJobs/BackgroundJobsTestBaseModule.cs index 310a819205..30ba72c427 100644 --- a/modules/background-jobs/test/Volo.Abp.BackgroundJobs.TestBase/Volo/Abp/BackgroundJobs/BackgroundJobsTestBaseModule.cs +++ b/modules/background-jobs/test/Volo.Abp.BackgroundJobs.TestBase/Volo/Abp/BackgroundJobs/BackgroundJobsTestBaseModule.cs @@ -17,8 +17,6 @@ namespace Volo.Abp.BackgroundJobs { options.IsJobExecutionEnabled = false; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/docs/app/Volo.DocsTestApp.EntityFrameworkCore/DocsTestAppEntityFrameworkCoreModule.cs b/modules/docs/app/Volo.DocsTestApp.EntityFrameworkCore/DocsTestAppEntityFrameworkCoreModule.cs index 54bb4c250b..96c30adf11 100644 --- a/modules/docs/app/Volo.DocsTestApp.EntityFrameworkCore/DocsTestAppEntityFrameworkCoreModule.cs +++ b/modules/docs/app/Volo.DocsTestApp.EntityFrameworkCore/DocsTestAppEntityFrameworkCoreModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.EntityFrameworkCore.SqlServer; +using Volo.Abp.EntityFrameworkCore.SqlServer; using Volo.Abp.Modularity; using Volo.Docs.EntityFrameworkCore; @@ -10,9 +9,6 @@ namespace Volo.DocsTestApp.EntityFrameworkCore typeof(AbpEntityFrameworkCoreSqlServerModule))] public class DocsTestAppEntityFrameworkCoreModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/docs/app/Volo.DocsTestApp/DocsTestAppModule.cs b/modules/docs/app/Volo.DocsTestApp/DocsTestAppModule.cs index dbf10aad8e..de14183adf 100644 --- a/modules/docs/app/Volo.DocsTestApp/DocsTestAppModule.cs +++ b/modules/docs/app/Volo.DocsTestApp/DocsTestAppModule.cs @@ -85,8 +85,6 @@ namespace Volo.DocsTestApp { options.DefaultThemeName = BasicTheme.Name; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/DocsApplicationContractsModule.cs b/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/DocsApplicationContractsModule.cs index 6c832aba8d..79179c23d9 100644 --- a/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/DocsApplicationContractsModule.cs +++ b/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/DocsApplicationContractsModule.cs @@ -1,14 +1,10 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Docs { [DependsOn(typeof(DocsDomainSharedModule))] public class DocsApplicationContractsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/docs/src/Volo.Docs.Application/Volo/Docs/DocsApplicationModule.cs b/modules/docs/src/Volo.Docs.Application/Volo/Docs/DocsApplicationModule.cs index a2f73d85bf..09e4de45bf 100644 --- a/modules/docs/src/Volo.Docs.Application/Volo/Docs/DocsApplicationModule.cs +++ b/modules/docs/src/Volo.Docs.Application/Volo/Docs/DocsApplicationModule.cs @@ -18,8 +18,6 @@ namespace Volo.Docs { options.AddProfile(validate: true); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/docs/src/Volo.Docs.Domain.Shared/Volo/Docs/DocsDomainSharedModule.cs b/modules/docs/src/Volo.Docs.Domain.Shared/Volo/Docs/DocsDomainSharedModule.cs index bf6cc18cee..82496e10e4 100644 --- a/modules/docs/src/Volo.Docs.Domain.Shared/Volo/Docs/DocsDomainSharedModule.cs +++ b/modules/docs/src/Volo.Docs.Domain.Shared/Volo/Docs/DocsDomainSharedModule.cs @@ -14,8 +14,6 @@ namespace Volo.Docs { options.Resources.Add("en"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/docs/src/Volo.Docs.Domain/Volo/Docs/DocsDomainModule.cs b/modules/docs/src/Volo.Docs.Domain/Volo/Docs/DocsDomainModule.cs index 00bd564ce1..c6884c611f 100644 --- a/modules/docs/src/Volo.Docs.Domain/Volo/Docs/DocsDomainModule.cs +++ b/modules/docs/src/Volo.Docs.Domain/Volo/Docs/DocsDomainModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Domain; +using Volo.Abp.Domain; using Volo.Abp.Modularity; namespace Volo.Docs @@ -9,9 +8,6 @@ namespace Volo.Docs typeof(AbpDddDomainModule))] public class DocsDomainModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/docs/src/Volo.Docs.EntityFrameworkCore/Volo/Docs/EntityFrameworkCore/DocsEntityFrameworkCoreModule.cs b/modules/docs/src/Volo.Docs.EntityFrameworkCore/Volo/Docs/EntityFrameworkCore/DocsEntityFrameworkCoreModule.cs index df6591b9d8..459a96516b 100644 --- a/modules/docs/src/Volo.Docs.EntityFrameworkCore/Volo/Docs/EntityFrameworkCore/DocsEntityFrameworkCoreModule.cs +++ b/modules/docs/src/Volo.Docs.EntityFrameworkCore/Volo/Docs/EntityFrameworkCore/DocsEntityFrameworkCoreModule.cs @@ -16,8 +16,6 @@ namespace Volo.Docs.EntityFrameworkCore { options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/docs/src/Volo.Docs.HttpApi.Client/Volo/Docs/DocsHttpApiClientModule.cs b/modules/docs/src/Volo.Docs.HttpApi.Client/Volo/Docs/DocsHttpApiClientModule.cs index 43afb4cfb6..da16113225 100644 --- a/modules/docs/src/Volo.Docs.HttpApi.Client/Volo/Docs/DocsHttpApiClientModule.cs +++ b/modules/docs/src/Volo.Docs.HttpApi.Client/Volo/Docs/DocsHttpApiClientModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Docs { @@ -7,9 +6,6 @@ namespace Volo.Docs typeof(DocsApplicationContractsModule))] public class DocsHttpApiClientModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/docs/src/Volo.Docs.HttpApi/Volo/Docs/DocsHttpApiModule.cs b/modules/docs/src/Volo.Docs.HttpApi/Volo/Docs/DocsHttpApiModule.cs index 1afb9ab7fb..003f2e3068 100644 --- a/modules/docs/src/Volo.Docs.HttpApi/Volo/Docs/DocsHttpApiModule.cs +++ b/modules/docs/src/Volo.Docs.HttpApi/Volo/Docs/DocsHttpApiModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Docs { @@ -7,9 +6,6 @@ namespace Volo.Docs typeof(DocsApplicationContractsModule))] public class DocsHttpApiModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/docs/src/Volo.Docs.Web/DocsWebModule.cs b/modules/docs/src/Volo.Docs.Web/DocsWebModule.cs index 1e24df7341..0ed7278e9f 100644 --- a/modules/docs/src/Volo.Docs.Web/DocsWebModule.cs +++ b/modules/docs/src/Volo.Docs.Web/DocsWebModule.cs @@ -34,8 +34,6 @@ namespace Volo.Docs //TODO: Make configurable! options.Conventions.AddPageRoute("/Documents/Project/Index", "documents/{projectName}/{version}/{*documentName}"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs index ac6d31b753..5530de9521 100644 --- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs @@ -34,8 +34,6 @@ namespace Volo.Abp.Identity .Get() .AddVirtualJson("/Volo/Abp/Identity/Localization/ApplicationContracts"); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/AbpIdentityApplicationModule.cs b/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/AbpIdentityApplicationModule.cs index 2f07ba3d5e..964c402fb8 100644 --- a/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/AbpIdentityApplicationModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/AbpIdentityApplicationModule.cs @@ -19,8 +19,6 @@ namespace Volo.Abp.Identity { options.AddProfile(); }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs index d5114d62c4..584d9881cc 100644 --- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.Identity { options.Resources.Add("en"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs index f2836a7473..d426050117 100644 --- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs @@ -52,8 +52,6 @@ namespace Volo.Abp.Identity context.Services.ExecutePreConfiguredActions(identityBuilder); AddAbpIdentityOptionsFactory(context.Services); - - context.Services.AddAssemblyOf(); } private static void AddAbpIdentityOptionsFactory(IServiceCollection services) diff --git a/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreModule.cs b/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreModule.cs index 9fc4972bec..f7211df12f 100644 --- a/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.Identity.EntityFrameworkCore options.AddRepository(); options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/identity/src/Volo.Abp.Identity.HttpApi.Client/Volo/Abp/Identity/AbpIdentityHttpApiClientModule.cs b/modules/identity/src/Volo.Abp.Identity.HttpApi.Client/Volo/Abp/Identity/AbpIdentityHttpApiClientModule.cs index 6915ef8570..2ea34cf671 100644 --- a/modules/identity/src/Volo.Abp.Identity.HttpApi.Client/Volo/Abp/Identity/AbpIdentityHttpApiClientModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.HttpApi.Client/Volo/Abp/Identity/AbpIdentityHttpApiClientModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.Identity public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddHttpClientProxies(typeof(AbpIdentityApplicationContractsModule).Assembly, RemoteServiceName); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/AbpIdentityHttpApiModule.cs b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/AbpIdentityHttpApiModule.cs index ba162d41db..a7ee084847 100644 --- a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/AbpIdentityHttpApiModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/AbpIdentityHttpApiModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AspNetCore.Mvc; +using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.Modularity; namespace Volo.Abp.Identity @@ -7,9 +6,6 @@ namespace Volo.Abp.Identity [DependsOn(typeof(AbpIdentityApplicationContractsModule), typeof(AbpAspNetCoreMvcModule))] public class AbpIdentityHttpApiModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } \ No newline at end of file diff --git a/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbModule.cs b/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbModule.cs index 5516083ba9..d7743a748b 100644 --- a/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbModule.cs @@ -19,8 +19,6 @@ namespace Volo.Abp.Identity.MongoDB options.AddRepository(); options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/identity/src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs b/modules/identity/src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs index 3285b5f8f0..62888d0abe 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs +++ b/modules/identity/src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs @@ -65,8 +65,6 @@ namespace Volo.Abp.Identity.Web options.Conventions.AuthorizePage("/Identity/Roles/CreateModal", IdentityPermissions.Roles.Create); options.Conventions.AuthorizePage("/Identity/Roles/EditModal", IdentityPermissions.Roles.Update); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/identity/test/Volo.Abp.Identity.Application.Tests/Volo/Abp/Identity/AbpIdentityApplicationTestModule.cs b/modules/identity/test/Volo.Abp.Identity.Application.Tests/Volo/Abp/Identity/AbpIdentityApplicationTestModule.cs index 719327ccbb..9a57646264 100644 --- a/modules/identity/test/Volo.Abp.Identity.Application.Tests/Volo/Abp/Identity/AbpIdentityApplicationTestModule.cs +++ b/modules/identity/test/Volo.Abp.Identity.Application.Tests/Volo/Abp/Identity/AbpIdentityApplicationTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Identity { @@ -9,9 +8,6 @@ namespace Volo.Abp.Identity )] public class AbpIdentityApplicationTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityDomainTestModule.cs b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityDomainTestModule.cs index 3ea7d5b71e..d6ad85fdef 100644 --- a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityDomainTestModule.cs +++ b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityDomainTestModule.cs @@ -14,8 +14,6 @@ namespace Volo.Abp.Identity { options.DefinitionProviders.Add(); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreTestModule.cs b/modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreTestModule.cs index 5d280fec9a..ee30b29844 100644 --- a/modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreTestModule.cs +++ b/modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreTestModule.cs @@ -27,8 +27,6 @@ namespace Volo.Abp.Identity.EntityFrameworkCore abpDbContextConfigurationContext.DbContextOptions.UseSqlite(sqliteConnection); }); }); - - context.Services.AddAssemblyOf(); } private static SqliteConnection CreateDatabaseAndGetConnection() diff --git a/modules/identity/test/Volo.Abp.Identity.MongoDB.Tests/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbTestModule.cs b/modules/identity/test/Volo.Abp.Identity.MongoDB.Tests/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbTestModule.cs index a75276e8ec..3e08bab640 100644 --- a/modules/identity/test/Volo.Abp.Identity.MongoDB.Tests/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbTestModule.cs +++ b/modules/identity/test/Volo.Abp.Identity.MongoDB.Tests/Volo/Abp/Identity/MongoDB/AbpIdentityMongoDbTestModule.cs @@ -23,8 +23,6 @@ namespace Volo.Abp.Identity.MongoDB { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/modules/identity/test/Volo.Abp.Identity.TestBase/Volo/Abp/Identity/AbpIdentityTestBaseModule.cs b/modules/identity/test/Volo.Abp.Identity.TestBase/Volo/Abp/Identity/AbpIdentityTestBaseModule.cs index bafe2816a5..55eed7374a 100644 --- a/modules/identity/test/Volo.Abp.Identity.TestBase/Volo/Abp/Identity/AbpIdentityTestBaseModule.cs +++ b/modules/identity/test/Volo.Abp.Identity.TestBase/Volo/Abp/Identity/AbpIdentityTestBaseModule.cs @@ -15,8 +15,6 @@ namespace Volo.Abp.Identity public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAlwaysAllowPermissionChecker(); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.Application.Contracts/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationContractsModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.Application.Contracts/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationContractsModule.cs index 6efc10bd5a..f095404242 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.Application.Contracts/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationContractsModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.Application.Contracts/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationContractsModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Application; +using Volo.Abp.Application; using Volo.Abp.Modularity; namespace Volo.Abp.PermissionManagement @@ -8,9 +7,6 @@ namespace Volo.Abp.PermissionManagement [DependsOn(typeof(AbpPermissionManagementDomainSharedModule))] public class AbpPermissionManagementApplicationContractsModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationModule.cs index 5a47c54ee3..4b2ae3b22f 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/AbpPermissionManagementApplicationModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.PermissionManagement { @@ -7,9 +6,6 @@ namespace Volo.Abp.PermissionManagement [DependsOn(typeof(AbpPermissionManagementApplicationContractsModule))] public class AbpPermissionManagementApplicationModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain.Shared/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainSharedModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain.Shared/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainSharedModule.cs index 583bb3f186..f4c1c07e21 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain.Shared/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainSharedModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain.Shared/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainSharedModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.PermissionManagement { public class AbpPermissionManagementDomainSharedModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainModule.cs index 4aa5f178b6..c199a2130b 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Authorization; +using Volo.Abp.Authorization; using Volo.Abp.Caching; using Volo.Abp.Domain; using Volo.Abp.Json; @@ -14,9 +13,6 @@ namespace Volo.Abp.PermissionManagement [DependsOn(typeof(AbpJsonModule))] public class AbpPermissionManagementDomainModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.EntityFrameworkCore/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.EntityFrameworkCore/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreModule.cs index 2477423904..79a6ae39ee 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.EntityFrameworkCore/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.EntityFrameworkCore/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.PermissionManagement.EntityFrameworkCore options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.MongoDB/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.MongoDB/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbModule.cs index ea6f08a2fb..16cc9b3bc6 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.MongoDB/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.MongoDB/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbModule.cs @@ -21,8 +21,6 @@ namespace Volo.Abp.PermissionManagement.MongoDB options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/AbpPermissionManagementWebModule.cs b/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/AbpPermissionManagementWebModule.cs index 3bbdf519ca..cc94bc7f56 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/AbpPermissionManagementWebModule.cs +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/AbpPermissionManagementWebModule.cs @@ -24,8 +24,6 @@ namespace Volo.Abp.PermissionManagement.Web public override void ConfigureServices(ServiceConfigurationContext context) { - context.Services.AddAssemblyOf(); - context.Services.Configure(options => { options.FileSets.AddEmbedded("Volo.Abp.PermissionManagement.Web"); diff --git a/modules/permission-management/test/Volo.Abp.PermissionManagement.EntityFrameworkCore.Tests/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreTestModule.cs b/modules/permission-management/test/Volo.Abp.PermissionManagement.EntityFrameworkCore.Tests/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreTestModule.cs index cdaa58e67d..f20a916853 100644 --- a/modules/permission-management/test/Volo.Abp.PermissionManagement.EntityFrameworkCore.Tests/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreTestModule.cs +++ b/modules/permission-management/test/Volo.Abp.PermissionManagement.EntityFrameworkCore.Tests/Volo/Abp/PermissionManagement/EntityFrameworkCore/AbpPermissionManagementEntityFrameworkCoreTestModule.cs @@ -30,8 +30,6 @@ namespace Volo.Abp.PermissionManagement.EntityFrameworkCore { options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; //EF in-memory database does not support transactions }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/permission-management/test/Volo.Abp.PermissionManagement.MongoDB.Tests/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbTestModule.cs b/modules/permission-management/test/Volo.Abp.PermissionManagement.MongoDB.Tests/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbTestModule.cs index 5097d79412..a440ad5ac0 100644 --- a/modules/permission-management/test/Volo.Abp.PermissionManagement.MongoDB.Tests/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbTestModule.cs +++ b/modules/permission-management/test/Volo.Abp.PermissionManagement.MongoDB.Tests/Volo/Abp/PermissionManagement/MongoDb/AbpPermissionManagementMongoDbTestModule.cs @@ -21,8 +21,6 @@ namespace Volo.Abp.PermissionManagement.MongoDb { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/modules/permission-management/test/Volo.Abp.PermissionManagement.TestBase/Volo/Abp/PermissionManagement/AbpPermissionManagementTestBaseModule.cs b/modules/permission-management/test/Volo.Abp.PermissionManagement.TestBase/Volo/Abp/PermissionManagement/AbpPermissionManagementTestBaseModule.cs index 666bdcc27a..ef433cb287 100644 --- a/modules/permission-management/test/Volo.Abp.PermissionManagement.TestBase/Volo/Abp/PermissionManagement/AbpPermissionManagementTestBaseModule.cs +++ b/modules/permission-management/test/Volo.Abp.PermissionManagement.TestBase/Volo/Abp/PermissionManagement/AbpPermissionManagementTestBaseModule.cs @@ -18,8 +18,6 @@ namespace Volo.Abp.PermissionManagement { options.DefinitionProviders.Add(); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/permission-management/test/Volo.Abp.PermissionManagement.Tests/Volo/Abp/PermissionManagement/AbpPermissionManagementTestModule.cs b/modules/permission-management/test/Volo.Abp.PermissionManagement.Tests/Volo/Abp/PermissionManagement/AbpPermissionManagementTestModule.cs index 931e3e9b96..5e48a98862 100644 --- a/modules/permission-management/test/Volo.Abp.PermissionManagement.Tests/Volo/Abp/PermissionManagement/AbpPermissionManagementTestModule.cs +++ b/modules/permission-management/test/Volo.Abp.PermissionManagement.Tests/Volo/Abp/PermissionManagement/AbpPermissionManagementTestModule.cs @@ -31,8 +31,6 @@ namespace Volo.Abp.PermissionManagement { options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; //EF in-memory database does not support transactions }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/AbpSettingManagementDomainSharedModule.cs b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/AbpSettingManagementDomainSharedModule.cs index 41af8db8ce..42c0096836 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/AbpSettingManagementDomainSharedModule.cs +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/AbpSettingManagementDomainSharedModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.SettingManagement { public class AbpSettingManagementDomainSharedModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain/Volo/Abp/SettingManagement/AbpSettingManagementDomainModule.cs b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain/Volo/Abp/SettingManagement/AbpSettingManagementDomainModule.cs index ea72234a55..9280008eac 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain/Volo/Abp/SettingManagement/AbpSettingManagementDomainModule.cs +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain/Volo/Abp/SettingManagement/AbpSettingManagementDomainModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Domain; +using Volo.Abp.Domain; using Volo.Abp.Modularity; using Volo.Abp.Settings; @@ -10,9 +9,6 @@ namespace Volo.Abp.SettingManagement [DependsOn(typeof(AbpSettingManagementDomainSharedModule))] public class AbpSettingManagementDomainModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.EntityFrameworkCore/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreModule.cs b/modules/setting-management/src/Volo.Abp.SettingManagement.EntityFrameworkCore/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreModule.cs index 83fa9957ec..97195bd852 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.EntityFrameworkCore/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreModule.cs +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.EntityFrameworkCore/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreModule.cs @@ -16,8 +16,6 @@ namespace Volo.Abp.SettingManagement.EntityFrameworkCore options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.MongoDB/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbModule.cs b/modules/setting-management/src/Volo.Abp.SettingManagement.MongoDB/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbModule.cs index 1aab00752b..2eafba45ab 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.MongoDB/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbModule.cs +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.MongoDB/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbModule.cs @@ -20,8 +20,6 @@ namespace Volo.Abp.SettingManagement.MongoDB options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/setting-management/test/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreTestModule.cs b/modules/setting-management/test/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreTestModule.cs index 3a269e080d..07b264dfd7 100644 --- a/modules/setting-management/test/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreTestModule.cs +++ b/modules/setting-management/test/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreTestModule.cs @@ -25,8 +25,6 @@ namespace Volo.Abp.SettingManagement.EntityFrameworkCore abpDbContextConfigurationContext.DbContextOptions.UseSqlite(sqliteConnection); }); }); - - context.Services.AddAssemblyOf(); } private static SqliteConnection CreateDatabaseAndGetConnection() diff --git a/modules/setting-management/test/Volo.Abp.SettingManagement.MongoDB.Tests/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbTestModule.cs b/modules/setting-management/test/Volo.Abp.SettingManagement.MongoDB.Tests/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbTestModule.cs index 1889048efa..2b9b22523c 100644 --- a/modules/setting-management/test/Volo.Abp.SettingManagement.MongoDB.Tests/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbTestModule.cs +++ b/modules/setting-management/test/Volo.Abp.SettingManagement.MongoDB.Tests/Volo/Abp/SettingManagement/MongoDB/AbpSettingManagementMongoDbTestModule.cs @@ -21,8 +21,6 @@ namespace Volo.Abp.SettingManagement.MongoDB { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/modules/setting-management/test/Volo.Abp.SettingManagement.TestBase/Volo/Abp/SettingManagement/AbpSettingManagementTestBaseModule.cs b/modules/setting-management/test/Volo.Abp.SettingManagement.TestBase/Volo/Abp/SettingManagement/AbpSettingManagementTestBaseModule.cs index d7f2727549..93b9efa58d 100644 --- a/modules/setting-management/test/Volo.Abp.SettingManagement.TestBase/Volo/Abp/SettingManagement/AbpSettingManagementTestBaseModule.cs +++ b/modules/setting-management/test/Volo.Abp.SettingManagement.TestBase/Volo/Abp/SettingManagement/AbpSettingManagementTestBaseModule.cs @@ -17,8 +17,6 @@ namespace Volo.Abp.SettingManagement { options.DefinitionProviders.Add(); }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/modules/setting-management/test/Volo.Abp.SettingManagement.Tests/Volo/Abp/SettingManagement/AbpSettingManagementTestModule.cs b/modules/setting-management/test/Volo.Abp.SettingManagement.Tests/Volo/Abp/SettingManagement/AbpSettingManagementTestModule.cs index 3141e10c8d..cdc87600e4 100644 --- a/modules/setting-management/test/Volo.Abp.SettingManagement.Tests/Volo/Abp/SettingManagement/AbpSettingManagementTestModule.cs +++ b/modules/setting-management/test/Volo.Abp.SettingManagement.Tests/Volo/Abp/SettingManagement/AbpSettingManagementTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.Users; @@ -10,9 +9,6 @@ namespace Volo.Abp.SettingManagement typeof(AbpUsersAbstractionModule))] public class AbpSettingManagementTestModule : AbpModule //TODO: Rename to Volo.Abp.SettingManagement.Domain.Tests..? { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/users/src/Volo.Abp.Users.Abstractions/Volo/Abp/Users/AbpUsersAbstractionModule.cs b/modules/users/src/Volo.Abp.Users.Abstractions/Volo/Abp/Users/AbpUsersAbstractionModule.cs index d819bcc47d..e65c62d741 100644 --- a/modules/users/src/Volo.Abp.Users.Abstractions/Volo/Abp/Users/AbpUsersAbstractionModule.cs +++ b/modules/users/src/Volo.Abp.Users.Abstractions/Volo/Abp/Users/AbpUsersAbstractionModule.cs @@ -14,8 +14,6 @@ namespace Volo.Abp.Users { options.ValueProviders.Add(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/modules/users/src/Volo.Abp.Users.Domain.Shared/Volo/Abp/Users/AbpUsersDomainSharedModule.cs b/modules/users/src/Volo.Abp.Users.Domain.Shared/Volo/Abp/Users/AbpUsersDomainSharedModule.cs index 5cf6067af8..b7ed817c1c 100644 --- a/modules/users/src/Volo.Abp.Users.Domain.Shared/Volo/Abp/Users/AbpUsersDomainSharedModule.cs +++ b/modules/users/src/Volo.Abp.Users.Domain.Shared/Volo/Abp/Users/AbpUsersDomainSharedModule.cs @@ -1,13 +1,9 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace Volo.Abp.Users { public class AbpUsersDomainSharedModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/users/src/Volo.Abp.Users.Domain/Volo/Abp/Users/AbpUsersDomainModule.cs b/modules/users/src/Volo.Abp.Users.Domain/Volo/Abp/Users/AbpUsersDomainModule.cs index b3c11e0cdd..fe3979df02 100644 --- a/modules/users/src/Volo.Abp.Users.Domain/Volo/Abp/Users/AbpUsersDomainModule.cs +++ b/modules/users/src/Volo.Abp.Users.Domain/Volo/Abp/Users/AbpUsersDomainModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; using Volo.Abp.Security; using Volo.Abp.Settings; @@ -13,9 +12,6 @@ namespace Volo.Abp.Users )] public class AbpUsersDomainModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/users/src/Volo.Abp.Users.EntityFrameworkCore/Volo/Abp/Users/EntityFrameworkCore/AbpUsersEntityFrameworkCoreModule.cs b/modules/users/src/Volo.Abp.Users.EntityFrameworkCore/Volo/Abp/Users/EntityFrameworkCore/AbpUsersEntityFrameworkCoreModule.cs index e4e4cf56f4..873cdef2ca 100644 --- a/modules/users/src/Volo.Abp.Users.EntityFrameworkCore/Volo/Abp/Users/EntityFrameworkCore/AbpUsersEntityFrameworkCoreModule.cs +++ b/modules/users/src/Volo.Abp.Users.EntityFrameworkCore/Volo/Abp/Users/EntityFrameworkCore/AbpUsersEntityFrameworkCoreModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; using Volo.Abp.Modularity; namespace Volo.Abp.Users.EntityFrameworkCore @@ -10,9 +9,6 @@ namespace Volo.Abp.Users.EntityFrameworkCore )] public class AbpUsersEntityFrameworkCoreModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/modules/users/src/Volo.Abp.Users.MongoDB/Volo/Abp/Users/MongoDB/AbpUsersMongoDbModule.cs b/modules/users/src/Volo.Abp.Users.MongoDB/Volo/Abp/Users/MongoDB/AbpUsersMongoDbModule.cs index 7d452f157c..20313516a5 100644 --- a/modules/users/src/Volo.Abp.Users.MongoDB/Volo/Abp/Users/MongoDB/AbpUsersMongoDbModule.cs +++ b/modules/users/src/Volo.Abp.Users.MongoDB/Volo/Abp/Users/MongoDB/AbpUsersMongoDbModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; using Volo.Abp.MongoDB; namespace Volo.Abp.Users.MongoDB @@ -10,9 +9,6 @@ namespace Volo.Abp.Users.MongoDB )] public class AbpUsersMongoDbModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/templates/module/app/MyCompanyName.MyProjectName.DemoApp/DemoAppModule.cs b/templates/module/app/MyCompanyName.MyProjectName.DemoApp/DemoAppModule.cs index 02d15c0fa7..d58fdfe033 100644 --- a/templates/module/app/MyCompanyName.MyProjectName.DemoApp/DemoAppModule.cs +++ b/templates/module/app/MyCompanyName.MyProjectName.DemoApp/DemoAppModule.cs @@ -83,8 +83,6 @@ namespace MyCompanyName.MyProjectName.DemoApp options.Languages.Add(new LanguageInfo("en", "en", "English")); //...add other languages }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/templates/module/src/MyCompanyName.MyProjectName.Application.Contracts/MyCompanyName/MyProjectName/MyProjectNameApplicationContractsModule.cs b/templates/module/src/MyCompanyName.MyProjectName.Application.Contracts/MyCompanyName/MyProjectName/MyProjectNameApplicationContractsModule.cs index f86b5fc4fa..785150737d 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.Application.Contracts/MyCompanyName/MyProjectName/MyProjectNameApplicationContractsModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.Application.Contracts/MyCompanyName/MyProjectName/MyProjectNameApplicationContractsModule.cs @@ -32,8 +32,6 @@ namespace MyCompanyName.MyProjectName .Get() .AddVirtualJson("/MyCompanyName/MyProjectName/Localization/ApplicationContracts"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.Application/MyCompanyName/MyProjectName/MyProjectNameApplicationModule.cs b/templates/module/src/MyCompanyName.MyProjectName.Application/MyCompanyName/MyProjectName/MyProjectNameApplicationModule.cs index c6c860b4db..e8b2b6bc9e 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.Application/MyCompanyName/MyProjectName/MyProjectNameApplicationModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.Application/MyCompanyName/MyProjectName/MyProjectNameApplicationModule.cs @@ -23,8 +23,6 @@ namespace MyCompanyName.MyProjectName { options.DefinitionProviders.Add(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.Domain.Shared/MyCompanyName/MyProjectName/MyProjectNameDomainSharedModule.cs b/templates/module/src/MyCompanyName.MyProjectName.Domain.Shared/MyCompanyName/MyProjectName/MyProjectNameDomainSharedModule.cs index 58dd9079ca..476f3eb2e0 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.Domain.Shared/MyCompanyName/MyProjectName/MyProjectNameDomainSharedModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.Domain.Shared/MyCompanyName/MyProjectName/MyProjectNameDomainSharedModule.cs @@ -16,8 +16,6 @@ namespace MyCompanyName.MyProjectName { options.Resources.Add("en"); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.Domain/MyCompanyName/MyProjectName/MyProjectNameDomainModule.cs b/templates/module/src/MyCompanyName.MyProjectName.Domain/MyCompanyName/MyProjectName/MyProjectNameDomainModule.cs index 1ea44a79b4..fe5d952515 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.Domain/MyCompanyName/MyProjectName/MyProjectNameDomainModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.Domain/MyCompanyName/MyProjectName/MyProjectNameDomainModule.cs @@ -28,8 +28,6 @@ namespace MyCompanyName.MyProjectName { options.MapCodeNamespace("MyProjectName", typeof(MyProjectNameResource)); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.EntityFrameworkCore/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs b/templates/module/src/MyCompanyName.MyProjectName.EntityFrameworkCore/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs index e98bed021e..a79dd328e3 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.EntityFrameworkCore/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.EntityFrameworkCore/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs @@ -18,8 +18,6 @@ namespace MyCompanyName.MyProjectName.EntityFrameworkCore * options.AddRepository(); */ }); - - context.Services.AddAssemblyOf(); } } } \ No newline at end of file diff --git a/templates/module/src/MyCompanyName.MyProjectName.HttpApi.Client/MyCompanyName/MyProjectName/MyProjectNameHttpApiClientModule.cs b/templates/module/src/MyCompanyName.MyProjectName.HttpApi.Client/MyCompanyName/MyProjectName/MyProjectNameHttpApiClientModule.cs index b7001e6d4f..bad5fd9e60 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.HttpApi.Client/MyCompanyName/MyProjectName/MyProjectNameHttpApiClientModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.HttpApi.Client/MyCompanyName/MyProjectName/MyProjectNameHttpApiClientModule.cs @@ -17,8 +17,6 @@ namespace MyCompanyName.MyProjectName typeof(MyProjectNameApplicationContractsModule).Assembly, RemoteServiceName ); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.HttpApi/MyCompanyName/MyProjectName/MyProjectNameHttpApiModule.cs b/templates/module/src/MyCompanyName.MyProjectName.HttpApi/MyCompanyName/MyProjectName/MyProjectNameHttpApiModule.cs index 07e1ddb4a6..3c993bc8a6 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.HttpApi/MyCompanyName/MyProjectName/MyProjectNameHttpApiModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.HttpApi/MyCompanyName/MyProjectName/MyProjectNameHttpApiModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AspNetCore.Mvc; +using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.Modularity; namespace MyCompanyName.MyProjectName @@ -9,9 +8,6 @@ namespace MyCompanyName.MyProjectName typeof(AbpAspNetCoreMvcModule))] public class MyProjectNameHttpApiModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.MongoDB/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbModule.cs b/templates/module/src/MyCompanyName.MyProjectName.MongoDB/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbModule.cs index c3cbf31fee..b3e21b43da 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.MongoDB/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.MongoDB/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbModule.cs @@ -20,8 +20,6 @@ namespace MyCompanyName.MyProjectName.MongoDB * options.AddRepository(); */ }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs b/templates/module/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs index d76a877419..d053284504 100644 --- a/templates/module/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs +++ b/templates/module/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs @@ -57,8 +57,6 @@ namespace MyCompanyName.MyProjectName { //Configure authorization. }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/module/test/MyCompanyName.MyProjectName.Application.Tests/MyCompanyName/MyProjectName/MyProjectNameApplicationTestModule.cs b/templates/module/test/MyCompanyName.MyProjectName.Application.Tests/MyCompanyName/MyProjectName/MyProjectNameApplicationTestModule.cs index 159b7fdb81..ec2398f098 100644 --- a/templates/module/test/MyCompanyName.MyProjectName.Application.Tests/MyCompanyName/MyProjectName/MyProjectNameApplicationTestModule.cs +++ b/templates/module/test/MyCompanyName.MyProjectName.Application.Tests/MyCompanyName/MyProjectName/MyProjectNameApplicationTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.Modularity; +using Volo.Abp.Modularity; namespace MyCompanyName.MyProjectName { @@ -9,9 +8,6 @@ namespace MyCompanyName.MyProjectName )] public class MyProjectNameApplicationTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/templates/module/test/MyCompanyName.MyProjectName.Domain.Tests/MyCompanyName/MyProjectName/MyProjectNameDomainTestModule.cs b/templates/module/test/MyCompanyName.MyProjectName.Domain.Tests/MyCompanyName/MyProjectName/MyProjectNameDomainTestModule.cs index 7bc9acc728..027e63b867 100644 --- a/templates/module/test/MyCompanyName.MyProjectName.Domain.Tests/MyCompanyName/MyProjectName/MyProjectNameDomainTestModule.cs +++ b/templates/module/test/MyCompanyName.MyProjectName.Domain.Tests/MyCompanyName/MyProjectName/MyProjectNameDomainTestModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using MyCompanyName.MyProjectName.EntityFrameworkCore; +using MyCompanyName.MyProjectName.EntityFrameworkCore; using Volo.Abp.Modularity; namespace MyCompanyName.MyProjectName @@ -9,9 +8,6 @@ namespace MyCompanyName.MyProjectName )] public class MyProjectNameDomainTestModule : AbpModule { - public override void ConfigureServices(ServiceConfigurationContext context) - { - context.Services.AddAssemblyOf(); - } + } } diff --git a/templates/module/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs b/templates/module/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs index d2b32abc6c..8ae09ec66c 100644 --- a/templates/module/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs +++ b/templates/module/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/MyCompanyName/MyProjectName/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs @@ -25,8 +25,6 @@ namespace MyCompanyName.MyProjectName.EntityFrameworkCore abpDbContextConfigurationContext.DbContextOptions.UseSqlite(sqliteConnection); }); }); - - context.Services.AddAssemblyOf(); } private static SqliteConnection CreateDatabaseAndGetConnection() diff --git a/templates/module/test/MyCompanyName.MyProjectName.MongoDB.Tests/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbTestModule.cs b/templates/module/test/MyCompanyName.MyProjectName.MongoDB.Tests/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbTestModule.cs index 6b8a1304e2..083d2bbe64 100644 --- a/templates/module/test/MyCompanyName.MyProjectName.MongoDB.Tests/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbTestModule.cs +++ b/templates/module/test/MyCompanyName.MyProjectName.MongoDB.Tests/MyCompanyName/MyProjectName/MongoDB/MyProjectNameMongoDbTestModule.cs @@ -22,8 +22,6 @@ namespace MyCompanyName.MyProjectName.MongoDB { options.ConnectionStrings.Default = _mongoDbRunner.ConnectionString; }); - - context.Services.AddAssemblyOf(); } public override void OnApplicationShutdown(ApplicationShutdownContext context) diff --git a/templates/module/test/MyCompanyName.MyProjectName.TestBase/MyCompanyName/MyProjectName/MyProjectNameTestBaseModule.cs b/templates/module/test/MyCompanyName.MyProjectName.TestBase/MyCompanyName/MyProjectName/MyProjectNameTestBaseModule.cs index 5c9083ace4..e3e078f09a 100644 --- a/templates/module/test/MyCompanyName.MyProjectName.TestBase/MyCompanyName/MyProjectName/MyProjectNameTestBaseModule.cs +++ b/templates/module/test/MyCompanyName.MyProjectName.TestBase/MyCompanyName/MyProjectName/MyProjectNameTestBaseModule.cs @@ -17,8 +17,6 @@ namespace MyCompanyName.MyProjectName public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAlwaysAllowPermissionChecker(); - - context.Services.AddAssemblyOf(); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/templates/mvc/src/MyCompanyName.MyProjectName.Application/MyProjectNameApplicationModule.cs b/templates/mvc/src/MyCompanyName.MyProjectName.Application/MyProjectNameApplicationModule.cs index 83360a1773..3f84f66302 100644 --- a/templates/mvc/src/MyCompanyName.MyProjectName.Application/MyProjectNameApplicationModule.cs +++ b/templates/mvc/src/MyCompanyName.MyProjectName.Application/MyProjectNameApplicationModule.cs @@ -23,8 +23,6 @@ namespace MyCompanyName.MyProjectName { options.AddProfile(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/mvc/src/MyCompanyName.MyProjectName.Domain/MyProjectNameDomainModule.cs b/templates/mvc/src/MyCompanyName.MyProjectName.Domain/MyProjectNameDomainModule.cs index 353ef75c1c..66e52bc2bb 100644 --- a/templates/mvc/src/MyCompanyName.MyProjectName.Domain/MyProjectNameDomainModule.cs +++ b/templates/mvc/src/MyCompanyName.MyProjectName.Domain/MyProjectNameDomainModule.cs @@ -35,8 +35,6 @@ namespace MyCompanyName.MyProjectName { options.DefinitionProviders.Add(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/mvc/src/MyCompanyName.MyProjectName.EntityFrameworkCore/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs b/templates/mvc/src/MyCompanyName.MyProjectName.EntityFrameworkCore/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs index 9997e26481..fce5a52ed8 100644 --- a/templates/mvc/src/MyCompanyName.MyProjectName.EntityFrameworkCore/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs +++ b/templates/mvc/src/MyCompanyName.MyProjectName.EntityFrameworkCore/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreModule.cs @@ -22,8 +22,6 @@ namespace MyCompanyName.MyProjectName.EntityFrameworkCore //Remove "includeAllEntities: true" to create default repositories only for aggregate roots options.AddDefaultRepositories(includeAllEntities: true); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/mvc/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MyProjectNameMongoDbModule.cs b/templates/mvc/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MyProjectNameMongoDbModule.cs index 22de6c816b..fd8e952f15 100644 --- a/templates/mvc/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MyProjectNameMongoDbModule.cs +++ b/templates/mvc/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MyProjectNameMongoDbModule.cs @@ -19,8 +19,6 @@ namespace MyCompanyName.MyProjectName.MongoDb { options.AddDefaultRepositories(); }); - - context.Services.AddAssemblyOf(); } } } diff --git a/templates/mvc/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs b/templates/mvc/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs index 21f1a0aaa7..e7f95c6d78 100644 --- a/templates/mvc/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs +++ b/templates/mvc/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs @@ -71,8 +71,6 @@ namespace MyCompanyName.MyProjectName ConfigureNavigationServices(context.Services); ConfigureAutoApiControllers(context.Services); ConfigureSwaggerServices(context.Services); - - context.Services.AddAssemblyOf(); } private static void ConfigureDatabaseServices(IServiceCollection services, IConfigurationRoot configuration) diff --git a/templates/mvc/test/MyCompanyName.MyProjectName.Application.Tests/MyProjectNameApplicationTestModule.cs b/templates/mvc/test/MyCompanyName.MyProjectName.Application.Tests/MyProjectNameApplicationTestModule.cs index d940e8214f..145710c15b 100644 --- a/templates/mvc/test/MyCompanyName.MyProjectName.Application.Tests/MyProjectNameApplicationTestModule.cs +++ b/templates/mvc/test/MyCompanyName.MyProjectName.Application.Tests/MyProjectNameApplicationTestModule.cs @@ -26,8 +26,6 @@ namespace MyCompanyName.MyProjectName context.Services.AddAlwaysAllowAuthorization(); ConfigureInMemorySqlite(context.Services); - - context.Services.AddAssemblyOf(); } private void ConfigureInMemorySqlite(IServiceCollection services) diff --git a/templates/mvc/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestModule.cs b/templates/mvc/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestModule.cs index 73cf6ec2cf..252a65b65f 100644 --- a/templates/mvc/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestModule.cs +++ b/templates/mvc/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestModule.cs @@ -44,8 +44,6 @@ namespace MyCompanyName.MyProjectName { ConfigureLocalizationServices(context.Services); ConfigureNavigationServices(context.Services); - - context.Services.AddAssemblyOf(); } private static void ConfigureLocalizationServices(IServiceCollection services) From c349ac2d0e7aa1ccec9aaabe2b2fa054086b7d0d Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 19:14:34 +0300 Subject: [PATCH 22/22] Remove AddAssemblyOf from docs --- docs/Best-Practices/Entity-Framework-Core-Integration.md | 2 -- docs/Best-Practices/MongoDB-Integration.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/docs/Best-Practices/Entity-Framework-Core-Integration.md b/docs/Best-Practices/Entity-Framework-Core-Integration.md index 0dd6bb63fc..f150bd6f66 100644 --- a/docs/Best-Practices/Entity-Framework-Core-Integration.md +++ b/docs/Best-Practices/Entity-Framework-Core-Integration.md @@ -203,8 +203,6 @@ public class AbpIdentityEntityFrameworkCoreModule : AbpModule options.AddRepository(); options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } ```` diff --git a/docs/Best-Practices/MongoDB-Integration.md b/docs/Best-Practices/MongoDB-Integration.md index 25b8c9aee3..32eefadd6a 100644 --- a/docs/Best-Practices/MongoDB-Integration.md +++ b/docs/Best-Practices/MongoDB-Integration.md @@ -194,8 +194,6 @@ public class AbpIdentityMongoDbModule : AbpModule options.AddRepository(); options.AddRepository(); }); - - context.Services.AddAssemblyOf(); } } ```