Activities of "hanntd"

Hi, I found my problem happen when I used the browser that didn't clear cache, if I clear browser's cache or change to a new installed browser it loaded faster and just have a little bit delay around 1-2 seconds. If I do not clear cache it will take more than 20s for loading with the issue as I mentioned. Thanks, Dharma

Hi berkansasmaz, My application structure as bellow: Main Application (non-tiered Blazor Web App Template) - Module 1 (Module Template) - Module 2 (Module Template) - Module 3 (Module Template) -... In Main Application I integrated modules packages that we have developed dependently and build into nuget packages. When running module stand alone we have no issue of loading as i mentioned. This issue just happened on Main Applicaiton. Is there any specific configuration we need to do for this kind of our application model? I checked on browser's debug and found it take quite long for load css and api definition. Can we optimize for these loadings? thanks Dharma

  • 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

Thanks

Hi, Because Chat module is currently not working if injected in Blazor Client as I reported in another ticket so I didn't injected but i forgot to remove in others project. I have remove Chat module in others projects and now my application running ok on production. Thanks

Here are of AuditLogContributor (I have fixed issue of NullReferenceException) and new log file:

public class ExtendedAuditLogContributor : AuditLogContributor
	{
		public override void PreContribute(AuditLogContributionContext context)
		{
			var urlProp = context.AuditInfo.GetProperty("ScreenUrl");
			var url = context.GetHttpContext().Request.Headers["screen-url"].ToString();
			if (urlProp != null && string.IsNullOrEmpty(url))
				context.AuditInfo.SetProperty("ScreenUrl", url);
		}

		public override void PostContribute(AuditLogContributionContext context)
		{
			var currentUser = context.ServiceProvider.GetRequiredService<ICurrentUser>();

			foreach (var change in context.AuditInfo.EntityChanges)
			{
				var screenUrl = context.GetHttpContext().Request.Headers["screen-url"].ToString();
				if (string.IsNullOrEmpty(screenUrl))
					continue;
				var uri = new Uri(screenUrl);
				var path = uri.PathAndQuery;
				var lastIndex = path.LastIndexOf('/');

				var urlDoc = path.Substring(0, lastIndex + 1);
				var docId = path.Substring(lastIndex + 1);

				change.SetProperty("ScreenUrl", urlDoc);
				change.SetProperty("DocId", docId);

				change.SetProperty("UserId", currentUser.Id);
			}
		}
	}

https://drive.google.com/file/d/1kQpTa7rcIv3-MR4S6f5yUyfJ-bslmhGH/view?usp=sharing

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

I have tried to re-generate module templates with latest version 8.2 and migrated my code (no changes anything) from the module using old version and now it can run well when integrating to Main Application Blazor WebApp. So I think the module template i'm using (generated from version v7) is not compatible for Blazor Web App. Thanks for your support

Hi, I tried to test with a fresh Main application and Module, it work ok, so i will review my module code. Do you have any special notes when developing blazor pages that can support for both blazor web assembly and blazor server? Thanks

I have changed access right, you can try again

Showing 21 to 30 of 135 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 12, 2025, 10:20