Activities of "VMPProgramador"

Hi,

Thank you for the detailed answers, and for including both changes in ABP 11.0. We will use the workarounds until we upgrade, and remove them afterwards. We will also try your suggestion to make resource-collection.js smaller.

Since two of the points we reported led to changes in ABP itself, could you let us know if this question qualifies for a credit refund?

Thanks

Hi,

Thanks for checking.

The Dashboards module is still in development, so we removed it from the public URL for now, so that it doesn’t get in the way of these tests.

I would like to come back to two steps from my first table. They don’t depend on Dashboards, and you can test both on the public URL.

generate-proxy.json files

On every F5, the WebAssembly client reads and deserializes all the *generate-proxy.json files of our application (the API descriptions used by the static proxies), even though the first proxy call needs only one of them. This happens in the constructor of ClientProxyApiDescriptionFinder, takes about 0.8 s in a Release build, and the first request waits for it.

On a server this cost is paid only once, but in WebAssembly it is paid again on every F5. Is there a reason to read all the files up front, instead of lazy-loading them, reading each one only when a proxy of that module is first used?

resource-collection.js

On every F5, before the first page renders, the WebAssembly client loads resource-collection.js and builds a lookup of all static files of the application (over 15,000 entries). On the public URL this takes about 0.5 s, and the first page waits for it.

As far as we can tell, only @Assets, ImportMap and ResourcePreloader use this lookup. Our client uses none of them, and neither do the ABP and LeptonX packages.

Is there a supported way to skip this lookup in the WebAssembly client, or to make it smaller?

Together with the localization workaround you already gave us, solving these two points would remove a good part of the startup time on every F5, and bring it to an acceptable level for our users.

Hi,

Sorry for the delayed reply.

The access details for the test environment (URL and test user credentials) have been sent by email.

Please let us know if you run into any issues accessing it.

Thank you

In our Blazor Web App (InteractiveAuto), the WebAssembly client takes about 7 seconds after each F5 before the application can be used, even with the browser cache already filled. Almost all of this time is spent in the browser, not waiting for the server. We measured the startup and split it into the steps below.

| Step | Time | |---|---| | Module localization texts (20 to 29 languages per module) | ~2.0 s | | Module registration and Autofac container | ~1.3 s | | Static asset list sent to the client (resource-collection.js) | ~1.2 s | | API descriptions of the static proxies (generate-proxy.json) | ~0.9 s | | Layout, menu, toolbar and first page | ~0.9 s | | Application configuration and localization requests | ~0.7 s | | Total | ~7.1 s |

Taking as an example the step with the largest weight in the table above, the module localization texts (~2.0 s): when a module's texts are used for the first time, the WebAssembly client loads the files of every language that module ships, which is between 20 and 29 languages per ABP module. Because each F5 restarts the client, this repeats on every F5.

Our application has only two languages configured, pt-PT and en. As we understand it, the only other languages ABP needs are the fallback cultures used to resolve a text: the parent culture (pt) and the default culture of each resource. Since switching language reloads the page, the remaining languages appear to be loaded but never used.

  • Why does the client need to load all languages of each module, instead of only the languages configured in the application?
  • If there is no specific need, could the client load only the configured languages and their fallback cultures? Or is there already a supported way to do this?

Thank you.

Hi,

Thank you for the feedback and for considering this suggestion.

I was also wondering if there is a preferred way to share ideas and suggestions for potential improvements to the framework, particularly as we'd like to make the best use of our available support tickets while still being able to contribute ideas that could benefit the platform.

Thank you.

Currently, the Chat module displays an avatar with the user's initials (first and last name) in both the contact list and the conversation header.

Since Account Pro already allows users to upload a profile picture, it would be useful if the Chat module could use these images for avatars, providing a more consistent experience across the application.

Suggestion

  • Display the user's profile picture in the contact list and conversation header, when available.
  • Keep the user's initials as a fallback for users who have not set a profile picture.
  • Optionally, provide a configuration setting to enable or disable this functionality.

Currently, implementing this behaviour requires replacing the entire Chat page, making it difficult to keep up with future updates to the module. Supporting this functionality directly within the Chat module would allow for this customization while preserving compatibility with future updates.

In SaaS → Tenants → Actions → Connection strings, clicking Test next to the default connection string shows the error 415 Unsupported Media Type, even when the connection string is valid.

The problem happens when the application is running in WebAssembly mode, but not in server mode.

Steps to reproduce

1. Server mode —> works

  1. Open a private window and sign in to the application.
  2. Go to SaaS → Tenants → Actions → Connection strings.
  3. Uncheck Use the shared database and fill in a valid connection string.
  4. Click Test.
  5. Confirm that the test runs successfully.

2. WebAssembly mode —> fails

  1. In the same window, reload the page with F5.
  2. Repeat the test with the same connection string.
  3. Confirm that the error 415 Unsupported Media Type is shown.

When the LeptonX style is set to System and the operating system is in dark mode, part of the application is shown in light mode.

The LeptonX parts of the layout (side menu, page background, cards) are correctly shown in dark mode, but the MudBlazor components stay light: data grid rows (for example, on the Users and Tenants pages), lists and some content areas have a white background, which makes them hard to read.

It happens mostly when the page is loaded in server mode (first visit or full page reload).

Steps to reproduce

  1. Set DefaultStyle = LeptonXStyleNames.System in the LeptonX options.
  2. Set the operating system to dark mode.
  3. Open the application in a private window, or in a browser with no cache, and go to Administration → Identity management → Users.
  4. Result: the menu and the page are dark, but the MudBlazor components (grid rows, lists and other content areas) are shown in light mode.

Could a member of the support team please review this ticket?

When a user is created through the admin UI with Send confirmation email enabled, the user is created successfully, but no confirmation email is sent.

However, clicking Verify on the "Confirm user" page sends the email successfully.

Error

When processing the user-created event through RabbitMQ, AccountIdentityUserCreatedEventHandler fails while generating the confirmation token, with the following exception:

A DbContext can only be created inside a unit of work!
   at Volo.Abp.Identity.AbpSingleActiveTokenProvider.GenerateAsync(...)
   at Volo.Abp.Account.Emailing.AccountIdentityUserCreatedEventHandler.HandleEventAsync(...)

The exception occurs before the email is sent, so no confirmation email is generated. RabbitMQ repeatedly retries the failed message.

Change tested

In a test environment, the AccountIdentityUserCreatedEventHandler.cs file in the Volo.Abp.Account.Pro.Public.Application project was modified as follows:

Before:

public async Task HandleEventAsync(IdentityUserCreatedEto eventData)

After:

[UnitOfWork]
public virtual async Task HandleEventAsync(IdentityUserCreatedEto eventData)

The following namespace must also be added:

using Volo.Abp.Uow;

No other changes were made to the method.

After this change, the confirmation email was sent successfully, and the unit of work errors no longer appeared in the logs.

Sources

Showing 1 to 10 of 15 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v11.1.0-preview. Updated on November 27, 2026, 13:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.