How would you implement a user message stack in ASP.Net MVC? (you set messages for the user in any place inside your app. and they are shown as hints of your app to the user anywhere inside the app)
I want to hear your ideas and thoughts. How would you do it?
Why does moving classes into a new folder in Visual Studio break things?
Custom 400 redirect based on MVC Controller
Using ASP.NET MVC 2 to display joined record
By doing this I would reduce the annoyance factor for the users and show them messages the least amount of times possible..
To achieve basic code coverage what tests should I run against an ASP.NET MVC Controller?
In MVC I would use a Partial View, that you can render on all your pages, and have it's behavior be independent of the site.
Using ASP.Net MVC Data Annotation outside of MVC
Or have it be context aware..
twitter like alert jquery in asp.net mvc
How to disable Export to Microsoft Excel in the IE browser right click?
As mentioned in the comments, it can also be a good idea to store user dependent information in a database.
Detect if an element is selected in listbox or not through jquery
This can allow for messages to be displayed to authenticated / known users.
My original answer was mostly targeted at anonymous users.. For authenticated users, you could have a message table, with a read / not read bit, or even a simply push table where you push messages and delete them from the table once the user has seen it.. You may require a 2 part system.
One for the messages displayed to anonymous users.
The second part would be for authenticated users about their personal profile/events related to them or the site..