Activities of "maliming"

hi

For ID2093 error:

You need to select the scope when authentication in Swagger.

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是不支持多线程的

Showing 1071 to 1080 of 10652 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20