Read app config settings in Html pageHi,
I am trying to read config file and get those values in a HTML page (but not Asp.Net form).
inside a script tag...
var serverIP = '<%=ConfigurationManager.AppSettings["ServerIP"].ToString() %>'
serverIP = 10.20.1.40 (set in app config)
So I want to get alert on Html page as "10.20.1.40" But I am getting whole text (whatever is inside quotes) instead of only the value of only serverIP from app.config.
Please let me know what is wrong in above code and please correct it.