4 Answer(s)
-
0
hi,
here's the Notification document <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Notification-System">http://www.aspnetboilerplate.com/Pages/ ... ion-System</a>
-
0
Hi,
We already implemented this logic in the simple task with session.
but we have some difficulties in sending notification in Do Work method. ---- we achieve this using session overwrite method
But in my case <span style="color:#FF0000">notification insert twice </span>in the abptenantnotifications and abpusernotifications table.
Following code is for sending notification in .netCore 1.1;
using (_unitOfWorkManager.Current.SetTenantId(null)) { await _notificationPublisher.PublishAsync( notificationName, new MessageNotificationData(message), severity: NotificationSeverity.Info, tenantIds: new[] { user.TenantId } ); //await _unitOfWorkManager.Current.SaveChangesAsync(); }
You give this solution when notifications are not able to publish.
Can you give me any fix for That?
Thanks.
-
0
Hi,
This problem is solved.
using session overwrite
Thanks :D
-
0
@velu Great :)