use app setting value c# in MVC view code example
Example: get web config key value in c# razor view
@System.Configuration.ConfigurationManager.AppSettings["myKey"]
@System.Configuration.ConfigurationManager.AppSettings["myKey"]