Activities of "improwise"

Answer

ABP Framework version: v4.4.4 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

After upgrading to ABP 4.4.4 we can no longer create working projects in ABP Suite (have no tried other methods). The DBMigrator runs fine on a newly created project (default options, .net 5, no preview) but at runtime we get

[17:46:09 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement

[17:46:10 WRN] Unhandled exception rendering component: Undefined permission: Audit Volo.Abp.AbpException: Undefined permission: Audit

and in the browser:

blazor.server.js?_v=637706942980000000:21 [2021-11-10T16:46:09.985Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

We have also since last time we tried using ABP Suite upgraded from VS2022 Preview to Current, but I don't think that is the cause of the problem here. Could possibly be related to .net updates also.

  • ABP Framework version: v4.3.X
  • UI type: MVC / Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Where can I find a proper guide on how to debug the ABP Framework? For sake of argument, let's say that we are following the Blazer Server tutorial at https://docs.abp.io/en/abp/latest/Tutorials/Part-1?UI=BlazorServer&DB=EF and would like to debug for example the call to CreateEntityAsync?

Are we supposed to replace the packages with source code? If so, how is it supposed to be done in a effective way, I can't see any options in ABP Suite for it, just that some modules can be installed as source code rather than modules?

A general guide "How do debug your ABP application" would be nice.

Thanks.

Answer

When trying to create a new solution using ABP Suite we get:

Error occured while getting the latest version from https://abp.io/api/download/template/get-version/ : Remote server returns '500-Internal Server Error'. Message: An internal error occurred during your request! [12:56:10 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

Creating a new solution with same setup via abp.io (Community) seem to work.

Answer

ABP Framework version: v4.4.2 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

Exception message and stack trace: The project name is invalid! Please specify a different name. Volo.Abp.Cli.CliUsageException: The project name is invalid! Please specify a different name.

Steps to reproduce the issue:

It seems like it is impossible to create a new project/SLN in ABP Suite that contains/ends with "Blazor", like "TestProjectBlazor". Generating the project online with the same name and then open it in ABP Suite seem to work though. No problem creating something like "TestProjectAngular".

  • at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 66 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SolutionService.CreateSolutionAsync(CreateSolutionModel input) at lambda_method2438(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

Had a quick look and it seems like there are few resons not to use the ABP Suite instead assuming you have access to it of course.

Question

I am trying to understand the practical differences between using ABPHelper(GUI) and ABPSuite? Both seem to do basically the same thing and both also seem to be in active maintanance. What advantages/disadvantages does each of them have over the other? Thanks.

Hi,

Redis is the most popular cache server. It has undergone a lot of tests and has extremely high performance and stability. so this is why we choose to redis.

Memurai seems good, you can also try to use it, the code does not need any changes, because it is fully compatible with redis

Thank you.

Hi,

To improve performance, we cache permissions and settings etc, so we need distributed caching to keep public and back-end website data consistent.

Thanks, but that isn't really an answer to why the choice was made to go with Redis in particular, just why caching in general is a good thing.

Related question, should we consider using something like Memurai instead which seems to run natively on Windows?

https://www.memurai.com/

I should perhaps add that we have been able to install and configur Redis on a development machine and it seem to be working so this is more a question of WHY than HOW.

For anyone reading this interested in the HOW:

https://developer.redis.com/create/windows/ https://redis.com/blog/redis-on-windows-10/

Thanks.

Showing 71 to 80 of 81 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11