app.config configuration sections are nice, but I often need multiple configuration sets, but with small difference.
what I want is:
Have one section with default configuration (this one is created with the designer, and thus has the auto-generated strongly-typed accessors in the Settings class
Another section with only the "new" item...
I use the app.config file to store some values (path to a mapping database, data connection selections). These settings differ on the user machines and I would like the installer to set them right. Is there an installer that can work with .NET config files during setup and allow me to create some dialogs that would help me fill in these ...
Currently , Visual Studio (2005 and 2008) can handle strings, numbers, connections, color, etc in their designer view
a String collection can also be entered there. however, the default view shows the XML source, instead of the strings (when editing it, it is displayed OK)
is there a way to have the string list display correctly?
...
Hitting debug will deploy the application to \program files\AppNamespace\AppName.exe and attach to it. However, my app runs on the storage card \SD-MMC Card.
This means I'm debugging and running in different places, so I have a slight maintenance headache.
Therefore the question is, anyone know if you can specify the folder VS will use...
I need to increase the max_allowed_packet param, to fit some theoretically very large items. If I set this param to say 10M, what price if any am I paying compared to setting it to 1M or 4M.
Thanks for any input!
Tomas
...
Hi,
I'm searching for a configuration framework which handles key/values pairs based on conditions. The language and storage type doesn't matter.
Example with background color for Application XYZ:
Application has the background color
"red".
On Monday the background color should be green.
The background color for User XYZ on Monday sh...
I have a set of classes, each one is a different strategy to do the same work.
namespace BigCorp.SuperApp
{
public class BaseClass { }
public class ClassA : BaseClass { }
public class ClassB : BaseClass { }
}
The choice of which strategy to use is configurable. I want to configure only the class name 'ClassB' instead of t...
In the Oracle world, it's been gospel to build your database block size to be even multiples of the File system's block size. I assume this is still true but I'm not adverse to being told why technology has made this irrelevant.
But I've been told some SQL Server DBA's are going to upgrade the OS of a SS2000 installation to 64bit to get...
When I create a new instance of a ChannelFactory:
var factory = new ChannelFactory<IMyService>();
and that I create a new channel, I have an exception saying that the address of the Endpoint is null.
My configuration inside my web.config is as mentioned and everything is as it is supposed to be (especially the address of the endpoin...
Does anyone know how to disable authenticode signature verification in a .NET executable (to avoid slow startup) without using an application config file? In other words, do this:
<configuration>
<runtime>
<generatePublisherEvidence enabled="false"/>
</runtime>
</configuration>
without an app.config. Is it possible?
...
In CFEclipse, I do a lot of double-clicking to select text. The standard behavior is to select all text within the nearest word boundaries. This is problematic when editing code where the original editor didn't use camel-case; for example, they wrote "myObject" as "my_object".
Is there a way to change the double-click selection behavior...
Hi there,
have downloaded Orca to edit an MSI file. I want to remove some banner text during the installation. I have managed to do this to the MSI and saved it with the MSI. However am having problems in saving a template and then applying that to subsequent installers. Have looked at the help file for Orca and am basically lost on how ...
I need to use different database connection string and SMTP server address in my ASP.NET application depending on it is run in development or production environment.
The application reads settings from Web.config file via WebConfigurationManager.AppSettings property.
I use Build/Publish command to deploy the application to production ...
I have a project in a c++ solution. For that project, I have some config files that I would like to manage from within the project and when I build the project, have those config files added to the executable build path in the proper directory structure.
Example:
test.exe references config/myconfig.txt
Is there a way to setup myconfig...
Hello all,
I have a set of EJBs and other Java classes which need to be configured differently based on the system environment in which they are deployed: production, test, or lab. The configuration information includes stuff like URLs and database connection information.
We'd like to deploy the same exact product (EAR file) in each en...
I have a .NET dll which needs to read it's config settings from it's config file. Usually, the config file is placed in the same directory as the DLL. But how do i read the config file if the DLL is GAC'ed, because I can put only the DLLs in the GAC, and not it's config files.
...
When configuring the bash on OSX via ~/.profile it seems to completely ignore it as soon as ~/.bash_profile exists. If this is correct and expected behavior, should I add my extra configuration stuff to ~/.bash_profile as well or use it instead of ~/.profile?
Thanks in advance.
...
Folks,
I've been trying to find a way to load my WCF service configuration (that huge BLOB of XML config data) from an alternate source - not the standard web.config / app.config.
We're running in a restricted environment where we don't have access to the server's file system, and thus we cannot make tweaks and changes to our WCF conf...
Hi,
I have a directory to which a process uploads some pdf files. This process is out of my control.
I need to make those files available through the website using Tomcat.
I have a directory available to the web, with the browser I can see files in it :
/var/lib/tomcat5/webapps/test1
So I created a symbolic link to point at the direc...
If I have code like this:
public XALServiceConfiguration CreateInstance()
{
var config = ConfigurationManager.GetSection(ConfigurationSectionName) as XALServiceConfiguration;
if (config == null)
throw new ConfigurationErrorsException("Configuration element 'xalService' was not foun...