Activities of "rcalv002"

Fix for this was to add the snippet below in main app blazor module

Configure<AbpAspNetCoreContentOptions>(options =>
 {
     options.ContentTypeMaps.Add(".mjs", "application/javascript");
 });

The above lets the system load the purify and marked modules we copied into /ai-libs

And update the path of module imports in razor components in your submodule

protected override async Task OnAfterRenderAsync(bool firstRender)
{
    if (firstRender)
    {
        try
        {
            var module = await JS.InvokeAsync<IJSObjectReference>("import", "/_content/yourmodule/Components/Chat/ChatInput.razor.js");
            await module.InvokeVoidAsync("init", textArea);
            await module.DisposeAsync();
        }
        catch (JSDisconnectedException)
        {
        }
    }
}

It was missing the / before _content

The bot response did not help.

We looked at https://abp.io/community/articles/integrating-.net-ai-chat-template-with-abp-framework-qavb5p2j#gsc.tab=0 to integrate the microsoft ai chat template to our module based app.

Almost everything is working fine, even though the new version differs from the community article at this point. however, there are some ai-libs that should be served, that we can't get right. The page using the ai template is in one of our submodules, not the main "app". when the js function attempts to loading the assistant-message markdown, those libs are not found and so the response is just plain text with no markdown formatting or sanitation

[21:36:14 WRN] The static asset '/ai-libs/dompurify/dist/purify.es.mjs' was not found in the built time manifest. This file will not be available at runtime if it is not available at compile time during the publish process. If the file was not added to the project during development, and is created at runtime, use the StaticFiles middleware to serve it instead. [21:36:14 INF] Executed endpoint 'Fallback {**path:file}' [21:36:14 INF] Request finished HTTP/2 GET https://localhost:44320/ai-libs/dompurify/dist/purify.es.mjs - 404 0 null 8.9684ms [21:36:14 INF] Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://localhost:44320/ai-libs/dompurify/dist/purify.es.mjs, Response status code: 404

Shared project with you, thanks

  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Upgrade from 9.1.2 to 9.3.1, upgrade abp and dotnet packages to relevant versions, run migrations.

Existing solution had app depending on a module, the localization entries from the module are not working but the localization entries from ABP in the submodule and the app module are working.

For example, default + new manual localization entries in app, show on page. default localization entries in submodule (from abp dependencies) show on page. new manual localization entries in submodule do not show on page (menu labels, item labels, page labels etc)

Confirmed also not appearing on the api call that retrieves all the localization entries.

Support, please support.

Hello, Can we get this support ticket that's been open for 3 weeks transferred to another support rep?

This ticket has been open over 2 weeks, we would appreciate some feedback

Hello. Your feedback please

Hello, your feedback please.

Showing 1 to 10 of 98 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 16, 2025, 10:35