Hi,
Try
public partial class Index
{
[Inject]
public NavigationManager NavigationManager { get; set; }
protected override void OnInitialized()
{
if (!CurrentUser.IsAuthenticated)
{
NavigationManager.NavigateTo("/authentication/login");
}
}
}
@Leonardo.Willrich
https://github.com/abpframework/abp/blob/dev/modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor
try DependsOn AbpSettingManagementBlazorWebAssemblyModule
or AbpSettingManagementBlazorServerModule
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionStore.cs
Hi,
You need to use redis server.
After you update the npm package, you should see the email setting UI.
I also still wonder how the settings can be set via application settings in an Azure app service (linux), any idea on that?
I don't know about azure much, https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-5.0#naming-of-environment-variables.
after my test, azure seems does not support such A.B
setting, maybe you can ask azure team.
Please email me shiwei.liang@volosoft.com
Hi,
Ok, I can connect and look your code, but I also need some time to understand your project :). or can you provide steps to reproduce?
Hi,
https://github.com/abpframework/abp/pull/7669 We have added email setting UI in 4.3, You can change it in email setting page
Hi,
Usually we should not use the entity of another module in a module, it will blur the boundaries of your module.
A good module should focus on its own entities, but sometimes the module needs to read the data of another module. We have the following way:
.HttpApi.Client
module) https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients.domain
module), In this way, you can read the database directly.If you really need to share entities between modules, you can define a Entity.Shared
project and other modules reference this project. that's ok.
Hi,
There is no good way to add public website/ cms kit to old application.
You need to download the new template for comparison and copy the code to the old project