Starts in:
1 DAY
21 HRS
49 MIN
29 SEC
Starts in:
1 D
21 H
49 M
29 S

Activities of "IbrahimSarigoz"

So, if we set this value to a duration like 5-10 seconds, what kind of load would it put on the system?

thanks

we are using LeptonX

<Project Sdk="Microsoft.NET.Sdk.Web">

  <Import Project="..\..\common.props" />

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
    <RootNamespace>MyBankStore.Web</RootNamespace>
    <AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
    <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
    <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
    <PreserveCompilationReferences>true</PreserveCompilationReferences>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.4" />
    <PackageReference Include="Serilog.AspNetCore" Version="8.0.0" />
    <PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
    <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.1" />
    <PackageReference Include="DistributedLock.Redis" Version="1.0.2" />
    <PackageReference Include="System.Private.ServiceModel" Version="4.10.3" />    <PackageReference Include="Volo.Abp.AspNetCore.SignalR" Version="8.2.2" />

  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Volo.Abp.Autofac" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.DistributedLocking" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.AspNetCore.Mvc.Client" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.EventBus.RabbitMQ" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Http.Client.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Swashbuckle" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.AuditLogging.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.Impersonation" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.Shared" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.OpenIddict.Pro.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.LanguageManagement.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Saas.Host.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.TextTemplateManagement.Web" Version="8.2.2" />
    <PackageReference Include="Volo.Abp.Gdpr.Web" Version="8.2.2" />
    <ProjectReference Include="..\BlaBla.HttpApi.Client\BlaBla.HttpApi.Client.csproj" />
    <ProjectReference Include="..\BlaBla.HttpApi\BlaBla.HttpApi.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="3.2.0" />
  </ItemGroup>

  <ItemGroup>
    <Compile Remove="Logs\**" />
    <Compile Remove="Pages\Deneme\**" />
    <Content Remove="Logs\**" />
    <Content Remove="Pages\Deneme\**" />
    <EmbeddedResource Remove="Logs\**" />
    <EmbeddedResource Remove="Pages\Deneme\**" />
    <None Remove="Logs\**" />
    <None Remove="Pages\Deneme\**" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="Pages\**\*.js">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="Pages\**\*.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>


  <ItemGroup>
    <None Remove="Themes\LeptonX\Global\side-menu\css\dark.css" />
    <None Remove="Themes\LeptonX\Global\side-menu\css\dim.css" />
    <None Remove="Themes\LeptonX\Global\side-menu\css\light.css" />

  </ItemGroup>


  <ItemGroup>
    <Content Include="Themes\LeptonX\Global\side-menu\css\dark.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="Themes\LeptonX\Global\side-menu\css\dim.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="Themes\LeptonX\Global\side-menu\css\light.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>


</Project>

When we press the revoke button for the relevant user's session from the admin panel, it takes up to 1-2 minute for the user to be logged out.

Hello, thank you for your response

Currently, when the 'Contact' entity is in the same database and tablespace, everything works fine. However, we need to use a separate tablespace for this entity (module). When I create a different tablespace and attempt to use this entity in linq, I encounter the following error:

'Cannot use multiple context instances within a single query execution. Ensure the query uses a single context instance.' System.InvalidOperationException: 'Cannot use multiple context instances within a single query execution. Ensure the query uses a single context instance.

I did some research, and they say it doesn't work with different tablespaces or databases in one linq. I want to make sure that it also doesn't work in the ABP framework.

I completed all of these. If you want, I can share the github repo with you.

[ReplaceDbContext(typeof(IIdentityProDbContext))] [ReplaceDbContext(typeof(ISaasDbContext))]

As you can see in the image, the first method results in an error because the audit tables use a different DbContext. However, the second method works successfully. So, why are we using ReplaceDbContext ?

https://blog.antosubash.com/posts/abp-add-new-module-with-seperate-db

Our requirement is this: we have a large project with separate CRM and ERP modules, each with its own database. I want to use these modules' DbContexts in my central application, but we couldn't connect two different DbContexts in the same LINQ query. However, a YouTube video suggests it's possible. How can this be achieved?

Leptonx was upgraded. While updating via the suite, I noticed that some things were missing. When I fixed them myself, my project worked.

Answer

I found my mistake. 'UrunYonetimiFeatures.Enable' and 'MusteriYonetimiFeatures.Enable' have the same string value, which is causing the error.

Answer
using MerkezYonetim.Localization;
using MusteriYonetimi.Features;
using UrunYonetimi.Features;
using Volo.Abp.Features;
using Volo.Abp.Localization;
using Volo.Abp.Validation.StringValues;

namespace MerkezYonetim.Features
{
    public class MyFeatureDefinitionProvider : FeatureDefinitionProvider
    {

        public override void Define(IFeatureDefinitionContext context)
        {
            var urunYonetimiGroup = context.AddGroup("UrunYonetimi", L("UrunYonetimi"));

            urunYonetimiGroup.AddFeature(
                UrunYonetimiFeatures.Enable,
                defaultValue: "false",
                L("Enable"),
                valueType: new ToggleStringValueType());


            var musteriYonetimiGroup = context.AddGroup("MusteriYonetimi", L("MusteriYonetimi"));

            musteriYonetimiGroup.AddFeature(
                MusteriYonetimiFeatures.Enable,
                defaultValue: "false",
                L("Enable"),
                valueType: new ToggleStringValueType());
        }

        private static LocalizableString L(string name)
        {
            return LocalizableString.Create<MerkezYonetimResource>(name);
        }
    }
}

in one FeatureDefinitionProvider class i couldnt create 2 different group.

it says :

when i comment one of them it works fine.

Showing 1 to 10 of 39 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06