Base solution for your next web application

Activities of "jackwang"

Hi, I've read this document [http://www.aspnetboilerplate.com/Pages/Documents/Notification-System#subscribe-to-notifications]). But I still don't know where to put subscription code into.

Let's say I want to notify every 'FailedLoginAttempt' to Admin User, and I've written a service to subscribe admin user to it.
Where should I inject this service?

And I've also noticed once subscribed, the subscriptions are saved into database. So I'm guessing it should be subscribed in the creation moment of admin user. Any advice is appreciated.

Showing 1 to 1 of 1 entries