Activities of "maliming"

hi

You can send your detailed requirements to liming.ma@volosoft.com

I only provide email support. Thanks

Thanks abpnewtonvisionco

hi @dipak

| Your project | operator | Module | | --- | --- | --- | | LIS.Application | Add reference & Depends on| ModuleName.Application | LIS.Application.Contracts |Add reference & Depends on|ModuleName.Application.Contracts| LIS.AuthServer| | | LIS.DbMigrator| | | LIS.Domain | Add reference & Depends on| ModuleName.Domain| LIS.Domain.Shared | Add reference & Depends on| ModuleName.Domain.Shared| LIS.EntityFrameworkCore | Add reference & Depends on| ModuleName.EntityFrameworkCore| LIS.HttpApi | Add reference & Depends on|ModuleName.HttpApi| LIS.HttpApi.Client | Add reference & Depends on| ModuleName.HttpApi.Client| LIS.HttpApi.Host | | | LIS.Web | Add reference & Depends on| ModuleName.Web | LIS.Web.Public | | |

hi

I think it's possible., You can override it to try.

hi arvind.srivastava.tas

You can refer to the OrganizationUnit implementation for your needs. It filters sub-items by code

// <summary>
/// Hierarchical Code of this organization unit.
/// Example: "00001.00042.00005".
/// This is a unique code for an OrganizationUnit.
/// It's changeable if OU hierarchy is changed.
/// </summary>
public virtual string Code { get; internal set; }

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/OrganizationUnit.cs https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/OrganizationUnitManager.cs#L151

and you also check the code from https://github.com/maliming/Owl.GeneralTree

hi

Can you share a simple project to reproduce? liming.ma@volosoft.com
Thanks.

hi

options.UserFriendlyEnums();

private static void ConfigureSwagger(ServiceConfigurationContext context, IConfiguration configuration)
{
    context.Services.AddAbpSwaggerGenWithOAuth(
        configuration["AuthServer:Authority"]!,
        new Dictionary<string, string>
        {
                {"BookStore", "BookStore API"}
        },
        options =>
        {
            options.SwaggerDoc("v1", new OpenApiInfo { Title = "BookStore API", Version = "v1" });
            options.DocInclusionPredicate((docName, description) => true);
            options.CustomSchemaIds(type => type.FullName);
            options.UserFriendlyEnums();
        });
}

hi

Please change your OnApplicationInitialization method by follow:

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
    var env = context.GetEnvironment();
    var app = context.GetApplicationBuilder();

    if (env.IsDevelopment())
    {
        app.UseDeveloperExceptionPage();
    }

    app.UseAbpRequestLocalization();

    if (!env.IsDevelopment())
    {
        app.UseErrorPage();
        app.UseHsts();
    }

    app.UseCorrelationId();
    app.UseAbpSecurityHeaders();
    app.UseStaticFiles();
    app.UseRouting();
    app.UseAuthentication();
    app.UseAbpOpenIddictValidation();

    if (MultiTenancyConsts.IsEnabled)
    {
        app.UseMultiTenancy();
    }

    app.UseUnitOfWork();
    app.UseDynamicClaims();
    app.UseAuthorization();

    app.Use(async (httpContext, next) =>
    {
        var authenticateResultFeature = httpContext.Features.Get<IAuthenticateResultFeature>();
        if (authenticateResultFeature != null && authenticateResultFeature.AuthenticateResult == null)
        {
            if (httpContext.User.Identity?.IsAuthenticated == true)
            {
                authenticateResultFeature.AuthenticateResult = AuthenticateResult.Success(new AuthenticationTicket(httpContext.User, httpContext.User.Identity.AuthenticationType!));
            }
        }

        await next(httpContext);
    });

    app.UseSwagger();
    app.UseAbpSwaggerUI(options =>
    {
        options.SwaggerEndpoint("/swagger/v1/swagger.json", "AzureSignalRPoc API");
    });
    app.UseAuditing();
    app.UseAbpSerilogEnrichers();
    app.UseConfiguredEndpoints();
}

ok, I will check it asap.

Answer

hi

Please share the full error stack. Thanks.

Showing 5401 to 5410 of 11558 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.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.