Activities of "cetin.sahin"

  • ABP Framework version: v8.0
  • UI Type: lazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

we developed Notifications(Bell Icon) component with https://docs.abp.io/en/abp/latest/UI/Blazor/Toolbars document. We Used LeptonX template. Notifications(Bell Icon) is showing but onclick event not working. our code

Blazor Module cs

private void ConfigureToolbar()
{
    Configure<AbpToolbarOptions>(options =>
    {
        options.Contributors.Add(new MyToolbarContributor());
    });
}

public class MyToolbarContributor : IToolbarContributor
{
    public Task ConfigureToolbarAsync(IToolbarConfigurationContext context)
    {
        if (context.Toolbar.Name ==  LeptonXToolbars.Main)
        {
            context.Toolbar.Items.Insert(0, new ToolbarItem(typeof(NotificationsComponent)));
        }

        return Task.CompletedTask;
    }
}
and NotificationsComponent.razor

 

@inherits Volo.Abp.AspNetCore.Components.AbpComponentBase
<div class="nav-link">
    <i class="fas fa-bell" @onclick="ShowNotifications"></i>
</div>
@code {
    private async Task ShowNotifications()
    {
        await Message.Info("TODO: Show notifications");
    }
}

How can We change from tenantId (Guid) to KurumId(int). We must use exist old mssql db.(db first)

But we already use different db by tenant. why do we implement entity IMultiTenant interface

We want to Multi tenant project only database level not table level.

Of course I sent MultitenantTest.rar via We transfer.

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

we add this code to all configuresservices

Configure<AbpMultiTenancyOptions>(options =>
{
    options.IsEnabled = MultiTenancyConsts.IsEnabled;
});

and we Replace Services MultiTenantConnectionStringResolver with https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/MultiTenantConnectionStringResolver.cs

and we add connection string to tenant configuration(Test Tenant)

But we login with test tenant with special connection string but abp loaded to grid with data to default connection(Host) string database

MultiTenant ConnectionString property doesn't work.

Thanks . we resolved this issue by your help.

we have 3 publish project (EnzimWeb.AuthServer , EnzimWeb.Blazor , EnzimWeb.HttpApi.Host) we cant find Configure<AbpAspNetCoreMvcClientCacheOptions> in our solution. please can you tell us where are we add this code

Hi ; I changed ASPNETCORE_ENVIRONMENT 's value from development to Production . and I run solution on local vs 2022. And then I faced to same problem in local machine. "When I examined the code on ABP's GitHub, I saw the following settings in the AbpAspNetCoreMvcClientModule.cs class for the development environment:

options.TenantConfigurationCacheAbsoluteExpiration = TimeSpan.FromSeconds(5);
options.ApplicationConfigurationDtoCacheAbsoluteExpiration = TimeSpan.FromSeconds(5);

I also found the following settings in the IdentityModelAuthenticationService class.

await TokenCache.SetAsync(cacheKey, tokenCacheItem, new DistributedCacheEntryOptions
{
    AbsoluteExpirationRelativeToNow = AbpHostEnvironment.IsDevelopment()
        ? TimeSpan.FromSeconds(5)
        : TimeSpan.FromSeconds(configuration.CacheAbsoluteExpiration)
});

How can we change these settings? Additionally, what should we do to remove menu permissions upon logout, other than clearing Redis?"

Should I change the ASPNETCORE_ENVIRONMENT value in the launch settings of all projects?

顯示 22 個紀錄的 11 到 20 個.
Made with ❤️ on ABP v8.2.0-preview Updated on 3月 25, 2024, 15:11