Activities of "hanntd"

  • ABP Framework version: v8.0.2
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL) Hello ABP Team,

.NET 8.0 has been released with new feature of Blazor to support many option for rendering. How we can apply this feature in ABP Framework for Blazor UI to optimize performance and page loading?

Thanks, Dharma

Question
  • ABP Framework version: v8.0.2
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL) Hi ABP Team,

I have an issue of display top-menu when switching from side-menu to top-menu:

  • The logo and App Name were are shown overlapping each other.
  • List of menu can't show in full page we must roll to the right side to see hidden menu
  • Other additional icons such as icon of Chat module can't display correctly

In additional, how can I setup the footer component will be auto hide when user roll down the page: Thanks, Dharma

Hi, I deployed my Abp project (UI:Blazor Wasm) on Nginx Ubuntu. Blazor UI and Api run well, only a problem with authentication. If I leave appsetting.json of Api as default: "AuthServer": { "Authority": "https://ebiz-devapi.abc.com", "RequireHttpsMetadata": "true", "SwaggerClientId": "eBiz_Swagger_Ubuntu" } When login it show this error: If I changed RequireHttpsMetadata to false and Auth Server Url withou https, when Blazor login will show this error and cannot login:

Please help me to fix this issue. Thanks Dharma

Hi, I'm using ABP suite to generate ABP Application using Blazor Web Assemble UI. I'd like to add to the bottom of my Blazor page a Comment component so that use can input their comment, mention to other user, make reaction, rating... Can we use the similar component of CmsKit Pro in any blazor page within abp application? Thanks Dharma (Han Nguyen)

Hi Abp Team,

I'm using Blazor Web Assembly for UI, I would like to add some information from UI such as razor page name to know which page has called the api and some other information for tracking. How I can custom the Audit Logging module to add more information like that.

Thanks, Dharma (Han Nguyen)

Hi Abp Team, Recently I have a problem with my own module that it cannot show the language, it run properly before and other modules are still ok for language loading. Here my en.json file: { "culture": "en", "texts": { "SamplePageMessage": "A sample page for the SharedInformation module", "Menu:SharedInformation": "Shared Information", "Menu:GeographicalSubdivisions": "Geographical Subdivisions", "Menu:Taxes": "Taxes", "Menu:GeographicalSalesStructure": "Geographical Sales Structure", "Menu:Others": "Others", "Permission:Countries": "Countries", "Permission:SharedInformation": "Shared Information", "Permission:Create": "Create", "Permission:Edit": "Edit", "Permission:Delete": "Delete", "Countries": "Countries", "NewCountry": "New Country", "Country": "Country", "Menu:Countries": "Countries", "SeeAdvancedFilters": "Advanced filters", "DeleteConfirmationMessage": "Are you sure you want to delete this record?", "SavingConfirmationMessage": "Your data has been modified. Do you wish to leave and lose the pending changes?", "FGKDeletetionException": "The deleting record is already used in table: {0}!" } }

Hi, I have an issue with Foreign Key when we use multiple modules. For example: I have 2 modules:

  • Module 1: HQSOFT.eBiz.GeneralLedger, in this module we have Account entity/table (Id, AcountCode, AccountName...)
  • Module 2: HQSOFT.SharedInformation, in this module we have ReasonCode entity/table (Id, Code, Description, AccountId,....
  • ReasonCode have a FGK is AccountId that reference to Id in Account table. Currently I have 2 issues:
  1. I cannot using Add-migration to create ReasonCode table as it alwasy throw this error: The entity type 'ExtraPropertyDictionary' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943. PM>. I have to create table without FGK then I added manual from DB.
  2. The second issue efcore don't allow to use join in GetQueryForNavigationPropertiesAsync because it couldn't file the Account table in the ShareInformationDbContext and throw the error: Cannot create a DbSet for 'Account' because this type is not included in the model for the context. protected virtual async Task<IQueryable<ReasonCodeWithNavigationProperties>> GetQueryForNavigationPropertiesAsync() { return from reasonCode in (await GetDbSetAsync()) join account in (await GetDbContextAsync()).Set<Account>() on reasonCode.AccountId equals account.Id into accounts from account in accounts.DefaultIfEmpty() select new ReasonCodeWithNavigationProperties { ReasonCode = reasonCode, Account = account }; }:

How can we handle for this case as our solution are separated to many modules and sometime we need to join or get data from other modules. Thanks Dharma (Han Nguyen)

Hi, I'm trying to map from CountryDto to CountryCreateDto but it threw the error: AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping. Although I already add Createmap for above mapping:

public SharedInformationApplicationAutoMapperProfile()
{
    /* You can configure your AutoMapper mapping configuration here.
     * Alternatively, you can split your mapping configurations
     * into multiple profile classes for a better organization. */

    CreateMap&lt;Country, CountryDto&gt;();
    CreateMap&lt;Country, CountryExcelDto&gt;();
 **   CreateMap&lt;CountryDto, CountryCreateDto&gt;()
        .ReverseMap();
    CreateMap&lt;CountryDto, CountryUpdateDto&gt;()
        .ReverseMap();**

I call the mapping here and threw the error: if (editModel != null && e.IsNew) { await CountriesAppService.CreateAsync(ObjectMapper.Map<CountryDto, CountryCreateDto>(editModel)); }

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&lt;Customer&gt;().WithMany().IsRequired().HasForeignKey(x => x.CustomerId).OnDelete(DeleteBehavior.SetNull);

});

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

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)

Showing 1 to 10 of 18 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11