Activities of "nlachmuthDev"

Hi,

let me first ask if i got your question right:

You want to call an api of an abp application form an azure function right?

If so, is your azure function written in C#? Because you could use the HttpApi.Client Project to make api calls to your abp project.

In your abp solution there is even a HttpApi.Client.ConsoleTestApp Project that shows how to use the http api client.

To get an auth token you just need to configure the IdentityClient in the appsettings. Then the api client will automaticly get an access token before sending requests to the api.

Kind regards

Hi,

i refunded the ticket for you.

Kind regards Nico

Hi,

this issue was already reported and is fixed in 7.2.3: https://github.com/abpframework/abp/issues/16687

I´ll refund the question for you.

Kind regards Nico

Hi there,

You can also use the ThemeManager to set the required Theme:

@inject IThemeManager ThemeManager
@{
    Layout = ThemeManager.CurrentTheme.GetApplicationLayout();
    //Or account layout
    //Layout = ThemeManager.CurrentTheme.GetAccountLayout();
}

But as you found out setting the string to the Theme fully qualified inside your pages works too.

Kind regards

how did you disable it?

you need to disable the nullable feature for your application.contracts project or make the string props nullable.

Sure.

Here is the whole documentation for the static js proxies: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Static-JavaScript-Proxies

so updating would be something like abp generate-proxy -t js -u <yoururl>

this will generate the js file for the proxies. there should be already another file in your target project. that needs to be overriden by the new file.

if you use dynamic proxies please let me now. then most properly the app service is not added as auto controller in your target project and so that would explain why the app service is missing in js.

Did you update the client proxy js in the target project? Seems to me that the application you copied to does not have the js client for that particular app service.

Hi,

i assume you use Asp.Net Core MVC as frontend right? It could be that the namespace is not ready to the exact moment when you try to access it in the js file.

Would you mind sharing the index.js file so i can have a look?

Kind Regards Nico

As is see it from the logs there is a really strang behavior when the deletion endpoints get called:

  1. The deletion fails due to missing Antiforgery headers
  2. The application whould return a HttpStatus Code 400 (BadRequest)
  3. After that i see in the logs that the request is finished and the status code is changed to a redirection (302) to the error page, sadly no logs state why this redirect ist done. The api should not redirect to some error pages on errors.

Can you reproduce this behavior in debug mode? If so you can send me the project so i can deep dive into the project and look whats causing this.

E-Mail: kontakt@chrobyte.de

Showing 21 to 30 of 60 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30