Activities of "maliming"

hi

You can clear Styles from LeptonXThemeOptions, and add a light style.

Configure<LeptonXThemeOptions>(options =>
{
    options.Styles.Clear();
    options.Styles[LeptonXStyleNames.Light] = new LeptonXThemeStyle(L("Theme:" + LeptonXStyleNames.Light), "bi bi-sun-fill");
});

private static LocalizableString L(string key)
{
    return LocalizableString.Create<LeptonXResource>(key);
}

hi

I use local.test as a domain and you need to change it below:

test.local.test test is the tenant name.

public class CookieHandler : DelegatingHandler, ITransientDependency
{
    protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        request.SetBrowserRequestCredentials(BrowserRequestCredentials.Include);
        return base.SendAsync(request, cancellationToken);
    }
}

hi

AddVirtualJson("/Localization/Test")

See https://abp.io/community/articles/understanding-the-embedded-files-in-abp-framework-nsrp8aa9#gsc.tab=0

hi

Configure<AbpVirtualFileSystemOptions>(options =>
{
    // "YourRootNameSpace" is the root namespace of your project. It can be empty if your root namespace is empty.
    options.FileSets.AddEmbedded<AbpLocalizationSingleLayerModule>();
});

Configure<AbpLocalizationOptions>(options =>
{
    //Define a new localization resource (TestResource)
    options.Resources
        .Add<TestResource>("en")
        .AddVirtualJson("/Localization/Test")
        .AddBaseTypes(typeof(AccountResource));

    options.DefaultResourceType = typeof(TestResource);
});

<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="9.0.0" />

: )

不客气

hi

Can you test your code in a new app template project?

then you can share the app project code.

liming.ma@volosoft.com

Thanks.

使用 requiresNew: true 确保创建一个新的工作单元.

注意: 一个DbContext是不支持多线程的

ok, you can clear the data from the AbpLanguages table.

Then, remove languages from all projects.

PostConfigure<AbpLocalizationOptions>(options =>
{
    options.Languages.Remove..
});
Showing 3351 to 3360 of 12930 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.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.