c# - Accessing ConfigurationManager from Orchard view -
i'm trying access appsettings key/value in web.config orchard theme view. this:
@system.configuration.configurationmanager.appsettings["accountid"] i'm getting following exception when try so:
the type or namespace name 'configurationmanager' not exist in namespace 'system.configuration' (are missing assembly reference?) i checked , system.configuration assembly referenced both orchard.web project , custom theme's project.
what doing wrong here?
Comments
Post a Comment