Sup guys,
We're having troubles triggering notification subscribers in dw 10.
I've tried both of these cases:
using Dynamicweb.Extensibility.Notifications;
public class TestNotificationSubscriber : NotificationSubscriber
{
[Subscribe(Dynamicweb.Notifications.Standard.User.OnExtranetLogin)]
public override void OnNotify(string notification, NotificationArgs args)
{
Console.WriteLine($"Notification: {notification}");
}
}
and
using Dynamicweb.Extensibility.Notifications;
public class TestNotificationSubscriber : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
Console.WriteLine($"Notification: {notification}");
}
}
The class is located right next to Program.cs in the root of my project:
Am I reaching max potato levels here or is something afoot?