Activities of "DowletCsharp"

Answer

Our projects created in Abp Studio. And this problem appeared in production. We use Blazor WASM for our projects. All projects created via Abp Studio with BlazorWASM has this error in production. Our projects are aimed to work in local network without internet.

Answer

We use .net 10with Abp 10.1.10. When app online it works correctly. Even we don't have warnings like bootstrap.bundle.min.js.map loads. But in offline we see the errors above when loading and with such errors we cannot complete authorization. After authorization we see this page: we see

Is there any way to load only offline?

Answer

It worked, thanks!

Answer

I intercepted the request as you showed

app.Use(async (httpContext, next) =>
{
    var path = httpContext.Request.Path.Value;
    if (path != null && path.EndsWith("/font-bundle.css", StringComparison.OrdinalIgnoreCase))
    {
        httpContext.Request.Path = "/fonts/my-fonts.css";
    }
    await next();
});

but judging by what I see in DevTools (if I'm not mistaken), the request is still going there.

Answer

Here's our project structure:

The wwwroot folder is located in BlazorClient:

I used main.css and local fonts worked. Now I created my-fonts.css and use it for local fonts, but now they stopped working despite the fact that I added them in

C#
public class FederationStyleBundleContributor : BundleContributor
{
    public override void ConfigureBundle(BundleConfigurationContext context)
    {
        context.Files.Add(new BundleFile("/fonts/my-fonts", true));
        context.Files.Add(new BundleFile("main.css", true));
    }
}

which is located in the Federation.Blazor.

Answer

Hi, we're using LeptonX, not LeptonX Lite. Is this solution also compatible with LeptonX?

Answer

Thank you!

Answer

I have looked at that PR, and don't think that will fix the Navigation issue. As you can see here: https://github.com/abpframework/abp/blob/6ad1b86220d39fd0159e5840985098cb1301fa73/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml#L34

        <h1>@L["Projects"]</h1>
        <p>
            <ul style="list-style-type: upper-roman;">
                @foreach (var project in Model.Projects)
                {
                    <li>
                        <h3>
                            <a href="@(Model.DocumentsUrlPrefix + project.ShortName)">
                                @project.Name
                            </a>
                        </h3>
                    </li>
                }
            </ul>
        </p>

Projects should naviagte to /Documents/Project but actually it navigates to /Project

The issue is with Model.DocumentsUrlPrefix, as it is not being set Adding following line in this file should fix the problem: https://github.com/abpframework/abp/blob/6ad1b86220d39fd0159e5840985098cb1301fa73/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml.cs#L28

        public virtual async Task<IActionResult> OnGetAsync()
        {
            DocumentsUrlPrefix = _uiOptions.RoutePrefix;      // Add this line   

            if (_uiOptions.SingleProjectMode.Enable)
            {
                return Redirect($"/Documents/Project/Index?version={DocsAppConsts.Latest}");
            }
            
            ...
        }
Answer

I looked at the Docs code of the module https://github.com/abpframework/abp/blob/dev/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml.cs There in DocumentsUrlPrefix { get; set; } the value is not set anywhere.

Answer

Hi, our project is multi project. My problem is only with navigation. The root path of Documents module is: host/documents. When I go to the Management documentation the navigation should be: host/documents/en/management/index, but when I click to the Management, navigation is: host/management. When I manually type host/documents/en/management/index Management documentation is opens. Thank you!

Showing 1 to 10 of 10 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 v10.8.0-preview. Updated on October 21, 2026, 11:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.