Activities of "hanntd"

Hi ABP Team, In my solution I have many blob storage with different provider (aws, azure, database...) I'd like to build a page that can help to manage content of each blob storage using File Management. This page allow user to select which blob container to view the content and file management will show the content of selected blob. I tried to configure at runtime but it always get the default blob in database. How we can apply the configuration to file management at runtime? thanks, Dharma

Hi, I have a loading problem with Blazor Application using Blazor Web App template. When you navigate within the same tab, only related component and data of opening page are loaded, but opening a page on a new tab triggers a complete application reload. How to prevent this reload when opening on new tab. Thanks, Dharma

  • ABP Framework version: v8.3
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Please check the link of Logs
  • Steps to reproduce the issue:
  1. My application are using Blazor Web App Template
  2. I built application into docker image and push into docker server to run the container. The application is accessed from external through the nginx proxy on the same host machine of docker.
  3. I have two environments for dev and test and deployed to the same docker server:
    1. Dev:
      1. url: abc-dev.hqsoft.vn
      2. map port: 5001:8080
    2. Test:
      1. url: abc-test.hqsoft.vn
      2. map port: 5002:8080
  4. Everything are deployed ok and the application running properly but just for some initial minutes then having error with POST/PUT, it still run ok with GET, mean I still open any forms in my application to view data but every time I submit data for changing it throw the error. If I clear browser data (cache, cookies, data...) it will run ok but just for some minutes then error again.
    1. Browser console error: ERR_TOO_MANY_REDIRECTS
    2. Logs error: Antiforgery Token Validation Failed Please check the detail Logs, Dockerfile and Nginx Configuration as in the link: https://drive.google.com/drive/folders/1U0K0DjNKMB2g6BFfErLo2FSVIKLi9w0y?usp=sharing
  • ABP Framework version: v8.3.0
  • UI Type:Blazor WebApp
  • Database System: EF Core - PostgreSQL
  • Steps to reproduce the issue: My application is using Blazor WebApp with InteractiveAuto option for rendering and loading I'm having problem when loading application at the first time or everytime refresh the application. The time for loading application is quite long more than 20s. When clicking the refresh I can see the full left side menu but didn't see the application logo and the application was blocked I cannot click on any menu. After waiting for a few seconds the application refresh and I can see the logo but the menu is empty and continue waiting until the menu was loaded fully. So the totally process when loading the application is quite long, how I can resolve this issue to optimize for loading and how I can catch the event to show the loading progress so that use can know the system is still loading. I have tried to create a new Blazor WebApp by using ABP Studio with the latest version (9.0) have faced the same problem, just the lagging time is shorter because this is new solution so there are no added forms as my application. Please check the recorded video for more information: https://drive.google.com/file/d/1_-dLK7zN3cqf5i88f2qU56SHmM_W_iP6/view?usp=drive_link.

thanks, Dharma

Hi, I dev Blazor WebApp with v8.2 running well on development environment but when publishing to production running on nginx/ubuntu the error happened after clicked on Login button at Login Form. The home page still show ok, then click on Login --> Login Form show ok, too--> Enter user name and pwd, click login --> error happened: Link of Log file: https://drive.google.com/file/d/1bjEl2FtGVu6hYSlQj26jD9QznCYKLo7g/view?usp=sharing

Hi ABP Team, With the new application template Blazor Web App (v8.2) I cannot open a blazor page from menu into a new Browse Tab, I can do that with the old template Blazor Web Assembly: thanks, Dharma Han Nguyen

Hi ABP Team, I have customed to add permission at runtime and I can added to Permission Group and Permission Table but when open Permission on UI these added permission were not shown there. Code to add new Permission Group and Permission: Result: Didn't see on UI of Permission Setting:

How can I implement a dynamic Permission Management that I can Add/Remove at runtime? Thanks, Dharma Han Nguyen

Hi ABP Team, I have a problem with Chat module after upgraded to v8.2 and use new application template Blazor Web App. My previous app I used Blazor Wasm template as the main solution in this main solution I installed Chat module. I have developed another module called Common, in this module I have added a Notification icon to toolbar follow the guideline from this: https://docs.abp.io/en/abp/latest/UI/Blazor/Toolbars, and I use SignalR to realtime update notification to show on this icon.. Then I integrated this module to Main Application, everything are ok. Now I'd like to use new application template in v8.2: Blazor Web App so I created a new Main Solution with new template then I integrated Common module as I have done before but when run the Main Solution the Chat icon on Toolbar show during page loading but was disappeared after Common module loaded completely, and on the toolbar only see the Notification icon but didn't see Chat icon. I come to Setting to check the Chat feature was also disappeared here. During loading page at beginning still can see Chat icon:
But after completing loading (included Common module) Chat was disappeared, only see the Notification I have implemented in Common module: Go to Setting there is no Chat feature there:

Thanks, Dharma Han Nguyen

Hi ABP Team, I have a problem when upgrading to v8.2 and using new template of Blazor Web App. My current solution using version 8.1.4 as following:

  1. I developed some business function in separated module using ABP Suite Module Application Template. In each module I developed UI in Blazor Project, I didn't use Blazor Server but using Blazor Web Assembly.
  2. Above modules after completed development I have built into nuget packages
  3. I used ABP Suite to generate a Blazor Web Assembly solution as the Main Application then I integrated above built modules through nuget package. Everything are ok with v8.1.4 or earlier versions.

Now I'd like to use the new application template Blazor Web App as the Main Application replace for the above Main Application (Blazor Web Assembly) and I don't know how to integrate these modules with the new Main Application structure as now we have 2 Blazor projects (Blazor and Blazor.Client). Is there any document or guidline for this case? I have tried to do as earlier versions but it seems having error with authentication when my component in module is using signalR and error happened with code of getting access_token In razor page I have injected: @inject IAccessTokenProvider TokenProvider and here code of SignalR:

#region SignalR 
        public async Task GetConnectSignalR()
        {
            var tokenResult = await TokenProvider.RequestAccessToken();
            var apiURL = Configuration.GetValue<string>("SignalR:Url");
            Console.WriteLine("Getting SignalR-Common from appsettings.json: " + apiURL);
            try
            {
                if (tokenResult.TryGetToken(out var token))
                {
                    _hubConnection = new HubConnectionBuilder()
                                    .WithUrl($"{apiURL}", options =>
                                    {
                                        options.AccessTokenProvider = async () => await Task.FromResult(token.Value);
                                    }).Build();
                        _hubConnection.On<NotificationCreateDto>("ReceiveMessage",
                        (message) =>
                        {
                            _messages.Add(message);
                            Console.WriteLine("Received message from server: " + message);
                            _ = GetNotificationListAsync();
                        });

                    await _hubConnection.StartAsync();
                    Console.WriteLine("SignalR-Common connected");
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error starting HubConnection: " + ex.Message);
            }
        } 
        public async Task SendMessage()
        {
            try
            {
                await _hubConnection.SendAsync("SendMessage", _message);
                _message = new NotificationCreateDto();
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error sending message: " + ex.Message);
            }
        }
        public void Dispose()
        {
            _ = _hubConnection?.DisposeAsync();
        } 
        #endregion

Error: blazor.web.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Cannot provide a value for property 'TokenProvider' on type 'HQSOFT.Common.Blazor.Pages.Component.HQSOFTNotifications'. There is no registered service of type 'Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider'. System.InvalidOperationException: Cannot provide a value for property 'TokenProvider' on type 'HQSOFT.Common.Blazor.Pages.Component.HQSOFTNotifications'. There is no registered service of type 'Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider'. Thanks Dharma Han Nguyen

Hi, After upgraded to 8.1.3 I have a issue with home icon on PageHeader, i showed a strange icon (face icon) instead of home icon, how i can fix this issue:

My index.html in the Blazor.Host project:

Thanks, Dharma Han Nguyen

Showing 1 to 10 of 30 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13