Hi, even previous versions (4.2.1) in my machine the ABP Suite command doesn't shut down when pressing CTRL + C. I've tried it on Package Manager Console and pressing the stop button, but also it hangs as the image below:
Also, it seems that the CurrentUser.IsAuthenticated is not working properly. After login, the user is redirected to the Index page, but it get into a loop redirecting to the same page over and over again.
I've added a console message to debug it:
protected override void OnInitialized()
{
if (!CurrentUser.IsAuthenticated)
{
Console.WriteLine("Redirecting to Login");
NavigationManager.NavigateTo("/authentication/login");
}
}
@liangshiwei
Perfect! I think that does the trick.
I am really trying my best to download that, but getting an error when trying to create a solution. Can you tell me whenever I can download that besides creating a new project through Abp Suite? I am using Commercial version.
Hi @Alper
It is still hapenning. I can't create a new project. I've double check and I am using version 4.3.0 rc.1 for ABP Suite as well. I am checking the parameter "Preview version". If I don't check that, the application is created correctly.
@liangshiwei
I haven't found those classes. Instead, I do have AbpSettingManagementBlazorModule on DependsOn.
namespace TVD_Holdings_Ltd.AvalancheOCP.Blazor
{
[DependsOn(
typeof(AbpAutofacWebAssemblyModule),
typeof(AvalancheOCPHttpApiClientModule),
typeof(AbpAspNetCoreComponentsWebAssemblyLeptonThemeModule),
typeof(AbpIdentityProBlazorModule),
typeof(SaasHostBlazorModule),
typeof(AbpSettingManagementBlazorModule),
typeof(LeptonThemeManagementBlazorModule),
typeof(AbpAccountAdminBlazorModule),
typeof(AbpAuditLoggingBlazorModule),
typeof(TextTemplateManagementBlazorModule),
typeof(LanguageManagementBlazorModule),
typeof(AbpIdentityServerBlazorModule)
)]
public class AvalancheOCPBlazorModule : AbpModule
What I would be missing?
Hi,
Nowadays, when accessing the app it redirect for the home page where I am not using for nothing in my application. So, the user has to click in login to access the app. If he logout, I want to redirect to the login page. In other word, I don't want to use that Home page where there is no user logged. I want to go from Login to App (Host side or Tenant site), and then when logout or the session is expired redirecting to Login page, similar as AspNetZero does.
Is that possible? If don't, how can I require that as a framework feature?