Activities of "liangshiwei"

try

  • dotnet ef migrations add updatebookentity
  • dotnet ef database update

Please share the latest log thanks.

Hi,

could you try this:

Add MyAuthentication.razor to the Blazor project.

@page "/authentication/{action}"
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
<RemoteAuthenticatorView Action="@Action"  OnLogInSucceeded="OnLogInSucceeded" OnLogOutSucceeded="OnLogOutSucceeded"/>
@inject WebAssemblyCachedApplicationConfigurationClient WebAssemblyCachedApplicationConfigurationClient

@inherits Authentication
@attribute [ExposeServices(typeof(Authentication))]
@attribute [Dependency(ReplaceServices = true)]

@code{
    [Parameter] public string Action { get; set; }

    private async Task OnLogInSucceeded(RemoteAuthenticationState obj)
    {
        await WebAssemblyCachedApplicationConfigurationClient.InitializeAsync();
    }
    private async Task OnLogOutSucceeded(RemoteAuthenticationState obj)
    {
        await WebAssemblyCachedApplicationConfigurationClient.InitializeAsync();
    }
}

could you share your redis configuration codes?

You forget add dbset to the dbcontext

https://abp.io/docs/latest/tutorials/book-store/part-01?UI=Blazor&DB=EF#add-the-book-entity-to-the-dbcontext

Sorry,

options.TokenValidationParameters.ValidIssuers = new[] 
{ 
   configuration["AuthServer:Authority"] + "/", 
   configuration["AuthServer:ValidIssuers"] //the port may different 
}; 

Hi,

could you please share a simple project to reproduce the problem? i will check it, thanks shiwei.liang@volosoft.com

Hi,

It seems you are using a tiered project, are they using the same Redis server(key prefix)?

could you share your redis configuration code?

you can try

options.TokenValidationParameters.ValidIssuers = new[]
{
   configuration["AuthServer:Authority"],
   configuration["AuthServer:ValidIssuers"] //the port may different
};

Hi,

Sorry again, i don't have a DevExpress license.

Unable to find package DevExpress.AspNetCore.Reporting with version (>= 24.1.3) [/Users/liangshiweis/Downloads/HQSOFT.MainApplication/HQSOFT.MainApplication.sln]

BTW could you try add [DependsOn(typeof(SystemAdministrationBlazorServerModule))] to Blazor module to check if it's work

Showing 751 to 760 of 5995 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54