Activities of "sinancondo"

Full class , and I am already depending on the mentioned module :

[DependsOn(
    typeof(AbpAutofacModule),
    typeof(AbpHttpClientModule), //used to create client proxies
    typeof(CatOsApplicationContractsModule), //used to create client proxies,
    typeof(AbpAspNetCoreModule),
    typeof(CatOsHttpApiClientModule)
)]
public class CatOsHttpApiClientTestModule : AbpModule
{
    private readonly string RemoteServiceName = "Default";

    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddHttpClientProxies(
            typeof(CatOsApplicationContractsModule).Assembly,
            RemoteServiceName
        );

        context.Services.AddAutofac();
        context.Services.AddControllers();
        context.Services.AddEndpointsApiExplorer();
        context.Services.AddHttpContextAccessor();
        context.Services.AddScoped<ScenarioManager>();
        context.Services.AddSwaggerGen(options =>
        {
            options.AddSecurityDefinition(
                "Bearer",
                new Microsoft.OpenApi.Models.OpenApiSecurityScheme
                {
                    Name = "Authorization",
                    Type = Microsoft.OpenApi.Models.SecuritySchemeType.Http,
                    Scheme = "Bearer",
                    BearerFormat = "JWT",
                    In = Microsoft.OpenApi.Models.ParameterLocation.Header,
                    Description =
                        "Enter 'Bearer' [space] and then your token in the text input below.\n\nExample: 'Bearer 12345abcdef'",
                }
            );

            options.AddSecurityRequirement(
                new Microsoft.OpenApi.Models.OpenApiSecurityRequirement
                {
                    {
                        new Microsoft.OpenApi.Models.OpenApiSecurityScheme
                        {
                            Reference = new Microsoft.OpenApi.Models.OpenApiReference
                            {
                                Type = Microsoft.OpenApi.Models.ReferenceType.SecurityScheme,
                                Id = "Bearer",
                            },
                        },
                        new string[] { }
                    },
                }
            );
        });
        context.Services.AddHttpClient(
            "catos",
            (sp, client) =>
            {
                var scenarioManager = sp.GetRequiredService<ScenarioManager>();

                var configuration = sp.GetRequiredService<IConfiguration>();
                client.BaseAddress = new Uri(
                    configuration.GetValue<string>("RemoteServices:Default:BaseUrl")
                );
                var jwtToken = scenarioManager.GetOrCreate().StringData[
                    ScenarioContext.AccessToken
                ];
                client.DefaultRequestHeaders.Authorization =
                    new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", jwtToken);
            }
        );
    }

    public override void OnApplicationInitialization(ApplicationInitializationContext context)
    {
        var app = context.GetApplicationBuilder();
        var env = context.GetEnvironment();
        // Configure the HTTP request pipeline.
        if (env.IsDevelopment())
        {
            app.UseSwagger();
            app.UseSwaggerUI();
        }

        app.UseHttpsRedirection();

        // app.UseAuthorization();

        app.UseRouting(); // Added to enable endpoint routing

        app.UseEndpoints(endpoints => // Updated to use IEndpointRouteBuilder
        {
            endpoints.MapControllers();
        });
    }
}

Can you please share your hardware configuration that the Redis server was running on ? (CPU/RAM)

Application was sent to your email , please let me know if you have any finding.

**Our team is now fully blocked, and we need either a fix or an efficient work around **

I have to get approval to share the project , can you confirm you got the log file ? also would you be able to point me where in the source code this method use cache in ABP source code ? I want to have a look.

I shared the log where redis is run locally Please check your email

Sound like v 9.1.1 is dependent on v 1.8.17 , please check the image, also if I update to 1.8.18 I get version conflict because v 9.1.1 want Hangfire v 1.8.17. please let me know if I missed something

As for reverting to our original version 1.8.14 , that not possible because v9.1.1 require 1.8.17 version as we stated above. Please advise. thanks

We run it on multiple machine even on azure instance, the Redis is not busy and there is no explanation why request takes all this time, and when we disable the Redis the request get served faster

Hi , there is the log with verbose level , during this log, I have requested the API mentioned mentioned above . https://condominiumauthorityontario.sharepoint.com/:t:/s/ITDeptExternalSharingSite/EcT_lo1I5-NPtNPXN_MbWXsBnZgrf-tgWJMMkktq7U1-iA?e=dC0tNc

I know these logs are not that helpful, but even in verbose mode , nothing outputted, Let me know how can we have more detailed log

Showing 11 to 20 of 21 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.2.0-preview. Updated on February 05, 2026, 13:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.