0
hitaspdotnet created
Is it possible?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
6 Answer(s)
-
0
and add Cms-Kit to your new service.
This is my question! How? In my scenario I need cms features for our clients as remote service and should avaible for tenant admin to manage it. What about UI for public and admin web.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
any answer?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Just like
SaasServiceyou can create a
CmsServiceproject and intall nuget packages:Volo.CmsKit.Pro.Admin.Application.ContractsVolo.CmsKit.Pro.Admin.ApplicationVolo.CmsKit.Pro.Admin.HttpApiVolo.CmsKit.Pro.Admin.HttpApi.ClientVolo.CmsKit.Pro.ApplicationVolo.CmsKit.Pro.Application.ContractsVolo.CmsKit.Pro.DomainVolo.CmsKit.Pro.Domain.SharedVolo.CmsKit.Pro.EntityFrameworkCoreVolo.CmsKit.Pro.HttpApiVolo.CmsKit.Pro.HttpApi.ClientVolo.CmsKit.Pro.Public.ApplicationVolo.CmsKit.Pro.Public.Application.ContractsVolo.CmsKit.Pro.Public.HttpApiVolo.CmsKit.Pro.Public.HttpApi.Client
For UI, Add the following packages:
Volo.CmsKit.Pro.Public.WebtoPublicWeb,Volo.CmsKit.Pro.Admin.WebtoWeb.Update gateways and
appsettings.jsonOpen
IdentityServerDataSeederto addCmsServiceapiResource and apiScope.Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Service's api and gateways works fine but the public site and dashboard has DI error
2021-08-07 14:09:55.305 +04:30 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": { "ActivatorChain": "Volo.CmsKit.Admin.Pages.PageAdminController" }, "validationErrors": null } 2021-08-07 14:09:55.305 +04:30 [ERR] An exception was thrown while activating Volo.CmsKit.Admin.Pages.PageAdminController. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.CmsKit.Admin.Pages.PageAdminController. ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Volo.CmsKit.Admin.Pages.PageAdminController' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.CmsKit.Admin.Pages.IPageAdminAppService pageAdminAppService' of constructor 'Void .ctor(Volo.CmsKit.Admin.Pages.IPageAdminAppService)'. at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext) at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2021-08-07 14:09:55.306 +04:30 [ERR] ---------- Exception Data ---------- ActivatorChain = Volo.CmsKit.Admin.Pages.PageAdminControllerMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
My bad, missed
CmsServiceHttpApiClientModuleDependsOn for web modulesMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
