I created my own CustomController base class that inherits from Controller. Likewise I created my own CustomViewData that inherits from ViewDataDictionary. The CustomController class has a ctor that accepts a CustomViewData as parameter.
All my controllers inherit from CustomController and pass in their inherited CustomViewData. Now I want to be able to call this.ViewData from within my controller and get back the view data I passed in at the controller. Currently I get back a ViewDataDictionary (from the Controller class). So I lost my type information.
How can I retain my type information on my ViewData property in my CustomController derived class without wrapping it in a get/set that does the boxing for me?