Activities of "hanntd"

Thanks Jack a lot, I already remove soft delete for Customer and system already thrown the exception message. Another question, how can we capture this except to show more friendly message to user, as currently the message is only "An internal error..." and user don't know what happened. Thanks, Dharma (Han Nguyen)

Hi, I'm using Postgres and I'd to prevent user delete Customer record if that record alread used in SalesOrder Table. I already defined the foreignkey in SalesOrder as the below code, but there is no happen when I deleted customer. I expected an exception message will be thrown when I delete a customer already used in dependent tables.

b.ToTable(OrderManagmentDbProperties.DbTablePrefix + "SalesOrders", OrderManagmentDbProperties.DbSchema);
b.ConfigureByConvention();
b.Property(x => x.OrderNumber).HasColumnName(nameof(SalesOrder.OrderNumber)).IsRequired().HasMaxLength(SalesOrderConsts.OrderNumberMaxLength);
b.Property(x => x.OrderDate).HasColumnName(nameof(SalesOrder.OrderDate));
b.Property(x => x.Status).HasColumnName(nameof(SalesOrder.Status));
b.Property(x => x.SalesPerson).HasColumnName(nameof(SalesOrder.SalesPerson)).HasMaxLength(SalesOrderConsts.SalesPersonMaxLength);
b.Property(x => x.TotalAmount).HasColumnName(nameof(SalesOrder.TotalAmount));
b.HasOne<Customer>().WithMany().IsRequired().HasForeignKey(x => x.CustomerId).OnDelete(DeleteBehavior.SetNull);

});

Please help me for this issue. Thanks, Dharmar (Han Nguyen)

hi

There are only two websites for your solution:

  1. API
  2. Blazor WASM

Since the blazor wasm is a front web app, and there is only a backend app you don't need to use Redis.

Hi Maliming, May I ask you for your advice, which application model will be the best? We should seperate the Auth server or we should combine with HttpApi? Thanks

Hi, I'm using ABP Suite to create an application solution with following options:

  • UI: Blazor Wasm
  • DB: Postgres
  • Separate Authentication Server: un-checked
  • Progressive web application: checked I found that there is no configuration in the generated source code. Can we apply Redis configuration for this kind of solution?

Thanks, Dharma (Han Nguyen)

Yes, It's not the issue of ABP I just want to ask if is there any existing solution to use Devexpress Grid instead of Blazorise Grid. Thanks for your link I will try it. Dharma

  • ABP Framework version: v7.2.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes Hi, I'm use Devexpress Blazor Grid to replace for Blazorise Datagrid in ABP Framework. I'm having issue with paging processing because Devexpress Blazor Grid doesn't have ReadData event so how I can force Devexpress Blazor Grid to call OnDataGridReadAsync to load data by runtime when user click on paging menu instead of loading full data at the beginning? Thanks Dharma Han Nguyen

Maybe this can help :-) In EntityFrameworkCore add ToLower()

.WhereIf(!string.IsNullOrWhiteSpace(filterText), e => e.Name.ToLower().Contains(filterText.ToLower())) .WhereIf(!string.IsNullOrWhiteSpace(name), e => e.Name.ToLower().Contains(name.ToLower()));

Thanks Buckoge

Hi, I tried to create a new collation in Postgres to support case insensitive and create test table with columns associated with this new collation: CREATE COLLATION english_ci ( PROVIDER = 'icu', LOCALE = 'en-US@colStrength=secondary', DETERMINISTIC = FALSE )

But when I search on the page generated by ABP Suite it throw the error:

Do you have any sample to handle for this case?

Hi,

Is there any way to change in code because when creating the solution with ABP its always create postgres case sensitive db as default during run db migration. Can we apply such as ILIKE in ABP generated code for searching?

Thanks

Hi, How we can fix this problem so that user can input data to search regardless of case sensitive. I'm using Abp Suite to generate UI and Service and faced with this issue for the default search on the generated UI. Thanks Dharma (Han Nguyen)

Showing 121 to 130 of 153 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.3.0-preview. Updated on February 27, 2026, 05:41
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.