Ini file equivalent ASP.Net etc

  • Thread starter Thread starter MikeVance
  • Start date Start date
M

MikeVance

We need a way to replace .ini files or at least a safe way to
read/parse them in WEB applications. Hard coding User Identification
and Passwords in pages causes to much maintenance. Calling API's
from ASP isn't viable/allowable or secure. How are others addressing
this issue?

Thanks - Mike
 
I'm new to ASP.net, so what would the code look like to find/read a key
like [TheParm]=12345 from Web.config
 
in vb.net

System.Configuration.ConfigurationSettings.AppSettings("config setting
name")
 
We need a way to replace .ini files or at least a safe way to
read/parse them in WEB applications. Hard coding User Identification
and Passwords in pages causes to much maintenance. Calling API's
from ASP isn't viable/allowable or secure. How are others addressing
this issue?

Try looking into storing values in the web.config file; it's fairly easy to
access custom values from your application...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top