Activities of "naeem76"

  • ABP Framework version: v7.1.1
  • UI Type: MVC
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

The docs say that

ABP creates the bundle as lazy from the provided files when it's first requested. For the subsequent calls, it's returned from the cache. That means if you conditionally add the files to the bundle, it's executed only once and any changes of the condition will not effect the bundle for the next requests.

Can this be automatically done during start, instead of the first request? I have a pretty complex UI with rive animations and such, and what is happening is when new instances spin up in a load balanced environment, and requests go to those, it takes a while for it to stabilize, and returns broken pages before its fully stabilized. It could even be some other issue. Help is appreciated.

Ignore please, was a bad config.

  • ABP Framework version: v7.1.1
  • UI Type: MVC
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello we've been using load balanced ABP MVC on AWS with a RDS MySQL/Aurora instances for a while now, and everything has been great. However for a newer application we have to use RDS proxy, but using the RDS proxy endpoint we are getting timeout issues.

From the same EC2 instance that hosts the api I've used mysql cli to connect to the proxy endpoint, and everything works smoothly, so there is no network / security group issues. I've tried a brand new ABP template that has no Redis Cache or DistributedLock provider, and its the same issue.

Any help would be appreciated

That at least helped me steer in the right direction. Just learned that the order of that function matters, I had it at the end, we have a couple of other settings, but when I put it right after the line options.CustomSchemaIds(type => type.FullName);, it worked.

Thank you!

  • ABP Framework version: v7.1.0
  • UI Type: MVC
  • Database System: EF Core / MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): No
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Currently trying to describe enum models in Swagger, don't want to change the API parameters, they should still use and return integers, but the description should show which integer means what.

I've tried this

options.SchemaFilter<EnumSchemaFilter>();

public class EnumSchemaFilter : ISchemaFilter
{
    public void Apply(OpenApiSchema schema, SchemaFilterContext context)
    {
        if (context.Type.IsEnum)
        {
            var array = new OpenApiArray();
            array.AddRange(Enum.GetNames(context.Type).Select(n => new OpenApiString(n)));
            // NSwag
            schema.Extensions.Add("x-enumNames", array);
            // Openapi-generator
            schema.Extensions.Add("x-enum-varnames", array);
        }
    }
}

Also tried using the package Unchase.Swashbuckle.AspNetCore.Extensions

options.AddEnumsWithValuesFixFilters();

But results are the same, no change

Enum models are still

The issue seems to be on firefox. Working correctly on chrome. Thanks for looking into it, closing.

  • ABP Framework version: v8.0.4
  • UI Type: Blazor Server
  • Database System: EF Core ( MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): No
  • Exception message and full stack trace:No exceptions
  • Steps to reproduce the issue:

ABP Suite 8.0.4

I choose my entity name and all my options, then move to Properties tab, but I lose all my changes in Entity Info tab. If I click Save on the properties tab, it doesn't work, because all my changes in Entity info are gone, and vice versa, my changes in Properties tab are lost when i go to Entity info tab.

Edit: It seems page / content seems to refresh on tab change

Thank you!

I extended the existing IdentityUser with the extension system, and also had it mapped to a different column using ef core mapping, which is working fine for the UI side as well

 ObjectExtensionManager.Instance.Modules()
            .ConfigureIdentity(identity =>
            {
                identity.ConfigureUser(user =>
                {
                    user.AddOrUpdateProperty<Guid?>(
                        "ClassroomId",
                        property =>
                        {
                            //property.Attributes.Add(new RequiredAttribute());

                            //validation rules
                            property.DisplayName = new FixedLocalizableString("Classroom");
                            property.UI.Lookup.Url = "/api/app/classrooms";
                            property.UI.Lookup.DisplayPropertyName = "name";
                            property.UI.Lookup.FilterParamName = "filterText";
                        }
                    );
                });
            });
ObjectExtensionManager.Instance
        .MapEfCoreProperty<IdentityUser, Guid?>(
                    "ClassroomId",
                    (entityBuilder, propertyBuilder) =>
                    {
                        entityBuilder
                            .HasOne(typeof(Classroom))
                            .WithMany()
                            .HasForeignKey("ClassroomId");
                    }
                );

How to query on that property when querying from database directly and not using client side evaluation?

The doc mentions 'Another approach can be creating your own entity mapped to the same database table (or collection for a MongoDB database).`

Tried by making a class AppUser that inherits from IdentityUser mapped to the same table 'AbpUsers' however that makes a discriminator column, and queries with the new class dont bring out all records, which I think is expected from EF Core TablePerHierarchy.

What's the ideal solution for querying something like this?

 var users = await Users.Where(x=> x.GetClassroomId() == classId).ToListAsync(); 
public static class IdentityUserExtensions
    {
        private const string ClassroomIdPropertyName = "ClassroomId";

        public static void SetClassroomId(this IdentityUser user, Guid? classroomId)
        {
            user.SetProperty(ClassroomIdPropertyName, classroomId);
        }
        public static Guid? GetClassroomId(this IdentityUser user)
        {
            return user.GetProperty&lt;Guid?&gt;(ClassroomIdPropertyName);
        }
    }

Also I would rather not go for a new New Entity with Its Own Database Table, and using local bus to keep them synchronized, unless its the last option

ABP Suite CRUD pages to create boilerplate is pretty good at the start of a project with the started entities.

However for example if there's custom logic in any of those rendered code, it will get overwritten, if for example a new field is added into an entity, and the code is regenerated. Is there a good way to handle this situation, or is auto CRUD functionality only for the very beginning?

Showing 31 to 40 of 42 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 16, 2025, 10:35