Notifications
Notification icon is located next to the language selection button. The number in the red circle shows unread notification count.
![notifications](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/notifications-icon-1.png)
User can see 3 recent notifications by clicking this icon.
![notifications](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/recent-notifications-1.png)
User can marks all notifications as read by clicking the "Set all as read" link or can mark a single notification by clicking the "set as read" link next to each notification.
Notifications are sent real-time using SignalR. In addition, a desktop push notification is shown when a notification is received.
Notification Settings
"Settings" link opens notification settings dialog.
![notifications](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/notification-settings-1.png)
In this dialog there is a global setting for user to enable/disable receiving notifications. If this setting is enabled, then user can enable/disable each notification individually.
You can also define your custom notifications in AppNotificationProvider class. For example, new user registration notification is defined in the AppNotificationProvider as below.
context.Manager.Add(
new NotificationDefinition(
AppNotificationNames.NewUserRegistered,
displayName: L("NewUserRegisteredNotificationDefinition"),
permissionDependency: new SimplePermissionDependency(AppPermissions.Pages_Administration_Users)
)
);
See notification definitions section for detailed information.
AppNotifier class is used to publish notifications. NotificationAppService class is used to manage application logic for notifications. See notifications documentation for detailed information.
Notification List
All notifications of user are listed in this page.
![Notification list](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/notifications-list-core-3.png)