CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Alternative to appsettings -> key

Print topic Send  topic

Author Message

Posts: 38
Posted: 07/28/2008, 6:19 PM


In reference to ASP .Net VB codecharge project, I want to be able to add my custom application level keys to the project. I know it can be done using appsettings -> key but adding custom keys to this area means if I have to do any changes to the project settings I will lose the custom keys.

I found that CCS doesn't use connectionstrings area of web.config to store connection strings. So I can add my custom area like this to store keys and I won't lose any settings.

<add name="myCustomKey" connectionString="myCustomValue"/>

But from a development point of view in a multi developer environment using sort of code is not a very good practice.

myCustomVariable = System.Configuration.ConfigurationManager.ConnectionStrings("myCustomKey").ToString

Is there an alternative to this anyone?

View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.