Activities of "maliming"

hi

Please share the application logs.txt.

liming.ma@volosoft.com
Thanks

hi

1.

Can you try to disable the IsDynamicClaimsEnabled?

context.Services.Configure<AbpClaimsPrincipalFactoryOptions>(options =>
{
    options.IsDynamicClaimsEnabled = false;
});

2.

Can you use a new SQL server to test this?

You can use the SQL server in Docker to try again.

https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-ver16&tabs=cli&pivots=cs1-bash

3.

Can you share a website URL to let me check it online?

Thanks

hi

We have a PR to improve the web farm situation.

https://github.com/abpframework/abp/pull/19870

It is available on 8.1

👍

hi

I will ask our colleagues.

hi

In fact, I'm not particularly familiar with bUnit. : )

I also google the problem.

hi

Yes. You can give it a try.

: )

hi

services.AddSingleton<AbpBlazorMessageLocalizerHelper<BookStoreResource>>();

using BookStore.Localization;
using Bunit;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using Volo.Abp.AspNetCore.Components.Web;
using Xunit;

namespace BookStore.Blazor.Tests;

public class Index_Tests : BookStoreBlazorTestBase
{
    protected override void AfterAddApplication(IServiceCollection services)
    {
        services.AddSingleton<AbpBlazorMessageLocalizerHelper<BookStoreResource>>();
        base.AfterAddApplication(services);
    }

    [Fact]
    public void Index_Test()
    {
        // Arrange
        var ctx = CreateTestContext();
        // var lh = GetRequiredService<AbpBlazorMessageLocalizerHelper<BookStoreResource>>();
        // ctx.Services.AddSingleton(lh);

        // Act
        var cut = ctx.RenderComponent<BookStore.Blazor.Pages.Index>();


        // Assert
        cut.Find(".lead").InnerHtml.Contains("Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io.").ShouldBeTrue();
        cut.Find("#username").InnerHtml.Contains("Welcome admin").ShouldBeTrue();
    }
}

: )

Showing 5851 to 5860 of 12924 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 11, 2026, 08:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.