Hi,
I modified the component in the guide to log "Notification component initialized!" when the componenent initalizes. The code is the following:
@using Microsoft.Extensions.Logging
@inherits Volo.Abp.AspNetCore.Components.AbpComponentBase
<div style="color: white; margin: 8px;">
<i class="far fa-bell" @onclick="ShowNotifications"></i>
</div>
@code {
private async Task ShowNotifications()
{
await Message.Info("TODO: Show notifications");
}
protected override Task OnInitializedAsync()
{
Logger.LogInformation("Notification component initialized!");
return base.OnInitializedAsync();
}
}
As you can see in the following screenshot when i load in the application it prints the Log 2 times:

Same thing is noticed if you put a breakpoint onto the "Logger.LogInformation" line, it runs 2 times.
How can we fix this?
11 months ago https://abp.io/qa/questions/3052/3a112b63-44ce-975c-4a5d-4e1eebde98cd
Using Blazor Wasm:
Implement the real-time notification system already present in AspNetZeroP.S: We are having difficulties moving from AspNetZero to Abp framework with all of these features missing
When will this feature be implemented? https://docs.aspnetzero.com/aspnet-core-mvc/latest/Features-Mvc-Core-Notifications
It has been on the roadmap (https://abp.io/docs/latest/release-info/road-map#application-modules-ui-themes) for months and for us it has become important and urgent.
We waited thinking it was in development, but we've had no feedback on whether it actually was or not and when it would be ready. We won't make another custom implementation to be thrown away.
Can you provide me with some information about it?
Thanks
Hi @Alper, do you have any news about this?
I also received the news of the end of support for AspNetBoilerPlate https://aspnetboilerplate.com/endofsupport
We would like to migrate our project from AspNetZero to Abp.Commercial, but the lack of this service (https://aspnetboilerplate.com/Pages/Documents/Notification-System#user-notification-manager) is a problem for us because the solution is monolithic and we do not want to migrate to microservices or use Distributed Event Bus logics
Can you tell me if the service is planned to be ported since it is always indicated in the roadmap?
Thanks, Roberto
Hi,
PreConfigure<OpenIddictServerBuilder>(serverBuilder =>
{
serverBuilder.SetLogoutEndpointUris("<your-blazor-root-url>");
});
Seems to change the "Logout Url" (the url you go to when logging out) rather then "Post Logout Url" (the url you go to after having logged out).
Hi,
I have done as you explained but when i press the logout button now it gives me the following error:
error:invalid_request
error_description:The specified 'post_logout_redirect_uri' is invalid.
error_uri:https://documentation.openiddict.com/errors/ID2052
It looks like in the url 'post_logout_redirect_uri' is still the old PostLoginRedirectUrl. How can i fix this?
Hi,
Thanks for the help anyway. One last question regarding the logout: How can i redirect a user to the homepage after logout rather then the "You have been logged out" page?
Hi,
I can't seem to be able to download the Chat Module source code, could you kindly send it to my email or explain the approach you used in the module?
Thanks.
11 months ago https://abp.io/qa/questions/3052/3a112b63-44ce-975c-4a5d-4e1eebde98cd
Using Blazor Wasm: Implement the real-time notification system already present in AspNetZero
P.S: We are having difficulties moving from AspNetZero to Abp framework with all of these features missing
When will this feature be implemented? https://docs.aspnetzero.com/aspnet-core-mvc/latest/Features-Mvc-Core-Notifications
It has been on the roadmap (https://abp.io/docs/latest/release-info/road-map#application-modules-ui-themes) for months and for us it has become important and urgent.
We waited thinking it was in development, but we've had no feedback on whether it actually was or not and when it would be ready. We won't make another custom implementation to be thrown away.
Can you provide me with some information about it?
Thanks
Hi,
Thanks for the example! I have a couple questions:
Thanks in advance.
Hi,
Can you provide me with a code example of the SignalR approach you are suggesting?
Hi, Thanks for the reply! This solution only works when a user correctly signs out of the application, which is a partial answer to my question. Is there no way to do the same also when a user closes the browser window or leaves the application website?