Starts in:
1 DAY
19 HRS
53 MIN
43 SEC
Starts in:
1 D
19 H
53 M
43 S

Activities of "pontus"

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

Using the latest CLI:

abp new Abc.Bookstore -t module -ui angular

I've run the migrations and the identity and host service starts up fine.

I've commented out the redis configuration and removed the DependsOn[typeof(AbpCachingStackExchangeRedisModule))] since we do not want to use Redis.

The angular project is working fine and running the dev-app.

The start-up generated component and the start-up generated service is working fine, I'm able to call the backend.

However if i try run the generate-proxy command, get an error, and it complains that the backend module 'app' does not exists in the API definition. This is fine since i can add the -a command and point to the Bookstore api-address and generate my proxys.

But!

The generated service file gets generated with the apiName = 'Default' which screws things up.

If i change it to apiName = 'Bookstore' things work.

I think it's as simple as changing the generated code to match the value given for the -a flag.

Hi,

https://github.com/PontusLjungdahl/abpbook2

Please remove the repo on Github, because the source code has your linence key, it's not safe for you.

Thank you, it's removed.

Thank you.

https://github.com/PontusLjungdahl/abpbook2

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue: Created brand new solution with the abp cli. Created a book entity and a db set. Created the migration and and added an app service.

(The BookStoreAppService inherits from AppService).

When i try this from swagger i get the 500 response as expected, however the book is still saved to the database.

Is there something obvoius that I'm missing? Somehow it seems to serious to have been overlooked :)

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