I want to read Web.Config settings through javascript file.
I have below reference link which suggest the same but works ONLY when we add the code in .aspx file and not when put into .JS file.
http://www.codeproject.com/Tips/77917/Read-Configuration-Settings-of-Web-config-using-Ja
Is it possible to do that with code in .js file?
web.configfile. Your only option is to stream the file via an.aspxpage (or similar), but I wouldn't recommend it as it could potentially be a security issue