Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How to read key from web config in JavaScript

<script>
    var apiUrl = '@System.Configuration.ConfigurationManager.AppSettings["url"]';
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #read #key #web #config #JavaScript
ADD COMMENT
Topic
Name
9+5 =