Duplicate
I have been following this method for passing common data to the site.master. However, this does require specific casting of the ViewData and I don't like using string identifiers everywhere. Is this the best way to do it or is there another way?
http://www.asp.net/learn/MVC/tutorial-13-cs.aspx
Thanks