Activities of "Dina"

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

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

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

        app.UseHttpsRedirection();
        app.UseCorrelationId();
        app.UseStaticFiles();
        app.UseRouting();
        app.UseCors();
        app.UseAuthentication();
        

        app.UseAbpOpenIddictValidation();

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

       
        //app.UseJwtTokenMiddleware();
        app.UseAbpRequestLocalization(options =>
        {
            options.RequestCultureProviders.RemoveAll(x => x.GetType() == typeof(AcceptLanguageHeaderRequestCultureProvider));
            options.SetDefaultCulture("en-US");
        });

        app.UseAuthorization();

        app.UseAuditing();
        app.UseAbpSerilogEnrichers();
        app.UseConfiguredEndpoints();


        app.UseUnitOfWork();
        //app.UseIdentityServer();

        

        app.UseMiddleware<RedirectClientMiddleware>();            
        
    }

hi

What are the logs of the AuthServer project?

with the tenant issue

same issue

hi

Please adjust the order of your middleware based on https://github.com/abpframework/abp/blob/dev/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/MyProjectNameAuthServerModule.cs#L211-L233

is this correct?

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

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

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

            app.UseHttpsRedirection();
           app.UseCorrelationId();
            app.UseStaticFiles();
            app.UseRouting();
            app.UseCors();
            app.UseAuthentication();
            app.UseAbpOpenIddictValidation();

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

           
            //app.UseJwtTokenMiddleware();
            app.UseAbpRequestLocalization(options =>
            {
                options.RequestCultureProviders.RemoveAll(x => x.GetType() == typeof(AcceptLanguageHeaderRequestCultureProvider));
                options.SetDefaultCulture("en-US");
            });

            app.UseAuditing();
            app.UseAbpSerilogEnrichers();
            app.UseConfiguredEndpoints();


            app.UseUnitOfWork();
            //app.UseIdentityServer();

            app.UseAuthorization();

            app.UseMiddleware<RedirectClientMiddleware>();            
            
        }
   

also there is an issue at the Public application

yes, the account is related to a tenant.

Hi,

We are trying to add country menu to general setting, we already override GeneralSettings (Default.cshtml) but it doesnt work at all and it don't even toggle at all or open separately. Should we add our own scripts to work?

Steps: Creating new component and invoke it in our own generalSettings.

Another question for mobile view do we need to override mobileGeneralSettings too?

kindly check.

ABP Framework version: v7.4.2 UI Type: MVC Database System: SQL Server

Hi,

While trying to download the source code of the LeptonX theme (any version) from abp suite, we got an error

Hi,

We have two questions please, 1.Is there any configuration for lepton theme to use side menu not top menu cause latest version is using top? 2.what is the best way to add some meta tags in application without customizing theme in both lepton and leptonx?

Showing 31 to 40 of 62 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11