Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get web config key value in c# razor view

@System.Configuration.ConfigurationManager.AppSettings["myKey"]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #web #config #key #razor #view
ADD COMMENT
Topic
Name
5+8 =