Simple question really,
I am just looking for community support what works best architecturally.
Say, following case: TempData["MySetting"]? Where should I store "MySetting"? Should it be 
- in separate class so that the access will be TempData[Config.MySetting];
- in web.config so that the access is TempData[ConfigurationManager.AppSettings["MySetting"];
- inline, leave it as string TempData["MySetting"];?
- in the DB in some constants table, so that - var mySetting = (string)_db.GetConstant("MySetting"); TempData[mySetting];
I would not deal with option 4, just brought it for completeness of the picture. So what do you suggest and why?
Edit Question is rather general about constants in asp mvc rather than TempData case.
Thanks.
 
     
     
     
     
     
    