DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit