Hi,
How I reproduce the problem? could you share a simple project that can reproduce the problem? shiwei.liang@volosoft.com I will check it .thanks.
can i add two Blazor project on the same solution
Yes ,you can copy the blazor project and rename it and add it to the solution.
can i have horizontal menu and vertical menu in the same solution using LeptonX theme
yes, see: https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=Blazor#layouts
how to redirect to page after login depend on role
Yes, you can try something like this:
public partial class Index
{
[Inject]
public NavigationManager NavigationManager { get; set; }
protected override Task OnInitializedAsync()
{
if (CurrentUser.IsAuthenticated)
{
if (CurrentUser.IsInRole("admin"))
{
NavigationManager.NavigateTo("/adminIndex");
}
}
return base.OnInitializedAsync();
}
}
Hi,
Could you share the error log? thanks.
Hi,
I can reproduce the problem. We will fix it in the next patch version. your ticket refunded.
Hi,
We will fix the problem in the next version, your ticket refunded.
Hi,
Sorry, I see that hangfire is outputting the log. Your application seems to be running.this looks fine
Could you share the full logs? thanks.
Hi,
Abp supports dynamic permissions, you can see this issue: https://github.com/abpframework/abp/pull/13644
Other services will save permissions to the database at runtime.
You need the following configuration in the auth server:
Configure<PermissionManagementOptions>(options =>
{
options.IsDynamicPermissionStoreEnabled = true;
});
The auth server application will read the database at startup.
There are some preconditions for using this function
KeyPrefix
).I will check it
is the only solution to this issue for us to remove the foreign keys from our solution?
I don't think so, there must be a solution.
But I don't know your project details, if you can provide the full steps to reproduce the problem or share a simple project that can reproduce the problem. I will check it and try to help you.
This seems to be related to your code
The property 'Provstate.Id' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke 'SaveChanges', and then associate the dependent with the new principa
https://stackoverflow.com/questions/73704497/the-property-is-part-of-a-key-and-so-cannot-be-modified-or-marked-as-modified-f https://github.com/dotnet/efcore/issues/4560