DEV Community

Discussion on: How to build a toastr.js notification system using ASP.NET MVC

 
charkinsdevelopment profile image
Cory Harkins

To be fair I can throw out suggestions all day long; but I don't know what your setup looks like and I'd rather not guess at your setup.

But since you asked:

Did you put jquery before anything else required in your bundle config?
Did you install the toastr.js nuget and add those files to the bundle config?
Are you showing any kind of errors in your console when running the project?
Did you modify the layout.cshtml file and are you writing your notifications to session?
Did you deserialize the session string value correctly?
Is something outside of this project clearing out your session value before it gets to where it is parsed for the notifications?