Admin Portal Notifications.

I am building a user admin portal. Part of that portal is a notifications section. What would be the best way to generate these notifications? I suspect some kind of service that runs periodically to create the notification and then store them away in a table?

Has anyone else done this kind of thing?
John KininjjewDirector of DevelopmentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Federico RuggieroSoftware EngineerCommented:
It depends on the nature of the notifications that you need (if the notification are needed in response to precise actions or are periodically sent to all the users).

In the 1st scenario, when an event occur you will generate 1 notification for each user on your system, which can be one row in a "notification" table for each userID on your system.
This table can have columns like  

Open in new window

If you have hundreds of users and this system is slow you can generate these rows with a queue system (so that when something which can be notified occurs, you will add this to the queue system so that, in turn, it will notify all your users) .
Then when you load the user page you can lookup all the notification for your user id which are not marked as "read".

In the 2nd scenario, yes, there can be a service involved that periodically send notifications to all users with a mechanism similar to the other one, with a queue system.
Shaun VermaakTechnical SpecialistCommented:
I suspect some kind of service that runs periodically to create the notification and then store them away in a table?
Yes, create a Windows Service with something like Topshelf that does that part

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.