Starts in:
2 DAYS
15 HRS
20 MIN
8 SEC
Starts in:
2 D
15 H
20 M
8 S

Activities of "QuantaVN"

Answer

ABP Framework version: v4.3.0
UI type: Angular
DB provider: EF Core

Problem : wrong generate localization

@arifharsono that issue will be fixed in 4.3.1

@alper: I think it's better if we can modify the template files. BTW, when will the 4.3.1 release?

Thank @armanozak, related to the Permission, I think it's better if ABP Suite can group permissions by Namespace:

Moreover, I found another issue ralated to ABP Suite: Inconsistent API endpoint generation rule between Server and Client (Angular). In [Acme.HttpApi], the route is using '%%entity-name-camelcase%%':

    [RemoteService]
    [Area("app")]
    [ControllerName("MyEntity")]
    [Route("api/app/myEntity")]     // THIS LINE
    public class MyEntityController : AbpController, IPaymentMethodAppService
    {
    ...
    }

In [my-entity.service.ts], the url is using '<%= kebab(name) %>':

  create = (input: MyEntityCreateDto) =>
    this.restService.request<any, MyEntityDto>({
      method: 'POST',
      url: '/api/app/my-entity',    // THIS LINE
      body: input,
    },
    { apiName: this.apiName })

I think we should use '<%= kebab(namePlural) %>' for the enpoints, similar to other existing enpoints:

  • ApiResources: /api/identity-server/api-resources
  • AuditLogs: ​/api​/audit-logging​/audit-logs

Generated solution using ABP CLI command: abp new Acme.BookStore -t app-pro -d ef -u angular -m react-native -csf Then using ABP Suite v3.1.0.0 to generate CRUD page.

It worked as usual when keeping the default Namespace: But it did not work if using another Namespace: The Books menu is missing: If we type in the address bar: http://localhost:4200/books we got 403 error:

In our AspNetZero project, we are using Namespace to ogranize business sectors. We are trying to migrate to ABP, hope this feature should work as in AspNetZero.

Showing 1 to 3 of 3 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06