Hi !
You didn´t understand what I´m requesting in this issue. We need to keep using the CSS files, they were referenced in this "demo app" only to allow you easily run something and help us to reference them correctly. I´m pasting here below what I sent you on March 3rd., so please help us to reference the 2 files correctly on the solution to avoid the error.
The home page loads the CSS files but with error on the path.
We are using custom CSS files called user.css and bootstrap-user.css
These 2 files are part of our application and need to be referenced correctly. /css/user.css /css/bootstrap-user.css
Can you adjust the Sample application we send you containing the 2 CSS files so they can be referenced and loaded correctly?
[maliming] said: hi This seems a bit complicated. Could you try to reproduce the same problem in a new template project? Thanks.
Hi. I reproduced the error in new solution sent to you through Github repo named StandardApp.
Thanks.
Hi!
OK. I will.reproduce on a clean solution an share it with you on GitHub and let you know.
Hi! Thanks for your return. I think something is missing on your end, my bad skipped to instruct you in advance.



Launch the 3 servers using AbpStudio (remember to start Docker also)

The development environment resolve the names pointing to a localhost 127.0.0.1 made by our DNS Server BUT need be called as below: The URLs are: a) AuthServer https://auth-dev.pipali.com.br
b) HttpHost.Api https://api-dev.pipali.com.br
c) Blazor https://dev.pipali.com.br
Hi!
I shared as a repo in Github. You might find a Github invite to see the source code.
Hi! I sent you the source code to your email address. Let me know if you received it.
Hello,
I have made the requested change according to the feedback below:
Despite this change, the behavior of the application hosted on Azure App Service remains the same.
We created the bootstrap-user.css and user.css files to apply custom styling to the Bootstrap and Lepton-X components. After a successful WebSocket connection, the styling works as expected in both remote production and local development environment.
However, the Blazor Server application continues to request both CSS files from incorrect paths, which triggers a redirection to the error page and results in an HTTP 302 status code.
Incorrect paths generated by the Blazor request:
https://qlt.pipali.com.br/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/top-menu/css/bootstrap-user.csshttps://qlt.pipali.com.br/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/top-menu/css/user.cssExpected paths from where the files should be successfully accessible via the browser:
https://qlt.pipali.com.br/css/bootstrap-user.csshttps://qlt.pipali.com.br/css/user.cssThe only single reference to the files exists in BlazorModule.cs located at the project "src\Blazor".

Can you help me to fix the paths for these two CSS files to resolve the error currently visible in the DevTools (_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/top-menu/css/user.css)?
[maliming] said: hi
There is no CSS problem in the browser. You should enable the Web sockets feature on your Azure platform.
Hi, The WebSockets option is enabled, but the application is still hanging after being published. On the development machine it runs normally, so the issue seems to occur only in the deployed environment.
The errors appear immediately after login. At this point, the application should load the graphical elements (wizard with styled cards), but the CSS files are not being found and the UI fails to render.
Could you please log into the application to verify it directly? The admin credentials are the default ABP ones.
The missing files are: user.css and bootstrap-user.css. These files provide the custom visual identity for the Lepton X components and work correctly in the local environment, but they are not being reached in the Azure App Service deployment. Could you please log into the application to verify this directly? The admin credentials are the default ABP ones. Below are the relevant code references from our BlazorModule:
ConfigureTheme
ConfigureBundles
ConfigureVirtualFileSystem

We appreciate your help in identifying why these CSS files are not being resolved in the published environment.
[maliming] said: hi
Can you share an online URL?
liming.ma@volosoft.com
Thanks.
Hi!
Here is: https://qlt.pipali.com.br Admin Username and password are the default for ABP application